openbsd-ports/x11/gnustep/addresses/Makefile
sebastia 76167b459b * Update the gnustep.port.mk file, to have some standard WANTLIBS and LIB/RUN depends added for the GUI based apps.
* Bump package versions for ports depending on gnustep-back.
* Fix PLIST for gnumail, after library bump.
2010-10-26 12:39:10 +00:00

39 lines
990 B
Makefile

# $OpenBSD: Makefile,v 1.9 2010/10/26 12:39:10 sebastia Exp $
COMMENT= GNUstep address book
DISTNAME= Addresses-0.4.7
PKGNAME= ${DISTNAME:L}
REVISION= 5
SHARED_LIBS+= Addresses 0.1 # .0.1
SHARED_LIBS+= AddressView 0.1 # .0.1
CATEGORIES= mail
HOMEPAGE= http://gap.nongnu.org/addresses/index.html
WANTLIB= c m pthread
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=gap/}
WRKDIST= ${WRKDIR}/Addresses
MODULES= x11/gnustep
MAKE_ENV+= Addresses_VERSION=${LIBAddresses_VERSION} \
Addresses_INTERFACE_VERSION=${LIBAddresses_VERSION} \
AddressView_VERSION=${LIBAddressView_VERSION} \
AddressView_INTERFACE_VERSION=${LIBAddressView_VERSION}
pre-configure:
@perl -pi -e 's,!!LIBAddresses_VERSION!!,${LIBAddresses_VERSION},g;' \
-e 's,!!LIBAddressView_VERSION!!,${LIBAddressView_VERSION},g' \
${WRKSRC}/AddressManager/GNUmakefile
post-install:
@cd ${WRKINST}${TRUEPREFIX}/include && \
ln -sf ./../lib/GNUstep/Frameworks/Addresses.framework/Headers AddressBook
.include <bsd.port.mk>