diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-09-11 14:05:00 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-09-11 14:05:00 +0000 |
commit | e9474c7560060cbaaef4db74f27cdd467c2ea7cd (patch) | |
tree | c9304d18ebe8c300b147095f2b59e3a7f21b3f63 /games/gnomoku | |
parent | Use `::' operator for pre-everything target. (diff) |
Add gnomoku 1.2, a Gomoku game for GNOME Desktop.
Notes
Notes:
svn path=/head/; revision=47668
Diffstat (limited to 'games/gnomoku')
-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 |
7 files changed, 79 insertions, 0 deletions
diff --git a/games/gnomoku/Makefile b/games/gnomoku/Makefile new file mode 100644 index 000000000000..c79a3432a431 --- /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 000000000000..e6dfb2648fca --- /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 000000000000..77f290bbd874 --- /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 000000000000..0049d5105c1f --- /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 000000000000..efed18b300b7 --- /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 000000000000..40139d2819ce --- /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 000000000000..62f0fb3e135c --- /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 |