summaryrefslogtreecommitdiff
path: root/graphics/giflib
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/giflib')
-rw-r--r--graphics/giflib/Makefile15
-rw-r--r--graphics/giflib/Makefile.common19
2 files changed, 22 insertions, 12 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index a3e940e0932..b7517189ab7 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -1,24 +1,15 @@
-# $NetBSD: Makefile,v 1.43 2011/09/06 18:45:46 drochner Exp $
+# $NetBSD: Makefile,v 1.44 2012/02/15 11:08:46 obache Exp $
#
-DISTNAME= giflib-4.1.6
+.include "${.CURDIR}/Makefile.common"
+
PKGREVISION= 2
-CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/}
-EXTRACT_SUFX= .tar.bz2
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://giflib.sourceforge.net/
COMMENT= GIF image format library
-LICENSE= mit
CONFLICTS+= libungif-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
-GNU_CONFIGURE= yes
-USE_LIBTOOL= yes
-USE_LANGUAGES= c c++
-
BUILD_DIRS= lib
INSTALL_DIRS= lib
diff --git a/graphics/giflib/Makefile.common b/graphics/giflib/Makefile.common
new file mode 100644
index 00000000000..b52d781d7e5
--- /dev/null
+++ b/graphics/giflib/Makefile.common
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile.common,v 1.1 2012/02/15 11:08:46 obache Exp $
+# used by graphics/giflib/Makefile
+# used by graphics/giflib-util/Makefile
+
+DISTNAME= giflib-4.1.6
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://giflib.sourceforge.net/
+LICENSE= mit
+
+PATCHDIR= ${.CURDIR}/../../graphics/giflib/patches
+DISTINFO_FILE= ${.CURDIR}/../../graphics/giflib/distinfo
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++