diff options
author | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
commit | a011ba75fb1dd02c4d7f13737d22ca4a1be6f479 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/jcode-perl/Makefile | |
parent | ca057a760bc3a89ede5a79a36131f7caf014d5ec (diff) | |
download | pkgsrc-a011ba75fb1dd02c4d7f13737d22ca4a1be6f479.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/jcode-perl/Makefile')
-rw-r--r-- | converters/jcode-perl/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/converters/jcode-perl/Makefile b/converters/jcode-perl/Makefile index 24512701a97..02c653f8290 100644 --- a/converters/jcode-perl/Makefile +++ b/converters/jcode-perl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/05/30 05:50:04 schmonz Exp $ +# $NetBSD: Makefile,v 1.3 2008/03/03 05:51:08 jlam Exp $ DISTNAME= jcode.pl-2.13 PKGNAME= ${DISTNAME:S/jcode.pl/jcode-perl/} @@ -14,6 +14,8 @@ COMMENT= Perl library for Japanese character code conversion CONFLICTS+= p5-jcode-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_BUILD= yes @@ -21,8 +23,9 @@ NO_CONFIGURE= yes PERL5_CONFIGURE= NO do-install: - ${INSTALL_DATA_DIR} ${PERL5_INSTALLVENDORLIB} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} ${PERL5_INSTALLVENDORLIB}/jcode.pl + ${INSTALL_DATA_DIR} ${DESTDIR}${PERL5_INSTALLVENDORLIB} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} \ + ${DESTDIR}${PERL5_INSTALLVENDORLIB}/jcode.pl .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" |