summaryrefslogtreecommitdiff
path: root/games/gogui/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-27 14:52:26 +0000
committerrillig <rillig@pkgsrc.org>2006-07-27 14:52:26 +0000
commite0c789a17d5f81e7e316d3c6aeb91b5dc1e0d5e9 (patch)
tree96330c3b9323f61f3bc991ec2a56051a24a49ebb /games/gogui/Makefile
parentbe75f6ee5658c145bec19d5cc6b6faa6acd07dfe (diff)
downloadpkgsrc-e0c789a17d5f81e7e316d3c6aeb91b5dc1e0d5e9.tar.gz
Imported gogui.
GoGui is a graphical interface to programs that play the game of Go and use GTP (Go Text Protocol).
Diffstat (limited to 'games/gogui/Makefile')
-rw-r--r--games/gogui/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/games/gogui/Makefile b/games/gogui/Makefile
new file mode 100644
index 00000000000..b0032e2f161
--- /dev/null
+++ b/games/gogui/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/07/27 14:52:26 rillig Exp $
+#
+
+DISTNAME= gogui-0.9
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gogui/}
+EXTRACT_SUFX= .zip
+
+MAINTAINER= rillig@NetBSD.org
+HOMEPAGE= http://gogui.sourceforge.net/
+COMMENT= GUI for Go-playing programs
+
+REPLACE_BASH+= bin/*
+USE_TOOLS+= bash:run
+
+SUBST_CLASSES+= gogui
+SUBST_STAGE.gogui= do-configure
+SUBST_MESSAGE.gogui= Fixing hard-coded paths.
+SUBST_FILES.gogui= bin/*
+SUBST_SED.gogui= -e 's;^\(GOGUI_LIB\)=.*;\1="${LIBDIR}";'
+
+NO_BUILD= yes
+
+LIBDIR= ${PREFIX}/share/gogui/lib
+DOCDIR= ${PREFIX}/share/doc/gogui
+MY_MANDIR= ${PREFIX}/${PKGMANDIR}
+INSTALLATION_DIRS= bin ${LIBDIR} ${DOCDIR} ${MY_MANDIR}
+
+do-install:
+ cd ${WRKSRC}/bin && ${INSTALL_SCRIPT} * ${PREFIX}/bin/.
+ cd ${WRKSRC}/lib && ${INSTALL_DATA} *.jar ${LIBDIR}/.
+ cd ${WRKSRC}/doc/manual/html && ${INSTALL_DATA} *.html *.png ${DOCDIR}/.
+ cd ${WRKSRC}/doc/manual/man && ${INSTALL_MAN} *.1 ${MY_MANDIR}/man1/.
+
+.include "../../mk/bsd.pkg.mk"