diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-10 17:12:22 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-10 17:12:22 +0000 |
commit | 9ac14925fd33c71e8dc1b39df7e36c3c8c95555b (patch) | |
tree | 6ddbc59005a2137fbc0f45aa1a90f7599427535c /games/freeciv-gtk2 | |
parent | Fix my breakage. Only remove share/pixmaps in the non-Gnome case. (diff) |
Fix my breakage. Make this port a WANT_GTK port, so that freeciv-gtk
builds, and add a missing dependency on gettext.
Noticed by: asami
Notes
Notes:
svn path=/head/; revision=33674
Diffstat (limited to 'games/freeciv-gtk2')
-rw-r--r-- | games/freeciv-gtk2/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/games/freeciv-gtk2/Makefile b/games/freeciv-gtk2/Makefile index 175f2273b078..956e6c8504fd 100644 --- a/games/freeciv-gtk2/Makefile +++ b/games/freeciv-gtk2/Makefile @@ -14,17 +14,27 @@ MASTER_SITES= ftp://ftp.freeciv.org/pub/freeciv/stable/ \ MAINTAINER= sheldonh@freebsd.org +LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext + USE_XPM= yes USE_BZIP2= yes -WANT_IMLIB= yes +WANT_GTK= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" .include <bsd.port.pre.mk> -.if defined(HAVE_IMLIB) +.if defined(HAVE_GTK) USE_IMLIB= yes .else CONFIGURE_ARGS= --disable-gtktest .endif +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure + .include <bsd.port.post.mk> |