summaryrefslogtreecommitdiff
path: root/converters/bib2xml
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
commit43112f64cf453f5e24fc1a811650c98f7db2fe76 (patch)
tree4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/bib2xml
parent3b34772d7f8c87aaf463b2f9127224a7d6490225 (diff)
downloadpkgsrc-43112f64cf453f5e24fc1a811650c98f7db2fe76.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/Makefile6
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"