summaryrefslogtreecommitdiff
path: root/converters/bib2xml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/bib2xml/Makefile')
-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"