summaryrefslogtreecommitdiff
path: root/print/pnm2ppa
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
committerjlam <jlam@pkgsrc.org>2003-01-28 22:03:00 +0000
commitd7f69e47ce32be7271733bcdf48d28468f400ab9 (patch)
treed3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /print/pnm2ppa
parent63fd8d49cc206089921ed7d972b87faff07efbe6 (diff)
downloadpkgsrc-d7f69e47ce32be7271733bcdf48d28468f400ab9.tar.gz
Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
Diffstat (limited to 'print/pnm2ppa')
-rw-r--r--print/pnm2ppa/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/pnm2ppa/Makefile b/print/pnm2ppa/Makefile
index 3509cc5704b..9ad5d9ced9b 100644
--- a/print/pnm2ppa/Makefile
+++ b/print/pnm2ppa/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/01/19 08:45:38 salo Exp $
+# $NetBSD: Makefile,v 1.5 2003/01/28 22:04:01 jlam Exp $
#
DISTNAME= pnm2ppa-1.04
@@ -10,6 +10,7 @@ MAINTAINER= kei@netbsd.org
HOMEPAGE= http://pnm2ppa.sourceforge.net/
COMMENT= filter to convert PNM file to PPA used by some HP DJ printer
+USE_PKGINSTALL= yes
CONF_FILES+= ${PREFIX}/share/examples/pnm2ppa/pnm2ppa.conf.default \
${PKG_SYSCONFDIR}/pnm2ppa.conf
@@ -30,5 +31,4 @@ post-install:
${INSTALL_DATA} docs/en/CALIBRATION.txt docs/en/COLOR.txt \
${PREFIX}/share/doc/pnm2ppa
-.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"