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 /graphics/tiff | |
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 'graphics/tiff')
-rw-r--r-- | graphics/tiff/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile index b24095bfe31..dd7cd2df114 100644 --- a/graphics/tiff/Makefile +++ b/graphics/tiff/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.43 2002/12/25 14:25:27 wiz Exp $ +# $NetBSD: Makefile,v 1.44 2003/01/28 22:03:25 jlam Exp $ DISTNAME= tiff-v3.5.7 PKGNAME= tiff-3.5.7 @@ -13,9 +13,9 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.libtiff.org/ COMMENT= Library and tools for reading and writing TIFF data files -USE_BUILDLINK2= # defined -USE_LIBTOOL= # defined -HAS_CONFIGURE= # defined +USE_BUILDLINK2= yes +USE_LIBTOOL= yes +HAS_CONFIGURE= yes CONFIGURE_ARGS= --noninteractive --site=${FILESDIR} --prefix=${PREFIX} .include "../../mk/bsd.prefs.mk" @@ -51,10 +51,9 @@ pre-patch: .include "../../graphics/jpeg/buildlink2.mk" .if !empty(X11BASE:M*openwin) -INSTALL_TMPL= ${.CURDIR}/INSTALL.OpenWindows +USE_PKGINSTALL= yes DEINSTALL_TMPL= ${INSTALL_TMPL} - -. include "../../mk/bsd.pkg.install.mk" +INSTALL_TMPL= ${.CURDIR}/INSTALL.OpenWindows .endif .include "../../mk/bsd.pkg.mk" |