diff options
author | jlam <jlam> | 2003-01-28 22:03:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-01-28 22:03:00 +0000 |
commit | d9bf9ebd1c4d0cf9334ca40c2f585d4d17f70bdf (patch) | |
tree | d3bbe0e3f34c0d0b96c3bf5abf2964293c181c7b /print/psutils/Makefile | |
parent | ebed1329682fd1c81284e9ee1632af9b987050f0 (diff) | |
download | pkgsrc-d9bf9ebd1c4d0cf9334ca40c2f585d4d17f70bdf.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/psutils/Makefile')
-rw-r--r-- | print/psutils/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/print/psutils/Makefile b/print/psutils/Makefile index af3ec3fd17f..e4162076704 100644 --- a/print/psutils/Makefile +++ b/print/psutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2002/11/26 10:13:20 jmmv Exp $ +# $NetBSD: Makefile,v 1.22 2003/01/28 22:04:01 jlam Exp $ # FreeBSD Id: Makefile,v 1.15 1998/01/08 18:52:13 fenner Exp # @@ -16,6 +16,7 @@ DEPENDS+= papersize-[0-9]*:../../print/papersize WRKSRC= ${WRKDIR}/psutils USE_PERL5= yes +USE_PKGINSTALL= yes .include "../../mk/bsd.prefs.mk" @@ -57,5 +58,4 @@ post-install: low=`${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'`; \ ${ECHO} "PAPERSIZE=$$low" > ${EGDIR}/psutils.cfg; -.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |