aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-09-09 16:52:30 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-09-09 16:52:30 +0000
commit8d382413457eec1c86ac020751988361946de0aa (patch)
treef3ee87a3dcc72899436b241b75e6958ab05838c0
parent1db08d38d14b3ad1de43faa7803413b2845519c0 (diff)
downloadports-8d382413457eec1c86ac020751988361946de0aa.tar.gz
ports-8d382413457eec1c86ac020751988361946de0aa.zip
Notes
-rw-r--r--games/ggz-gtk-client/Makefile12
-rw-r--r--games/ggz-gtk-client/pkg-plist6
2 files changed, 11 insertions, 7 deletions
diff --git a/games/ggz-gtk-client/Makefile b/games/ggz-gtk-client/Makefile
index ecd48757590c..afa00294827b 100644
--- a/games/ggz-gtk-client/Makefile
+++ b/games/ggz-gtk-client/Makefile
@@ -3,23 +3,22 @@
PORTNAME= ggz-gtk-client
PORTVERSION= ${GGZ_VERSION}
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= games
MAINTAINER= ports@FreeBSD.org
COMMENT= The GGZ Gaming Zone - GTK+ Frontend
-USES= libtool:oldver
+USES= libtool pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
USE_GGZ= client
-USES= pkgconfig
INSTALL_TARGET= install-strip
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -pthread
+LIBS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
@@ -27,5 +26,10 @@ OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_OFF= --disable-nls
+post-patch:
+ @${REINPLACE_CMD} \
+ '/^ggz_gtk_LDADD =/s/$$/ $$(GTK_LIBS) $$(LIB_GGZCORE) $$(LIB_GGZ)/' \
+ ${WRKSRC}/src/Makefile.in
+
.include "${.CURDIR}/../libggz/bsd.ggz.mk"
.include <bsd.port.mk>
diff --git a/games/ggz-gtk-client/pkg-plist b/games/ggz-gtk-client/pkg-plist
index ba37cc7e3316..e1908444ee12 100644
--- a/games/ggz-gtk-client/pkg-plist
+++ b/games/ggz-gtk-client/pkg-plist
@@ -1,10 +1,10 @@
bin/ggz-gtk
include/ggz-embed.h
include/ggz-gtk.h
-lib/libggz-gtk.so.1
-lib/libggz-gtk.so
-lib/libggz-gtk.la
lib/libggz-gtk.a
+lib/libggz-gtk.so
+lib/libggz-gtk.so.1
+lib/libggz-gtk.so.1.0.0
man/man6/ggz-gtk.6.gz
share/applications/ggz-gtk.desktop
share/ggz/ggz-gtk-client/about_bg.png