summaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf2
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-10-08 08:04:28 +0000
committermarino <marino@pkgsrc.org>2012-10-08 08:04:28 +0000
commitdac159b3f2bdfccf25683bfa4508523abfe51828 (patch)
tree6a458fea0927dd49ba77400d69671f5ffe434273 /graphics/gdk-pixbuf2
parent0891d27143f5304bea6695ff59b31ad6c3c24ec0 (diff)
downloadpkgsrc-dac159b3f2bdfccf25683bfa4508523abfe51828.tar.gz
graphics/gdk-pixbuf2*: Fix base sync problem permanently
gdk-pixbuf2, gdk-pixbuf2-jasper, and gdk-pixbuf2-xlib have been manually synced. Usually the base package would get updated and the others would be forgotten resulting in an unnecessary mismatch. Create a common makefile to permanently fix this problem.
Diffstat (limited to 'graphics/gdk-pixbuf2')
-rw-r--r--graphics/gdk-pixbuf2/Makefile9
-rw-r--r--graphics/gdk-pixbuf2/Makefile.version2
2 files changed, 7 insertions, 4 deletions
diff --git a/graphics/gdk-pixbuf2/Makefile b/graphics/gdk-pixbuf2/Makefile
index 6353b754fd0..6362a7e48e6 100644
--- a/graphics/gdk-pixbuf2/Makefile
+++ b/graphics/gdk-pixbuf2/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.21 2012/10/06 14:10:50 asau Exp $
-# Remember to also update graphics/gdk-pixbuf2-xlib
+# $NetBSD: Makefile,v 1.22 2012/10/08 08:04:28 marino Exp $
-DISTNAME= gdk-pixbuf-2.26.4
+DISTNAME= gdk-pixbuf-${PIXBUF2_VERSION}
PKGNAME= ${DISTNAME:S/pixbuf/pixbuf2/}
CATEGORIES= graphics
-MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdk-pixbuf/2.26/}
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdk-pixbuf/${MSITE_VERSION}/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -14,6 +13,8 @@ LICENSE= gnu-gpl-v2
CONFLICTS+= gtk2+<2.22
+.include "../../graphics/gdk-pixbuf2/Makefile.version"
+
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config gmake
diff --git a/graphics/gdk-pixbuf2/Makefile.version b/graphics/gdk-pixbuf2/Makefile.version
new file mode 100644
index 00000000000..ccca6449d7b
--- /dev/null
+++ b/graphics/gdk-pixbuf2/Makefile.version
@@ -0,0 +1,2 @@
+PIXBUF2_VERSION= 2.26.4
+MSITE_VERSION= 2.26