freebsd-ports/mail/addresses-goodies/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= addresses
PORTVERSION= 0.4.8
PORTREVISION= 3
CATEGORIES= mail gnustep
2007-07-25 19:14:41 +02:00
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= gap
PKGNAMESUFFIX= -goodies${PKGNAMESUFFIX2}
DISTNAME= Addresses-${PORTVERSION}
MAINTAINER= theraven@FreeBSD.org
COMMENT= Goodies for addressbook for GNUstep
2010-06-05 08:14:28 +02:00
LICENSE= LGPL21
USE_GNUSTEP= yes
USE_GNUSTEP_BACK= yes
USE_GNUSTEP_BUILD= yes
USE_GNUSTEP_INSTALL= yes
USE_GNUSTEP_SYSTEM_LIBS+= Inspector:${GWORKSPACE_PORT}
USE_GNUSTEP_LOCAL_LIBS+= Addresses:${ADDRESSES_PORT}
USE_GNUSTEP_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
2010-06-03 05:45:04 +02:00
UNIQUENAME= ${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
WRKSRC= ${WRKDIR}/Addresses-${PORTVERSION}/Goodies
ADDRESSES_PORT?= mail/addresses
GWORKSPACE_PORT?= deskutils/gworkspace
post-patch:
${REINPLACE_CMD} -e 's|LDAPAddressBook||' \
2006-12-14 16:20:17 +01:00
-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>