summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk20
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-09-24 19:11:44 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2012-09-24 19:11:44 +0800
commit32f824105987ab553d25cd93f98412a88f21717e (patch)
tree90b23202573055d683b6c1534ab2b3a0d4d56422 /x11-toolkits/gtk20
parent0247f7f5db24969a527630a5308b96acc0d7491d (diff)
downloadmarcuscom-ports-32f824105987ab553d25cd93f98412a88f21717e.tar
marcuscom-ports-32f824105987ab553d25cd93f98412a88f21717e.tar.gz
marcuscom-ports-32f824105987ab553d25cd93f98412a88f21717e.tar.bz2
marcuscom-ports-32f824105987ab553d25cd93f98412a88f21717e.tar.lz
marcuscom-ports-32f824105987ab553d25cd93f98412a88f21717e.tar.xz
marcuscom-ports-32f824105987ab553d25cd93f98412a88f21717e.tar.zst
marcuscom-ports-32f824105987ab553d25cd93f98412a88f21717e.zip
Update to 2.24.13.
Port to OptionsNG, pet portlint and remove LICENSE_FILE. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17078 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/gtk20')
-rw-r--r--x11-toolkits/gtk20/Makefile19
-rw-r--r--x11-toolkits/gtk20/distinfo4
2 files changed, 12 insertions, 11 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 1b1e931fe..c86484a0f 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -3,12 +3,12 @@
# Whom: Vanilla I. Shu <vanilla@MinJe.com.TW>
#
# $FreeBSD$
-# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.232 2012/08/04 09:01:12 kwm Exp $
+# $MCom: ports/x11-toolkits/gtk20/Makefile,v 1.233 2012/09/03 20:31:40 kwm Exp $
#
# Remember to update graphics/gtk-update-icon-cache too.
PORTNAME= gtk
-PORTVERSION= 2.24.12
+PORTVERSION= 2.24.13
PORTREVISION?= 0
CATEGORIES= x11-toolkits
MASTER_SITES= GNOME
@@ -20,7 +20,6 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= Gimp Toolkit for X11 GUI (previous stable version)
LICENSE= LGPL20
-LICENSE_FILE= ${WRKSRC}/COPYING
USE_XZ= yes
LATEST_LINK= gtk20
@@ -47,16 +46,14 @@ LDFLAGS+= -L${LOCALBASE}/lib
MAN1= gtk-query-immodules-2.0.1
-.if defined(WITH_DEBUG)
-CONFIGURE_ARGS+= --enable-debug=yes
-.endif
-OPTIONS= CUPS "Enable cups printing support" on
+OPTIONS_DEFINE= CUPS DEBUG
+OPTIONS_DEFAULT=CUPS
.include <bsd.port.options.mk>
-.if defined(WITH_CUPS)
-LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-client
+.if ${PORT_OPTIONS:MCUPS}
+LIB_DEPENDS+= cups:${PORTSDIR}/print/cups-client
CONFIGURE_ARGS+=--enable-cups=auto
PLIST_SUB+= CUPS:=""
.else
@@ -64,6 +61,10 @@ CONFIGURE_ARGS+=--disable-cups
PLIST_SUB+= CUPS:="@comment "
.endif
+.if ${PORT_OPTIONS:MDEBUG}
+CONFIGURE_ARGS+=--enable-debug=yes
+.endif
+
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${GREP} -l lgmodule | \
${XARGS} ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g'
diff --git a/x11-toolkits/gtk20/distinfo b/x11-toolkits/gtk20/distinfo
index e0559f138..52ca2327d 100644
--- a/x11-toolkits/gtk20/distinfo
+++ b/x11-toolkits/gtk20/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gnome2/gtk+-2.24.12.tar.xz) = c5eba3b9259e4bf7554e9dc9db5d72038aa8b1bdd40fa0364b3705c226d11808
-SIZE (gnome2/gtk+-2.24.12.tar.xz) = 13255456
+SHA256 (gnome2/gtk+-2.24.13.tar.xz) = 35e1a01e46b02970b02ee9f299390d0aa57c1215ad2667bcd584b72f4ea6513d
+SIZE (gnome2/gtk+-2.24.13.tar.xz) = 13278972