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-draftwatermark/Makefile | |
parent | e2a6f43d350810f0ea9b9fa8aff16f227a91d065 (diff) | |
download | pkgsrc-78d4005d146c0ef695479d8e6192d0525cdc7f67.tar.gz |
DESTDIR support
Diffstat (limited to 'print/tex-draftwatermark/Makefile')
-rw-r--r-- | print/tex-draftwatermark/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/print/tex-draftwatermark/Makefile b/print/tex-draftwatermark/Makefile index bb08b6f33fd..5228253aa26 100644 --- a/print/tex-draftwatermark/Makefile +++ b/print/tex-draftwatermark/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:10:09 joerg Exp $ DISTNAME= draftwatermark PKGNAME= tex-${DISTNAME}-1.0 @@ -11,12 +11,14 @@ MAINTAINER= reed@reedmedia.net HOMEPAGE= http://www.ctan.org/tex-archive/macros/latex/contrib/draftwatermark/ COMMENT= Textual watermark package for LaTeX +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= tex-everypage>=1.0:../../print/tex-everypage DIST_SUBDIR= ${PKGNAME_NOREV} - -INSTALLATION_DIRS= share/doc/tex-draftwatermark +INSTALLATION_DIRS= share/doc/tex-draftwatermark \ + ${PKG_LOCALTEXMFPREFIX}/tex/latex/draftwatermark .include "../../print/teTeX/module.mk" @@ -24,11 +26,11 @@ do-build: cd ${WRKSRC} && ${PREFIX}/bin/latex draftwatermark.ins do-install: - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/draftwatermark ${INSTALL_DATA} ${WRKSRC}/draftwatermark.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/draftwatermark/ - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tex-draftwatermark/ + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/draftwatermark/ + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/tex-draftwatermark/ ${INSTALL_DATA} ${WRKSRC}/draftwatermark.pdf \ - ${PREFIX}/share/doc/tex-draftwatermark/ + ${DESTDIR}${PREFIX}/share/doc/tex-draftwatermark/ .include "../../mk/bsd.pkg.mk" |