summaryrefslogtreecommitdiff
path: root/print/tex-foiltex
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 16:15:19 +0000
committerjoerg <joerg>2010-01-27 16:15:19 +0000
commit1ef72e88b4571cff007a0b7bb730d8fe4d8940f7 (patch)
tree3f60a02904089a2e9a19b63a55cc2ce7406e4081 /print/tex-foiltex
parent0dac9e586cd9155cdf2ca03a188ebc71183d24ed (diff)
downloadpkgsrc-1ef72e88b4571cff007a0b7bb730d8fe4d8940f7.tar.gz
DESTDIR support
Diffstat (limited to 'print/tex-foiltex')
-rw-r--r--print/tex-foiltex/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/print/tex-foiltex/Makefile b/print/tex-foiltex/Makefile
index ec497f679ef..d7572080f44 100644
--- a/print/tex-foiltex/Makefile
+++ b/print/tex-foiltex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2009/07/22 09:01:44 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2010/01/27 16:15:19 joerg Exp $
DISTNAME= # empty
PKGNAME= tex-foiltex-2.1.4a
@@ -12,6 +12,8 @@ HOMEPAGE= http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/foiltex.html
COMMENT= LaTeX2e class for overhead transparencies
LICENSE= foiltex-license
+PKG_DESTDIR_SUPPORT= user-destdir
+
RESTRICTED= May not be redistributed for profit
NO_BIN_ON_CDROM=${RESTRICTED}
NO_SRC_ON_CDROM=${RESTRICTED}
@@ -33,10 +35,11 @@ do-extract:
do-build:
cd ${WRKSRC} && ${LATEX_PREFIX}/bin/latex foiltex.ins
+INSTALLATION_DIRS+= ${STYDIR}
+
do-install:
- ${INSTALL_DATA_DIR} ${STYDIR}
cd ${WRKSRC} && for f in foils.* foil*.clo fltfonts.def; do \
- ${INSTALL_DATA} $$f ${STYDIR}/$$f; \
+ ${INSTALL_DATA} $$f ${DESTDIR}${STYDIR}/$$f; \
done
.include "../../mk/bsd.pkg.mk"