summaryrefslogtreecommitdiff
path: root/mail/addresses-goodies/Makefile
blob: f70cd2c0e8b2343782ea31cbfb380e2c8b3e4367 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
PORTNAME=	addresses
PORTVERSION=	0.4.8
PORTREVISION=	9
CATEGORIES=	mail gnustep
MASTER_SITES=	SAVANNAH/gap
PKGNAMESUFFIX=	-goodies${PKGNAMESUFFIX2}
DISTNAME=	Addresses-${PORTVERSION}

MAINTAINER=	ports@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>