diff options
Diffstat (limited to 'converters/2vcard')
-rw-r--r-- | converters/2vcard/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/converters/2vcard/Makefile b/converters/2vcard/Makefile index fd1436752f6..5605df39fc7 100644 --- a/converters/2vcard/Makefile +++ b/converters/2vcard/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2007/01/07 09:13:49 rillig Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/03 05:51:07 jlam Exp $ # DISTNAME= 2vcard-0.5 @@ -10,6 +10,8 @@ MAINTAINER= jschauma@NetBSD.org HOMEPAGE= http://www.netmeister.org/apps/2vcard/ COMMENT= Convert an addressbook to the popular VCARD file format +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= perl:run REPLACE_PERL= src/2vcard @@ -18,9 +20,11 @@ NO_BUILD= yes INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/src/2vcard ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doc/2vcard.1 ${PREFIX}/${PKGMANDIR}/man1/ - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/2vcard - ${INSTALL_DATA} ${WRKSRC}/doc/html/* ${PREFIX}/share/doc/html/2vcard + ${INSTALL_SCRIPT} ${WRKSRC}/src/2vcard ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/2vcard.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/2vcard + ${INSTALL_DATA} ${WRKSRC}/doc/html/* \ + ${DESTDIR}${PREFIX}/share/doc/html/2vcard .include "../../mk/bsd.pkg.mk" |