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/bib2xml | |
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/bib2xml')
-rw-r--r-- | converters/bib2xml/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/converters/bib2xml/Makefile b/converters/bib2xml/Makefile index 85e48c32052..56eba70fe9b 100644 --- a/converters/bib2xml/Makefile +++ b/converters/bib2xml/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/10/04 20:52:11 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/03 05:51:07 jlam Exp $ # DISTNAME= bib2xml-10062002 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www-plan.cs.colorado.edu/henkel/stuff/bib2xml/ COMMENT= BibTeX to XML converter +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/bib2xml GNU_CONFIGURE= YES BUILD_DIRS= ${WRKSRC}/progs @@ -18,7 +20,7 @@ BUILD_DIRS= ${WRKSRC}/progs INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${BUILD_DIRS}/bib2xml ${PREFIX}/bin + ${INSTALL_PROGRAM} ${BUILD_DIRS}/bib2xml ${DESTDIR}${PREFIX}/bin .include "../../textproc/btparse/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |