2008-05-06 12:26:01 +00:00

33 lines
868 B
Makefile

# $OpenBSD: Makefile,v 1.12 2008/05/06 12:26:01 ajacoutot Exp $
COMMENT= GNUstep base library
DISTNAME= gnustep-base-1.14.3
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gnustep-base 1.14 # .1.14.2
CATEGORIES= devel
HOMEPAGE= http://www.gnustep.org/
WANTLIB= c crypto iberty iconv m objc pthread ssl xml2 z
MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/
MODULES= x11/gnustep
LIB_DEPENDS= avcall.>=1,callback.>=1::devel/ffcall \
gmp.>=7::devel/gmp \
xslt.>=3::textproc/libxslt
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-procfs
pre-configure:
@perl -pi -e 's,^MAJOR_VERSION=.*,MAJOR_VERSION=${LIBgnustep-base_VERSION:R},g;' \
-e 's,^MINOR_VERSION=.*,MINOR_VERSION=${LIBgnustep-base_VERSION:E},g' \
${WRKSRC}/Version
post-install:
@rm ${PREFIX}/lib/GNUstep/Libraries/gnustep-base/Versions/1.14/Resources/NSTimeZones/.README.swp
.include <bsd.port.mk>