diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2002-01-29 15:34:26 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2002-01-29 15:34:26 +0000 |
commit | 2ba2fce29c90d33ac9baeb573d5a602e8bfb865f (patch) | |
tree | a95900bc214da74c643f7e1b98fa1bad4770f753 /japanese/gorua/Makefile | |
parent | Support PTHREAD_CFLAGS/PTHREAD_LIBS properly. (diff) |
Add gorua, Gtk+ on Ruby User Agent for 2ch BBS.
Notes
Notes:
svn path=/head/; revision=53966
Diffstat (limited to 'japanese/gorua/Makefile')
-rw-r--r-- | japanese/gorua/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/japanese/gorua/Makefile b/japanese/gorua/Makefile new file mode 100644 index 000000000000..4e9e23bc87d1 --- /dev/null +++ b/japanese/gorua/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: goRua +# Date created: 12 December 2001 +# Whom: MANTANI Nobutaka <nobutaka@nobutaka.com> +# +# $FreeBSD$ +# + +PORTNAME= gorua +PORTVERSION= 0.11d +CATEGORIES= japanese +MASTER_SITES= http://www.unixuser.org/~haruyama/software/goRua/ +DISTNAME= goRua-${PORTVERSION} + +MAINTAINER= nobutaka@FreeBSD.org + +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk \ + ${RUBY_SITEARCHLIBDIR}/zlib.so:${PORTSDIR}/archivers/ruby-zlib \ + ${X11BASE}/lib/X11/fonts/local/mona6x12a.pcf.gz:${PORTSDIR}/japanese/monafonts + +USE_BZIP2= yes +USE_RUBY= yes + +NO_BUILD= yes + +do-configure: + ${SED} -e "s,%%RUBY_WITHOUT_SUFFIX%%,${RUBY_WITHOUT_SUFFIX}," < ${WRKSRC}/new_2ch_bbsmenu.rb > ${WRKSRC}/new_2ch_bbsmenu.rb.tmp + ${SED} -e "s,%%RUBY_WITHOUT_SUFFIX%%,${RUBY_WITHOUT_SUFFIX}," < ${WRKSRC}/goRua.rb > ${WRKSRC}/goRua.rb.tmp + ${MV} ${WRKSRC}/new_2ch_bbsmenu.rb.tmp ${WRKSRC}/new_2ch_bbsmenu.rb + ${MV} ${WRKSRC}/goRua.rb.tmp ${WRKSRC}/goRua.rb + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/goRua.rb ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/new_2ch_bbsmenu.rb ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/connect2ch.rb ${RUBY_SITELIBDIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/ja/goRua + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ja/goRua +.endif + ${MKDIR} ${PREFIX}/share/examples/goRua/dot.goRua_2ch + ${MKDIR} ${PREFIX}/share/examples/goRua/dot.goRua_2ch + ${MKDIR} ${PREFIX}/share/examples/goRua/dot.goRua_2ch/subject + ${MKDIR} ${PREFIX}/share/examples/goRua/dot.goRua_2ch/thread + ${INSTALL_DATA} ${WRKSRC}/.goRua_2ch/board_info ${PREFIX}/share/examples/goRua/dot.goRua_2ch + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |