From 43112f64cf453f5e24fc1a811650c98f7db2fe76 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 05:51:07 +0000 Subject: Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. --- converters/bib2xml/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'converters/bib2xml') 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" -- cgit v1.2.3