aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-12-06 20:26:25 +0800
committerknu <knu@FreeBSD.org>2000-12-06 20:26:25 +0800
commitf001620695715691201a5721acb53ffacc94f3ba (patch)
tree0e7aec0281e78ad863e5c522ae82f7c01c7f4f37
parent69a22596187c4b19b7a0c3c04c9dbbfa900374b9 (diff)
downloadfreebsd-ports-gnome-f001620695715691201a5721acb53ffacc94f3ba.tar.gz
freebsd-ports-gnome-f001620695715691201a5721acb53ffacc94f3ba.tar.zst
freebsd-ports-gnome-f001620695715691201a5721acb53ffacc94f3ba.zip
Use the plain tarball distribution instead of using the FreeBSD
package distribution that the vendor provides. Now the vendor will be able to create a package from this port. :)
-rw-r--r--japanese/wxg/Makefile26
-rw-r--r--japanese/wxg/distinfo2
2 files changed, 16 insertions, 12 deletions
diff --git a/japanese/wxg/Makefile b/japanese/wxg/Makefile
index 1a217922c3de..71859eb913aa 100644
--- a/japanese/wxg/Makefile
+++ b/japanese/wxg/Makefile
@@ -9,8 +9,7 @@ PORTNAME= wxg
PORTVERSION= 1.0.b1
CATEGORIES= japanese
MASTER_SITES= http://web.infoweb.ne.jp/aisoft/ekotoba/
-DISTNAME= ja-${PORTNAME}-${PORTVERSION:S/.b/b-/}
-EXTRACT_SUFX= .tgz
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/b-/}
DIST_SUBDIR= wxg
MAINTAINER= knu@FreeBSD.org
@@ -23,8 +22,6 @@ RESTRICTED= "You must not copy or redistribute the distfile or the package."
NO_CDROM= ${RESTRICTED}
NO_PACKAGE= ${RESTRICTED}
-NO_WRKSUBDIR= YES
-
BINS= wxgdic wxgdmp wxgdset
SBINS= wxgserver
@@ -38,22 +35,29 @@ do-fetch:
# should not reach here
post-extract:
- ${MV} ${WRKSRC}/lib/wxg/doc ${WRKSRC}
- ${RM} -rf ${WRKSRC}/lib/wxg/sample
+ cd ${WRKSRC} && \
+ for t in wxg.freebsd.tar.gz wxgdics.tar.gz wxghtml.tar.gz; \
+ do ${TAR} zxf $${t}; done
do-build:
${SED} 's,!!PREFIX!!,${PREFIX},g' ${FILESDIR}/wxg.sh > ${WRKSRC}/wxg.sh
+ ${WRKSRC}/wxg/wxgdset ${WRKSRC}/dic/wxg.gds -U=2 -L=0 wxgu.gdj wxg.gdj wxgtx.gdj seimei.gdj chimei.gdj yubin.gdj kao.gdj english.gdj
+ ${WRKSRC}/wxg/wxgdset ${WRKSRC}/dic/wxgsei.gds -U=2 -L=0 wxgu.gdj wxg.gdj seimei.gdj chimei.gdj yubin.gdj tel.gdj
+ ${WRKSRC}/wxg/wxgdset ${WRKSRC}/dic/wxgseiu.gds -C=${PREFIX}/wxg/dic/ -U=2 -L=0 wxgu.gdj wxg.gdj -p3 seimei.gdj -p3 chimei.gdj -p3 yubin.gdj -p3 tel.gdj -p3
+ ${WRKSRC}/wxg/wxgdset ${WRKSRC}/dic/wxgu.gds -C=${PREFIX}/lib/wxg/dic/ -U=2 -L=0 wxgu.gdj wxg.gdj -p3 wxgtx.gdj -p3 seimei.gdj -p3 chimei.gdj -p3 yubin.gdj -p3 kao.gdj -p3 english.gdj -p3
do-install:
- cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} ${BINS} ${PREFIX}/bin/
- cd ${WRKSRC}/sbin && ${INSTALL_PROGRAM} ${SBINS} ${PREFIX}/sbin/
- ${MKDIR} ${PREFIX}/lib/wxg
+ cd ${WRKSRC}/wxg && ${INSTALL_PROGRAM} ${BINS} ${PREFIX}/bin/
+ cd ${WRKSRC}/wxg && ${INSTALL_PROGRAM} ${SBINS} ${PREFIX}/sbin/
+ ${MKDIR} ${PREFIX}/lib/wxg/dic ${PREFIX}/lib/wxg/roma
+ ${INSTALL_DATA} ${WRKSRC}/wxg/wxgrc ${WRKSRC}/dic/wxg.gct ${PREFIX}/lib/wxg
+ ${INSTALL_DATA} ${WRKSRC}/dic/*.txt ${WRKSRC}/dic/*.gd? ${PREFIX}/lib/wxg/dic
+ ${INSTALL_DATA} ${WRKSRC}/dic/*.grt ${PREFIX}/lib/wxg/roma
${INSTALL_SCRIPT} ${WRKSRC}/wxg.sh ${PREFIX}/etc/rc.d/wxg.sh.sample
- ${CP} -R ${WRKSRC}/lib/wxg/* ${PREFIX}/lib/wxg/
[ X${PREFIX} = X"/usr/local" ] || ${LN} -s ${PREFIX}/lib/wxg /usr/local/lib/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/wxg
- ${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/wxg/
+ ${CP} -R ${WRKSRC}/README ${WRKSRC}/html ${PREFIX}/share/doc/wxg/
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/japanese/wxg/distinfo b/japanese/wxg/distinfo
index 67281d6b03b2..448891986513 100644
--- a/japanese/wxg/distinfo
+++ b/japanese/wxg/distinfo
@@ -1 +1 @@
-MD5 (wxg/ja-wxg-1.0b-1.tgz) = 70acdd6f89cfa02645dbaa6d7a17b53f
+MD5 (wxg/wxg-1.0b-1.tar.gz) = 2029d1ddcf55f4b38f0c973540273988