diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-rw-r--r-- | games/gnomoku/Makefile | 32 | ||||
-rw-r--r-- | games/gnomoku/distinfo | 1 | ||||
-rw-r--r-- | games/gnomoku/files/patch-Makefile.in | 14 | ||||
-rw-r--r-- | games/gnomoku/files/patch-po::Makefile.in.in | 14 | ||||
-rw-r--r-- | games/gnomoku/pkg-comment | 1 | ||||
-rw-r--r-- | games/gnomoku/pkg-descr | 3 | ||||
-rw-r--r-- | games/gnomoku/pkg-plist | 14 |
8 files changed, 80 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index b6208673a90..71479fde044 100644 --- a/games/Makefile +++ b/games/Makefile @@ -97,6 +97,7 @@ SUBDIR += gnomekiss SUBDIR += gnomememoryblocks SUBDIR += gnomermind + SUBDIR += gnomoku SUBDIR += gnuchess SUBDIR += gnugo SUBDIR += gnurobots diff --git a/games/gnomoku/Makefile b/games/gnomoku/Makefile new file mode 100644 index 00000000000..c79a3432a43 --- /dev/null +++ b/games/gnomoku/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: gnomoku +# Date created: 21 May 2001 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= gnomoku +PORTVERSION= 1.2 +CATEGORIES= games gnome +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= stable/sources/${PORTNAME} + +MAINTAINER= gnome@FreeBSD.org + +LIB_DEPENDS= gnomemm.9:${PORTSDIR}/x11-toolkits/gnome-- + +USE_X_PREFIX= yes +#USE_GMAKE= yes +USE_GNOME= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-fpermissive -I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \ + 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ + s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' + +.include <bsd.port.mk> diff --git a/games/gnomoku/distinfo b/games/gnomoku/distinfo new file mode 100644 index 00000000000..e6dfb2648fc --- /dev/null +++ b/games/gnomoku/distinfo @@ -0,0 +1 @@ +MD5 (gnomoku-1.2.tar.gz) = 05375da587ae497b4c260648037cddd1 diff --git a/games/gnomoku/files/patch-Makefile.in b/games/gnomoku/files/patch-Makefile.in new file mode 100644 index 00000000000..77f290bbd87 --- /dev/null +++ b/games/gnomoku/files/patch-Makefile.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- Makefile.in 2001/09/11 13:48:15 1.1 ++++ Makefile.in 2001/09/11 13:48:31 +@@ -114,7 +114,7 @@ + # Main executable + gnomoku_SOURCES = ai.cc ai.h gnomoku.cc mainwin.cc mainwin.h opponent.h options.cc options.h point.cc point.h user.cc user.h + +-gnomoku_LDADD = $(GNOMEMM_LIBS) $(INTLLIBS) -lpthread ++gnomoku_LDADD = $(GNOMEMM_LIBS) $(INTLLIBS) + bin_PROGRAMS = gnomoku + + # Desktop entry diff --git a/games/gnomoku/files/patch-po::Makefile.in.in b/games/gnomoku/files/patch-po::Makefile.in.in new file mode 100644 index 00000000000..0049d5105c1 --- /dev/null +++ b/games/gnomoku/files/patch-po::Makefile.in.in @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- po/Makefile.in.in 2001/09/11 13:53:23 1.1 ++++ po/Makefile.in.in 2001/09/11 13:53:37 +@@ -106,7 +106,7 @@ + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ +- lang=`echo $$cat | sed 's/\.gmo$$//'`; \ ++ lang=`echo $$cat | sed 's/\.mo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkinstalldirs) $(DESTDIR)$$dir; \ + if test -r $$cat; then \ diff --git a/games/gnomoku/pkg-comment b/games/gnomoku/pkg-comment new file mode 100644 index 00000000000..efed18b300b --- /dev/null +++ b/games/gnomoku/pkg-comment @@ -0,0 +1 @@ +A Gomoku game for GNOME Desktop diff --git a/games/gnomoku/pkg-descr b/games/gnomoku/pkg-descr new file mode 100644 index 00000000000..40139d2819c --- /dev/null +++ b/games/gnomoku/pkg-descr @@ -0,0 +1,3 @@ +Gnomoku is a Gomoku game for GNOME Desktop. + +WWW: http://www.gnome.org/ diff --git a/games/gnomoku/pkg-plist b/games/gnomoku/pkg-plist new file mode 100644 index 00000000000..62f0fb3e135 --- /dev/null +++ b/games/gnomoku/pkg-plist @@ -0,0 +1,14 @@ +bin/gnomoku +share/gnome/apps/Games/gnomoku.desktop +share/gnome/pixmaps/gnomoku.png +share/locale/de/LC_MESSAGES/gnomoku.mo +share/locale/es/LC_MESSAGES/gnomoku.mo +share/locale/fi/LC_MESSAGES/gnomoku.mo +share/locale/fr/LC_MESSAGES/gnomoku.mo +share/locale/hu/LC_MESSAGES/gnomoku.mo +share/locale/it/LC_MESSAGES/gnomoku.mo +share/locale/ja/LC_MESSAGES/gnomoku.mo +share/locale/no/LC_MESSAGES/gnomoku.mo +share/locale/ru/LC_MESSAGES/gnomoku.mo +share/locale/uk/LC_MESSAGES/gnomoku.mo +share/locale/zh_TW.Big5/LC_MESSAGES/gnomoku.mo |