aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/srd-fpw/Makefile
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>2000-08-25 08:54:39 +0800
committertaoka <taoka@FreeBSD.org>2000-08-25 08:54:39 +0800
commit78c8f779d0bb7e05b4b3948c5407e49a742220fe (patch)
tree75adc1771d4964463a1b1c5e830616fe9011fedf /japanese/srd-fpw/Makefile
parentd05a54f20fc4800dc0544de4b6ee2ca30c491503 (diff)
downloadfreebsd-ports-gnome-78c8f779d0bb7e05b4b3948c5407e49a742220fe.tar.gz
freebsd-ports-gnome-78c8f779d0bb7e05b4b3948c5407e49a742220fe.tar.zst
freebsd-ports-gnome-78c8f779d0bb7e05b4b3948c5407e49a742220fe.zip
Update to version 1.1
Diffstat (limited to 'japanese/srd-fpw/Makefile')
-rw-r--r--japanese/srd-fpw/Makefile22
1 files changed, 16 insertions, 6 deletions
diff --git a/japanese/srd-fpw/Makefile b/japanese/srd-fpw/Makefile
index 300460967ba2..69bd9c633f3a 100644
--- a/japanese/srd-fpw/Makefile
+++ b/japanese/srd-fpw/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= srd-fpw
-PORTVERSION= 1.0.8
+PORTVERSION= 1.1
CATEGORIES= japanese
MASTER_SITES= http://openlab.ring.gr.jp/edict/srd-fpw/
DISTNAME= srd-fpw${PORTVERSION}-src
@@ -20,21 +20,30 @@ BUILD_DEPENDS= fpwmake:${PORTSDIR}/japanese/freepwing \
IS_INTERACTIVE= YES
RESTRICTED= "The original dictionary is not free"
WRKSRC= ${WRKDIR}/srd-fpw${PORTVERSION}
-MOUNT_PT?= /cdrom
+DICT_PATH?= /cdrom
post-extract:
- @if [ ! -f ${MOUNT_PT}/srd.ini ]; then \
+ @if [ ! -f ${DICT_PATH}/SRD.INI ]; then \
${ECHO} "###################################################"; \
${ECHO} "Specify a mount point for Random House's CD-ROM"; \
${ECHO} "and excecute the following command again:"; \
- ${ECHO} " make MOUNT_PT=${MOUNT_PT}"; \
+ ${ECHO} " make DICT_PATH=${DICT_PATH}"; \
${ECHO} "###################################################"; \
${FALSE}; \
fi
+ ${MKDIR} ${WRKSRC}/source/DATA
+ ${CP} ${DICT_PATH}/Readme.txt ${WRKSRC}/source
+ ${CP} ${DICT_PATH}/DATA/main.txt ${WRKSRC}/source/DATA/
+ ${CP} ${DICT_PATH}/DATA/en.dat ${WRKSRC}/source/DATA/
+ ${CP} ${DICT_PATH}/DATA/tr.dat ${WRKSRC}/source/DATA/
+ ${CP} ${DICT_PATH}/DATA/img.dat ${WRKSRC}/source/DATA/
do-build:
-# cd ${WRKSRC}; fpwmake SRCDIR=${MOUNT_PT} > /dev/null; \
- cd ${WRKSRC}; fpwmake SRCDIR=${MOUNT_PT}; \
+# cd ${WRKSRC}; fpwmake SRCDIR=${DICT_PATH} > /dev/null; \
+# cd ${WRKSRC}; fpwmake SRCDIR=${DICT_PATH}; \
+ cd ${WRKSRC}; \
+ fpwmake png; \
+ fpwmake ; \
fpwmake catalogs
do-install:
@@ -47,6 +56,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/gai16h \
${PREFIX}/share/dict/srd-fpw/srd-fpw/gaiji
${INSTALL_DATA} ${WRKSRC}/catalogs ${PREFIX}/share/dict/srd-fpw
+ ${INSTALL_DATA} ${WRKSRC}/img.dat ${PREFIX}/share/dict/srd-fpw
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/srd-fpw
.for file in README.TXT README.PKG AUTHORS COPYING ChangeLog GAIJI.TXT TOBEDONE NEWS