summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-24 18:38:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-24 18:38:54 +0000
commitfa9c6d952e3ee46b3311e57bf5133af5215f102e (patch)
tree0409a40cb69e14dba1da127b2eb43fdba49dcb61 /x11-toolkits
parentThis is a new port of tetris game, written almost 15 years ago, (diff)
* Fix l10n bug with the locale directory [1]
* Add XInput support * Add a gtk20 LATEST_LINK * Replace find with ${FIND} and xargs with ${XARGS} Reported by: Marcin Wisnicki <wisnia21@freeshell.org> [1]
Notes
Notes: svn path=/head/; revision=89268
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtk20/Makefile11
-rw-r--r--x11-toolkits/gtk30/Makefile11
2 files changed, 14 insertions, 8 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile
index 8742df0ef70c..0d3cccbc72f6 100644
--- a/x11-toolkits/gtk20/Makefile
+++ b/x11-toolkits/gtk20/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gtk
PORTVERSION= 2.2.4
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.2,} \
ftp://ftp.gtk.org/pub/gtk/v2.0/ \
@@ -27,7 +28,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
USE_BZIP2= yes
-NO_LATEST_LINK= yes
+LATEST_LINK= gtk20
USE_X_PREFIX= yes
USE_XPM= yes
USE_REINPLACE= yes
@@ -35,7 +36,7 @@ USE_PERL5= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
USE_GNOME= gnomehack atk pango
-CONFIGURE_ARGS= --enable-static
+CONFIGURE_ARGS= --enable-static --with-xinput=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
@@ -44,8 +45,10 @@ PLIST_SUB= GTK_VERSION="2.2.0"
MAN1= gdk-pixbuf-csource.1
post-patch:
- @find ${WRKSRC} -name "Makefile.in" | xargs ${GREP} -l lgmodule | \
- xargs ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g'
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${GREP} -l lgmodule | \
+ ${XARGS} ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g'
+ @${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \
+ ${WRKSRC}/configure
pre-build:
${RM} -rf ${WRKSRC}/docs/gtk.info*
diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile
index 8742df0ef70c..0d3cccbc72f6 100644
--- a/x11-toolkits/gtk30/Makefile
+++ b/x11-toolkits/gtk30/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gtk
PORTVERSION= 2.2.4
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/2.2,} \
ftp://ftp.gtk.org/pub/gtk/v2.0/ \
@@ -27,7 +28,7 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
USE_BZIP2= yes
-NO_LATEST_LINK= yes
+LATEST_LINK= gtk20
USE_X_PREFIX= yes
USE_XPM= yes
USE_REINPLACE= yes
@@ -35,7 +36,7 @@ USE_PERL5= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL= yes
USE_GNOME= gnomehack atk pango
-CONFIGURE_ARGS= --enable-static
+CONFIGURE_ARGS= --enable-static --with-xinput=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype2 \
-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
@@ -44,8 +45,10 @@ PLIST_SUB= GTK_VERSION="2.2.0"
MAN1= gdk-pixbuf-csource.1
post-patch:
- @find ${WRKSRC} -name "Makefile.in" | xargs ${GREP} -l lgmodule | \
- xargs ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g'
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${GREP} -l lgmodule | \
+ ${XARGS} ${REINPLACE_CMD} -e 's|-lgmodule|@GMODULE_LIBS@|g'
+ @${REINPLACE_CMD} -e 's|[{]libdir[}]/locale|{datadir}/locale|g' \
+ ${WRKSRC}/configure
pre-build:
${RM} -rf ${WRKSRC}/docs/gtk.info*