diff options
author | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
commit | c2f2c30967ebdcd9120a391abfb655a190302a51 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/2vcard | |
parent | e86a3ba39061980160972e0fd2948b67acb7f5af (diff) | |
download | pkgsrc-c2f2c30967ebdcd9120a391abfb655a190302a51.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
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" |