summaryrefslogtreecommitdiff
path: root/fonts/tex-uhc-fonts-base/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/tex-uhc-fonts-base/Makefile.common')
-rw-r--r--fonts/tex-uhc-fonts-base/Makefile.common10
1 files changed, 6 insertions, 4 deletions
diff --git a/fonts/tex-uhc-fonts-base/Makefile.common b/fonts/tex-uhc-fonts-base/Makefile.common
index d11bd7db2b9..491b9d178a4 100644
--- a/fonts/tex-uhc-fonts-base/Makefile.common
+++ b/fonts/tex-uhc-fonts-base/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.5 2006/04/07 04:47:20 minskim Exp $
+# $NetBSD: Makefile.common,v 1.6 2008/03/03 20:17:12 jlam Exp $
DISTNAME= uhc-fonts-1.0
CATEGORIES= fonts
@@ -12,6 +12,8 @@ TEX_ACCEPTED= teTeX3
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
NO_CONFIGURE= yes
USE_DIRS+= texmf-1.0
@@ -19,12 +21,12 @@ USE_DIRS+= texmf-1.0
.include "../../print/teTeX/module.mk"
do-install:
- ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/fonts/map/hlatex
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts/map/hlatex
${INSTALL_DATA} ${WRKSRC}/${TEX_FONTMAPS} \
- ${PKG_LOCALTEXMFPREFIX}/fonts/map/hlatex/
+ ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts/map/hlatex/
.for f in ${UHC_FONTS}
extract_file=${_DISTDIR:Q}/${f}; \
- cd ${PKG_LOCALTEXMFPREFIX}/fonts; ${EXTRACT_CMD}
+ cd ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts; ${EXTRACT_CMD}
.endfor
.include "../../mk/bsd.pkg.mk"