ports/devel/libafterbase/Makefile
Rene Ladan 4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00

34 lines
720 B
Makefile

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>