diff options
author | joerg <joerg> | 2009-08-18 16:29:21 +0000 |
---|---|---|
committer | joerg <joerg> | 2009-08-18 16:29:21 +0000 |
commit | 619d889fff7aa8e307c29a025afdf510782b31ac (patch) | |
tree | a2caf9db032af261903848f286640c9cf99c6791 /print | |
parent | 52ee90643a6d650e674403f84760909464377d2d (diff) | |
download | pkgsrc-619d889fff7aa8e307c29a025afdf510782b31ac.tar.gz |
Fix installation and add destdir support.
Diffstat (limited to 'print')
-rw-r--r-- | print/tex-memhangul-ucs/Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/print/tex-memhangul-ucs/Makefile b/print/tex-memhangul-ucs/Makefile index 67f8d763146..099f84d8162 100644 --- a/print/tex-memhangul-ucs/Makefile +++ b/print/tex-memhangul-ucs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2009/07/22 09:01:44 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2009/08/18 16:29:21 joerg Exp $ DISTNAME= memhangul-ucs-1.4.4f PKGNAME= tex-${DISTNAME} @@ -10,6 +10,8 @@ MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://faq.ktug.or.kr/faq/MemhangulClass COMMENT= Korean support in memoir +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= tex-dhucs>=2.6:../../print/tex-dhucs DEPENDS+= tex-memoir>=1.618:../../print/tex-memoir @@ -18,18 +20,21 @@ NO_BUILD= yes .include "../../print/teTeX/module.mk" +INSTALLATION_DIRS= ${PKG_LOCALTEXMFPREFIX}/doc/latex/memhangul \ + ${PKG_LOCALTEXMFPREFIX}/tex/latex/memhangul \ + ${PKG_LOCALTEXMFPREFIX}/fonts/cmap \ + ${PKG_LOCALTEXMFPREFIX}/makeindex/ + do-install: - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/doc/latex/memhangul .for f in appendixtest.tex doeun.bb doeun.png memucstest.tex ${INSTALL_DATA} ${WRKSRC}/doc/memhangul-ucs/${f} \ - ${PKG_LOCALTEXMFPREFIX}/doc/latex/memhangul + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/doc/latex/memhangul .endfor ${INSTALL_DATA} ${WRKSRC}/fonts/cmap/UTF8-UCS2 \ - ${PKG_LOCALTEXMFPREFIX}/fonts/cmap/ + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/fonts/cmap/ ${INSTALL_DATA} ${WRKSRC}/makeindex/memucs-manual.ist \ - ${PKG_LOCALTEXMFPREFIX}/makeindex/ - ${INSTALL_DATA_DIR} ${PKG_LOCALTEXMFPREFIX}/tex/latex/memhangul + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/makeindex/ ${INSTALL_DATA} ${WRKSRC}/tex/latex/memhangul/*.sty \ - ${PKG_LOCALTEXMFPREFIX}/tex/latex/memhangul/ + ${DESTDIR}${PKG_LOCALTEXMFPREFIX}/tex/latex/memhangul/ .include "../../mk/bsd.pkg.mk" |