diff options
author | joerg <joerg> | 2010-01-27 16:41:59 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-01-27 16:41:59 +0000 |
commit | fdda69261d45ec9a6f1f1ae0abb87118c83d44e3 (patch) | |
tree | 49f3815f0bfd893cdd2d814e2823a54102162619 /print/tex-ucs | |
parent | 4caa7a555213db9d852db8e8f778b6c563ee14da (diff) | |
download | pkgsrc-fdda69261d45ec9a6f1f1ae0abb87118c83d44e3.tar.gz |
DESTDIR support
Diffstat (limited to 'print/tex-ucs')
-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" |