From ab25766c713e99d509c047b0f6cd6ae3260cc586 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 11 Feb 2010 22:57:40 +0000 Subject: DESTDIR support --- print/chktex/Makefile | 7 ++++--- print/cnprint/Makefile | 21 +++++++++++---------- print/dvidvi/Makefile | 8 +++++--- print/flpsed/Makefile | 9 ++++++--- print/foomatic-filters/Makefile | 8 ++++++-- 5 files changed, 32 insertions(+), 21 deletions(-) (limited to 'print') 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