1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/mail/addresses-goodies/Makefile
David Chisnall f9197640d9 Fix configure options for gnustep-make
We were not setting the flag to select the GNUstep ABI, so were defaulting to
using the GCC-compatible version, which was likely to trigger a lot of subtle
bugs.  This was noticed when C++ exceptions thrown through Objective-C stack
frames caused segfaults.
2017-12-03 12:23:53 +00:00

37 lines
926 B
Makefile

# $FreeBSD$
PORTNAME= addresses
PORTVERSION= 0.4.8
PORTREVISION= 6
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:deskutils/gworkspace \
libAddresses.so:mail/addresses
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
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>