diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-11 22:57:40 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-11 22:57:40 +0000 |
commit | 87c133631b21887f418a36348facdb0db22b7e62 (patch) | |
tree | 892f24338b971c99ecdc3db1d871d95d58c28c61 /print | |
parent | 5ed11b372cb33923cdbc2835d3949451b69209e7 (diff) | |
download | pkgsrc-87c133631b21887f418a36348facdb0db22b7e62.tar.gz |
DESTDIR support
Diffstat (limited to 'print')
-rw-r--r-- | print/chktex/Makefile | 7 | ||||
-rw-r--r-- | print/cnprint/Makefile | 21 | ||||
-rw-r--r-- | print/dvidvi/Makefile | 8 | ||||
-rw-r--r-- | print/flpsed/Makefile | 9 | ||||
-rw-r--r-- | print/foomatic-filters/Makefile | 8 |
5 files changed, 32 insertions, 21 deletions
diff --git a/print/chktex/Makefile b/print/chktex/Makefile index 5050cb2e8b5..6ed240e27d1 100644 --- a/print/chktex/Makefile +++ b/print/chktex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/02/05 23:10:35 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2010/02/11 23:50:51 joerg Exp $ # DISTNAME= chktex-1.6.3 @@ -10,6 +10,8 @@ MAINTAINER= recht@NetBSD.org HOMEPAGE= http://baruch.ev-en.org/proj/chktex/ COMMENT= LaTeX semantic checker +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= lynx-[0-9]*:../../www/lynx EGDIR= ${PREFIX}/share/examples/chktex @@ -21,8 +23,7 @@ CFLAGS+= -D__unix__ CONFIGURE_ENV+= PERL5=${PERL5:Q} MAKE_ENV+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q} EGDIR=${EGDIR:Q} -pre-install: - ${INSTALL_DATA_DIR} ${EGDIR} +INSTALLATION_DIRS+= ${EGDIR} .include "../../mk/tex.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/print/cnprint/Makefile b/print/cnprint/Makefile index f2f590506f3..f0e163e0a80 100644 --- a/print/cnprint/Makefile +++ b/print/cnprint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2006/03/04 21:30:28 jlam Exp $ +# $NetBSD: Makefile,v 1.11 2010/02/11 23:42:13 joerg Exp $ DISTNAME= # PKGNAME= cnprint-3.30b @@ -26,9 +26,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.neurophys.wisc.edu/~cai/software/index.html COMMENT= Print & convert CJK style text to PostScript +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= ${PKGNAME_NOREV} USE_TOOLS+= gtar gunzip -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin share/cnprint do-extract: ${MKDIR} ${WRKSRC} @@ -48,13 +50,12 @@ do-build: >cnprint.cmd <cnprint33.cmd do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/cnprint - ${INSTALL_DATA} ${WRKSRC}/cnprint.cmd ${PREFIX}/share/cnprint - ${INSTALL_DATA} ${WRKSRC}/*.sym ${PREFIX}/share/cnprint - ${INSTALL_DATA} ${WRKSRC}/*.htf ${PREFIX}/share/cnprint - ${INSTALL_DATA} ${WRKSRC}/*.hbf ${PREFIX}/share/cnprint - ${INSTALL_DATA} ${WRKSRC}/*.bin ${PREFIX}/share/cnprint - ${INSTALL_DATA} ${WRKSRC}/*.ttf ${PREFIX}/share/cnprint - ${INSTALL_PROGRAM} ${WRKSRC}/cnprint ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/cnprint.cmd ${DESTDIR}${PREFIX}/share/cnprint + ${INSTALL_DATA} ${WRKSRC}/*.sym ${DESTDIR}${PREFIX}/share/cnprint + ${INSTALL_DATA} ${WRKSRC}/*.htf ${DESTDIR}${PREFIX}/share/cnprint + ${INSTALL_DATA} ${WRKSRC}/*.hbf ${DESTDIR}${PREFIX}/share/cnprint + ${INSTALL_DATA} ${WRKSRC}/*.bin ${DESTDIR}${PREFIX}/share/cnprint + ${INSTALL_DATA} ${WRKSRC}/*.ttf ${DESTDIR}${PREFIX}/share/cnprint + ${INSTALL_PROGRAM} ${WRKSRC}/cnprint ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" diff --git a/print/dvidvi/Makefile b/print/dvidvi/Makefile index e2984f875b8..81616df3e1e 100644 --- a/print/dvidvi/Makefile +++ b/print/dvidvi/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2008/09/08 14:25:49 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2010/02/11 23:41:32 joerg Exp $ # DISTNAME= dvidvi-1.0 @@ -8,6 +8,8 @@ MASTER_SITES= ftp://sunsite.univie.ac.at/pub/distfiles/ MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Select and/or rearrange pages in a TeX dvi file +PKG_DESTDIR_SUPPORT= user-destdir + RESTRICTED= Unable to determine distribution license NO_SRC_ON_FTP= ${RESTRICTED} NO_SRC_ON_CDROM=${RESTRICTED} @@ -17,7 +19,7 @@ NO_BIN_ON_CDROM=${RESTRICTED} INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dvidvi ${PREFIX}/bin/dvidvi - ${INSTALL_MAN} ${WRKSRC}/dvidvi.1 ${PREFIX}/${PKGMANDIR}/man1/dvidvi.1 + ${INSTALL_PROGRAM} ${WRKSRC}/dvidvi ${DESTDIR}${PREFIX}/bin/dvidvi + ${INSTALL_MAN} ${WRKSRC}/dvidvi.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/dvidvi.1 .include "../../mk/bsd.pkg.mk" diff --git a/print/flpsed/Makefile b/print/flpsed/Makefile index 3848e8cd794..7e1e9e2532d 100644 --- a/print/flpsed/Makefile +++ b/print/flpsed/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2007/03/24 01:57:44 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2010/02/11 23:58:34 joerg Exp $ DISTNAME= flpsed-0.3.9 CATEGORIES= print @@ -8,13 +8,16 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.ecademix.com/JohannesHofmann/flpsed.html COMMENT= WYSIWYG PostScript2 annotator +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LANGUAGES+= c c++ USE_TOOLS+= gmake gs:run +INSTALLATION_DIRS+= share/doc/flpsed + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flpsed - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/flpsed + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/flpsed .include "../../x11/fltk/buildlink3.mk" diff --git a/print/foomatic-filters/Makefile b/print/foomatic-filters/Makefile index d0e7188de32..145fb1573d4 100644 --- a/print/foomatic-filters/Makefile +++ b/print/foomatic-filters/Makefile @@ -1,4 +1,6 @@ -# $NetBSD: Makefile,v 1.17 2007/02/22 19:27:03 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2010/02/11 23:59:39 joerg Exp $ + +PKG_DESTDIR_SUPPORT= user-destdir .include "Makefile.common" @@ -57,7 +59,9 @@ REQD_DIRS= ${EGDIR} OWN_DIRS= ${CONFDIR} CONF_FILES= ${EGDIR}/filter.conf ${CONFDIR}/filter.conf +INSTALLATION_DIRS+= ${EGDIR} + post-install: - ${INSTALL_DATA} ${WRKSRC}/filter.conf ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/filter.conf ${DESTDIR}${EGDIR} .include "../../mk/bsd.pkg.mk" |