openbsd-ports/x11/gnustep/base/Makefile
ajacoutot 747e3749dc - update to gnustep-base-1.14.2
based on a diff from Sebastian Reitenbach
2008-01-09 14:19:14 +00:00

32 lines
838 B
Makefile

# $OpenBSD: Makefile,v 1.10 2008/01/09 14:19:14 ajacoutot Exp $
COMMENT= GNUstep base library
DISTNAME= gnustep-base-1.14.2
SHARED_LIBS= gnustep-base 1.14 # .1.14.2
CATEGORIES= devel
HOMEPAGE= http://www.gnustep.org/
WANTLIB= c crypto 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>