freebsd-ports/mail/addresses-goodies/Makefile
Baptiste Daroussin 06f79b66f2 Convert bsd.gnustep.mk to USES=gnustep
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
2015-04-09 07:44:41 +00:00

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>