06f79b66f2
Simplify gnustep ports Hook into the regular ports framework: - LIB_DEPENDS for library dependencies - Use regular USE_LDCONFIG Reuse USES=objc (automatic) USE_GNUSTEP is now a macro to set the dependencies and build feature needed. Accepted arguments: back base build gui Merge deskutils/preferencepanes into deskutils/systempreferences
37 lines
1,006 B
Makefile
37 lines
1,006 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= addresses
|
|
PORTVERSION= 0.4.8
|
|
PORTREVISION= 3
|
|
CATEGORIES= mail gnustep
|
|
MASTER_SITES= SAVANNAH/gap
|
|
PKGNAMESUFFIX= -goodies${PKGNAMESUFFIX2}
|
|
DISTNAME= Addresses-${PORTVERSION}
|
|
|
|
MAINTAINER= theraven@FreeBSD.org
|
|
COMMENT= Goodies for addressbook for GNUstep
|
|
|
|
LICENSE= LGPL21
|
|
|
|
USES= gnustep
|
|
USE_GNUSTEP= back build
|
|
|
|
LIB_DEPENDS= libInspector.so:${PORTSDIR}/deskutils/gworkspace \
|
|
libAddresses.so:${PORTSDIR}/mail/addresses
|
|
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
|
|
|
|
UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
|
|
WRKSRC= ${WRKDIR}/Addresses-${PORTVERSION}/Goodies
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|LDAPAddressBook||' \
|
|
-e 's|VCFViewer||' \
|
|
${WRKSRC}/GNUmakefile
|
|
${REINPLACE_CMD} -e 's|^GNUSTEP_INSTALLATION_DIR|#GNUSTEP_INSTALLATION_DIR|' \
|
|
-e 's|Library/GWorkspace|Library/Bundles|' \
|
|
-e 's|-lGWorkspace|-lInspector|' \
|
|
${WRKSRC}/VCFViewer/GNUmakefile
|
|
${REINPLACE_CMD} -e 's|<GWorkspace/|<Inspector/|' \
|
|
${WRKSRC}/VCFViewer/VCFViewer.h
|
|
|
|
.include <bsd.port.mk>
|