blob: afeb92bae3ae0809f919a42ed5acbd1e27725457 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
PORTNAME= libafterbase
PORTVERSION= 0.92
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= SF/afterstep/libAfterBase/${PORTVERSION}
DISTNAME= libAfterBase-${PORTVERSION}
MAINTAINER= bofh@FreeBSD.org
COMMENT= AfterStep basic functionality library
LICENSE= LGPL21+
USES= desthack
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-staticlibs --enable-sharedlibs --with-x
PLIST_SUB= STATIC="@comment "
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=int-conversion
.endif
post-patch:
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc.h>|<stdlib.h>|g'
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libAfterBase.so
.include <bsd.port.post.mk>
|