openbsd-ports/x11/gnustep/base/Makefile
ajacoutot 0595844e35 - GNUstep-Base 1.18.0
* Improved lookup of versioned library resources
* Keyed archiving improvements for various classes
* Exception and thread handling improvements
* Portability improvements
2008-12-23 15:25:31 +00:00

38 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2008/12/23 15:25:31 ajacoutot Exp $
COMMENT= GNUstep base library
DISTNAME= gnustep-base-1.18.0
SHARED_LIBS= gnustep-base 2.1 # .1.16.4
CATEGORIES= devel
LIBDIR= lib/GNUstep/Libraries/gnustep-base/Versions/${LIBgnustep-base_VERSION}
SUBST_VARS= LIBDIR
HOMEPAGE= http://www.gnustep.org/
WANTLIB= c crypto gcrypt gpg-error m objc pthread ssl tasn1 xml2 z
MASTER_SITES= ${MASTER_SITE_GNUSTEP:=core/}
MODULES= x11/gnustep \
devel/gettext
LIB_DEPENDS= avcall.>=1,callback.>=1::devel/ffcall \
gmp.>=7::devel/gmp \
xslt.>=3::textproc/libxslt \
gnutls.>=13::security/gnutls
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-procfs \
--disable-procfs-psinfo
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/${LIBgnustep-base_VERSION}/Resources/NSTimeZones/.README.swp
.include <bsd.port.mk>