diff options
author | joerg <joerg> | 2010-01-27 16:27:49 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-27 16:27:49 +0000 |
commit | b581dce592308ff7d65eab8f0ca9eeb101caeb65 (patch) | |
tree | 461c3c34c542c64cec1af00f224aabff01cea0bb /print/tex-pgf | |
parent | f4d0c9eb4c1227fd7a43afa372e3bce223ffa3e2 (diff) | |
download | pkgsrc-b581dce592308ff7d65eab8f0ca9eeb101caeb65.tar.gz |
DESTDIR support
Diffstat (limited to 'print/tex-pgf')
-rw-r--r-- | print/tex-pgf/Makefile | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/print/tex-pgf/Makefile b/print/tex-pgf/Makefile index 076c3eb57b4..bbcdc99cd52 100644 --- a/print/tex-pgf/Makefile +++ b/print/tex-pgf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/07/22 09:01:44 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2010/01/27 16:31:20 joerg Exp $ # DISTNAME= pgf-2.00 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://pgf.sourceforge.net/ COMMENT= Graphic systems for TeX +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS= tex-xkeyval-[0-9]*:../../print/tex-xkeyval USE_LANGUAGES= # none @@ -18,18 +20,24 @@ USE_TOOLS+= pax .include "../../print/teTeX/module.mk" +INSTALLATION_DIRS+= ${PKG_LOCALTEXMFPREFIX}/tex/context \ + ${PKG_LOCALTEXMFPREFIX}/doc/generic/ \ + ${PKG_LOCALTEXMFPREFIX}/tex/generic/ \ + ${PKG_LOCALTEXMFPREFIX}/tex/latex/ \ + ${PKG_LOCALTEXMFPREFIX}/tex/plain/ + do-build: do-install: cd ${WRKSRC}/context && \ - pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/context/ + pax -pmap -rw pgf ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/context/ cd ${WRKSRC}/doc/generic && \ - pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/doc/generic/ + pax -pmap -rw pgf ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/generic/ cd ${WRKSRC}/generic && \ - pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/generic/ + pax -pmap -rw pgf ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/generic/ cd ${WRKSRC}/latex && \ - pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/latex/ + pax -pmap -rw pgf ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/ cd ${WRKSRC}/plain && \ - pax -pmap -rw pgf ${PKG_LOCALTEXMFPREFIX}/tex/plain/ + pax -pmap -rw pgf ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/plain/ .include "../../mk/bsd.pkg.mk" |