diff options
Diffstat (limited to 'print/tex-ucs/Makefile')
-rw-r--r-- | print/tex-ucs/Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/print/tex-ucs/Makefile b/print/tex-ucs/Makefile index 9840e5a025b..196dc93345c 100644 --- a/print/tex-ucs/Makefile +++ b/print/tex-ucs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2009/07/22 09:01:45 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2010/01/27 16:41:59 joerg Exp $ # DISTNAME= unicode @@ -12,6 +12,8 @@ MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://www.unruh.de/DniQ/latex/unicode/ COMMENT= LaTeX UTF-8 support +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/ucs NO_CONFIGURE= yes NO_BUILD= yes @@ -21,14 +23,13 @@ UCSDIR= ${PKG_LOCALTEXMFPREFIX}/tex/latex/ucs .include "../../print/teTeX/module.mk" +INSTALLATION_DIRS+= ${UCSDIR}/data ${UCSDIR}/contrib + do-install: - ${INSTALL_DATA_DIR} ${UCSDIR} .for f in ${UCSFILES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${UCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${UCSDIR} .endfor - ${INSTALL_DATA_DIR} ${UCSDIR}/data - ${INSTALL_DATA} ${WRKSRC}/data/* ${UCSDIR}/data/ - ${INSTALL_DATA_DIR} ${UCSDIR}/contrib - ${INSTALL_DATA} ${WRKSRC}/contrib/* ${UCSDIR}/contrib/ + ${INSTALL_DATA} ${WRKSRC}/data/* ${DESTDIR}${UCSDIR}/data/ + ${INSTALL_DATA} ${WRKSRC}/contrib/* ${DESTDIR}${UCSDIR}/contrib/ .include "../../mk/bsd.pkg.mk" |