summaryrefslogtreecommitdiff
path: root/graphics/tiff
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 /graphics/tiff
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 'graphics/tiff')
-rw-r--r--graphics/tiff/Makefile13
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"