diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-03 21:55:04 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-03 21:55:04 +0000 |
commit | 9c7df62f22b5829b0c8ff8ff72b1bea88e2121fb (patch) | |
tree | ab96d5ed1cdafe9a685f47afcd1012b83d7c782b /graphics/vcg | |
parent | f80a6354069f6527915a8d03424e8c6cf88e8862 (diff) | |
download | pkgsrc-9c7df62f22b5829b0c8ff8ff72b1bea88e2121fb.tar.gz |
DESTDIR support
Diffstat (limited to 'graphics/vcg')
-rw-r--r-- | graphics/vcg/Makefile | 11 | ||||
-rw-r--r-- | graphics/vcg/files/tMakefile | 6 |
2 files changed, 9 insertions, 8 deletions
diff --git a/graphics/vcg/Makefile b/graphics/vcg/Makefile index aef29f8bea7..16bc08aa4e6 100644 --- a/graphics/vcg/Makefile +++ b/graphics/vcg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2009/06/30 00:07:17 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2010/02/03 22:22:53 joerg Exp $ DISTNAME= vcg.1.30.r3.17 PKGNAME= vcg-1.30 @@ -10,6 +10,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Visualization Tool for compiler graphs +PKG_DESTDIR_SUPPORT= user-destdir MAKE_JOBS_SAFE= no WRKSRC= ${WRKDIR}/vcg.1.30 @@ -28,11 +29,11 @@ pre-patch: ${CP} ${FILESDIR}/globals.h ${WRKSRC}/preconf/X11ccDragonFly ${CP} ${FILESDIR}/tMakefile ${WRKSRC}/preconf/X11ccDragonFly +INSTALLATION_DIRS+= share/doc/vcg share/examples/vcg + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vcg - ${INSTALL_DATA} ${WRKSRC}/doc/visual.ps ${PREFIX}/share/doc/vcg - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vcg - ${INSTALL_DATA} ${WRKSRC}/expl/*.vcg ${PREFIX}/share/examples/vcg + ${INSTALL_DATA} ${WRKSRC}/doc/visual.ps ${DESTDIR}${PREFIX}/share/doc/vcg + ${INSTALL_DATA} ${WRKSRC}/expl/*.vcg ${DESTDIR}${PREFIX}/share/examples/vcg .include "../../x11/libXext/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/vcg/files/tMakefile b/graphics/vcg/files/tMakefile index a322ed47c80..9c89d0b3f9b 100644 --- a/graphics/vcg/files/tMakefile +++ b/graphics/vcg/files/tMakefile @@ -17,7 +17,7 @@ # /* */ # /*--------------------------------------------------------------------*/ # -# $NetBSD: tMakefile,v 1.5 2006/09/02 20:47:03 rillig Exp $ +# $NetBSD: tMakefile,v 1.6 2010/02/03 22:22:53 joerg Exp $ # FreeBSD Id: tMakefile,v 1.1.1.1 1995/02/19 09:25:45 hsu Exp $ # # FreeBSD Log: tMakefile,v $ @@ -39,12 +39,12 @@ SHELL = /bin/sh # where the binaries go # BINDIR = /usr/local/bin/ # BINDIR = /RW/esprit/users/sander/PUBLIC/CMD/ -BINDIR = ${PREFIX}/bin +BINDIR = ${DESTDIR}${PREFIX}/bin # where the manual pages go # MANDIR = /usr/local/man/manl/ # MANDIR = /RW/esprit/users/sander/PUBLIC/MAN/ -MANDIR = ${PREFIX}/${PKGMANDIR}/manl +MANDIR = ${DESTDIR}${PREFIX}/${PKGMANDIR}/manl # what the manual extension is MANEXT = l |