diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 16:27:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 16:27:49 +0000 |
commit | 409b0a2f9dba2b2613f43a32f79a3cce8fe70da5 (patch) | |
tree | 461c3c34c542c64cec1af00f224aabff01cea0bb /print/tex-prosper | |
parent | b5b8f772d02932bee516e28df398cb5baa310879 (diff) | |
download | pkgsrc-409b0a2f9dba2b2613f43a32f79a3cce8fe70da5.tar.gz |
DESTDIR support
Diffstat (limited to 'print/tex-prosper')
-rw-r--r-- | print/tex-prosper/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/print/tex-prosper/Makefile b/print/tex-prosper/Makefile index 9d8adee3f77..797897fd619 100644 --- a/print/tex-prosper/Makefile +++ b/print/tex-prosper/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2009/12/25 22:58:18 wiz Exp $ +# $NetBSD: Makefile,v 1.15 2010/01/27 16:35:37 joerg Exp $ # DISTNAME= prosper-1.00.4 @@ -12,6 +12,8 @@ MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://sourceforge.net/projects/prosper/ COMMENT= LaTeX class for writing transparencies +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/prosper NO_CONFIGURE= yes NO_BUILD= yes @@ -33,16 +35,15 @@ post-extract: ${MV} ${WRKSRC}/doc/doc-examples ${WRKSRC}/examples ${FIND} ${WRKSRC} -name CVS -print | ${XARGS} ${RM} -rf +INSTALLATION_DIRS+= ${PROSPERDIR} ${DOCDIR} ${EGDIR} + do-install: - ${INSTALL_DATA_DIR} ${PROSPERDIR} - ${INSTALL_DATA_DIR} ${DOCDIR} - ${INSTALL_DATA_DIR} ${EGDIR} cd ${WRKSRC} && pax -rw -pp -pm *.sty *.cls img contrib designer \ - ${PROSPERDIR} - cd ${WRKSRC}/doc && pax -rw -pp -pm . ${DOCDIR} - cd ${WRKSRC}/examples && pax -rw -pp -pm . ${EGDIR} + ${DESTDIR}${PROSPERDIR} + cd ${WRKSRC}/doc && pax -rw -pp -pm . ${DESTDIR}${DOCDIR} + cd ${WRKSRC}/examples && pax -rw -pp -pm . ${DESTDIR}${EGDIR} .for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${DOCDIR} .endfor .include "../../mk/bsd.pkg.mk" |