diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 16:06:46 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 16:06:46 +0000 |
commit | 78d4005d146c0ef695479d8e6192d0525cdc7f67 (patch) | |
tree | 48c307e753753c80727a54087b88e009cb7fcb93 /print/tex-cooking | |
parent | e2a6f43d350810f0ea9b9fa8aff16f227a91d065 (diff) | |
download | pkgsrc-78d4005d146c0ef695479d8e6192d0525cdc7f67.tar.gz |
DESTDIR support
Diffstat (limited to 'print/tex-cooking')
-rw-r--r-- | print/tex-cooking/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/print/tex-cooking/Makefile b/print/tex-cooking/Makefile index 1103a331a5b..d0e600ade52 100644 --- a/print/tex-cooking/Makefile +++ b/print/tex-cooking/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2009/07/22 09:01:43 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2010/01/27 16:08:19 joerg Exp $ DISTNAME= cooking PKGNAME= tex-${DISTNAME}-0.9b @@ -10,8 +10,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://tug.ctan.org/tex-archive/macros/latex/contrib/cooking/ COMMENT= Typeset recipes -DIST_SUBDIR= ${PKGNAME_NOREV} +PKG_DESTDIR_SUPPORT= user-destdir +DIST_SUBDIR= ${PKGNAME_NOREV} .include "../../print/teTeX/module.mk" @@ -22,13 +23,14 @@ do-build: cd ${WRKSRC} && latex cooking.dtx cd ${WRKSRC} && latex kraut.tex +INSTALLATION_DIRS= ${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking \ + ${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking + do-install: - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking .for __tmp__ in README cooking.dvi kraut.tex kraut.dvi - ${INSTALL_DATA} ${WRKSRC}/${__tmp__} ${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking + ${INSTALL_DATA} ${WRKSRC}/${__tmp__} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/cooking .endfor - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking ${INSTALL_DATA} ${WRKSRC}/cooking.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/cooking .include "../../mk/bsd.pkg.mk" |