diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-09-24 18:38:54 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-09-24 18:38:54 +0000 |
commit | fa9c6d952e3ee46b3311e57bf5133af5215f102e (patch) | |
tree | 0409a40cb69e14dba1da127b2eb43fdba49dcb61 /x11-toolkits/gtk20 | |
parent | This 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/gtk20')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 11 |
1 files changed, 7 insertions, 4 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* |