diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 15:39:09 +0000 |
commit | 4b86e2bfab114a3edb0ceea2883a66b1745f9f06 (patch) | |
tree | 59c0548a0298c3f264975f618451fab4e14e6b25 /graphics/prag/Makefile | |
parent | a6923789124411b85aaa9c9d97b6522350124999 (diff) | |
download | pkgsrc-4b86e2bfab114a3edb0ceea2883a66b1745f9f06.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'graphics/prag/Makefile')
-rw-r--r-- | graphics/prag/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/prag/Makefile b/graphics/prag/Makefile index c75980afd39..8c9fe50244b 100644 --- a/graphics/prag/Makefile +++ b/graphics/prag/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/11/17 13:40:15 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2008/03/04 15:39:10 jlam Exp $ DISTNAME= prag-1.0pl2 PKGNAME= prag-1.0.2 @@ -9,6 +9,8 @@ EXTRACT_SUFX= .shar MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Replacement to "grap" graph generator backend to pic +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/prag-1.0 NO_BUILD= yes @@ -19,7 +21,7 @@ post-patch: (cd ${WRKSRC}; ${SED} -e "1s,/bin/nawk,${AWK}," < prag.orig >prag) do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/prag ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/prag.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/prag ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/prag.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |