diff options
author | matusita <matusita@FreeBSD.org> | 2002-09-18 23:34:21 +0800 |
---|---|---|
committer | matusita <matusita@FreeBSD.org> | 2002-09-18 23:34:21 +0800 |
commit | 13ed11369178364dabee18a7214f842a3da2edc5 (patch) | |
tree | dba61313e141e58d84986fc3d1c929958dc65f56 /japanese/dbskkd-cdb/Makefile | |
parent | 79cf641ba1c20825cdac45b9d6135f7a9933d518 (diff) | |
download | freebsd-ports-gnome-13ed11369178364dabee18a7214f842a3da2edc5.tar.gz freebsd-ports-gnome-13ed11369178364dabee18a7214f842a3da2edc5.tar.zst freebsd-ports-gnome-13ed11369178364dabee18a7214f842a3da2edc5.zip |
Use ports/japanese/skk-jisyo-cdb.
There is no functional changes for server itself. However, the dictionaly
location is changed, so bump PORTREVISION to notify the change to the users.
patch-ab is no longer needed, since this ports doesn't build CDB format
dictionary anymore.
Diffstat (limited to 'japanese/dbskkd-cdb/Makefile')
-rw-r--r-- | japanese/dbskkd-cdb/Makefile | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/japanese/dbskkd-cdb/Makefile b/japanese/dbskkd-cdb/Makefile index d9a2ae15c9a0..7c020150e3df 100644 --- a/japanese/dbskkd-cdb/Makefile +++ b/japanese/dbskkd-cdb/Makefile @@ -7,6 +7,7 @@ PORTNAME= dbskkd-cdb PORTVERSION= 1.01 +PORTREVISION= 1 CATEGORIES= japanese MASTER_SITES= http://www.ne.jp/asahi/bdx/info/software/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ @@ -14,44 +15,30 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ MAINTAINER= matusita@FreeBSD.org +RUN_DEPENDS= ${LOCALBASE}/${SKKDIR}/SKK-JISYO.${SKKJISYO_TYPE}.cdb:${PORTSDIR}/japanese/skk-jisyo-cdb + CDB_DISTNAME= cdb-0.55 -SKKJISYO_SIZE?= L -SKKJISYO?= SKK-JISYO.${SKKJISYO_SIZE} +SKKDIR?= share/skk +SKKJISYO_TYPE?= L DOCS= Release-Notes.English Release-Notes.Japanese LICENSE -MAKE_ENV+= SKKJISYO=${SKKJISYO} -PLIST_SUB= JISYONAME=${SKKJISYO} +MAKE_ENV+= SKKDIR=${SKKDIR} SKKJISYO=SKK-JISYO.${SKKJISYO_TYPE} post-patch: .for docs in ${DOCS} - ${SED} -e "s!%%PREFIX%%!${PREFIX}!g" -e "s!%%JISYONAME%%!${SKKJISYO}!g" < ${WRKSRC}/${docs} > ${WRKSRC}/.tmp + ${SED} -e "s!%%PREFIX%%!${PREFIX}!g" -e "s!%%SKKDIR%%!${SKKDIR}!g" -e "s!%%JISYONAME%%!SKK-JISYO.${SKKJISYO_TYPE}!g" < ${WRKSRC}/${docs} > ${WRKSRC}/.tmp ${MV} -f ${WRKSRC}/.tmp ${WRKSRC}/${docs} .endfor post-install: - ${MKDIR} ${PREFIX}/share/dbskkd-cdb ${PREFIX}/share/doc/dbskkd-cdb - ${INSTALL_DATA} ${WRKSRC}/${SKKJISYO}.cdb ${PREFIX}/share/dbskkd-cdb .for docs in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${docs} ${PREFIX}/share/doc/dbskkd-cdb .endfor -.include <bsd.port.pre.mk> - -.if defined(WITH_JISYO) || (exists(${LOCALBASE}/share/skk/${SKKJISYO}) \ - && !defined(WITHOUT_JISYO)) -pre-build:: - ${CP} ${LOCALBASE}/share/skk/${SKKJISYO} ${WRKSRC} -.else -BUILD_DEPENDS+= ${NONEXISTENT}:${.CURDIR}/../../japanese/skk-jisyo:extract -pre-build:: - ${CP} ${WRKDIR}/../../../japanese/skk-jisyo/work/*/jisyo/${SKKJISYO} ${WRKSRC} -.endif - pre-build:: (cd ${WRKDIR}/${CDB_DISTNAME}; make it) ${CP} ${WRKDIR}/${CDB_DISTNAME}/libcdb.a ${WRKSRC} ${CP} ${WRKDIR}/${CDB_DISTNAME}/cdbmake ${WRKSRC} - (cd ${WRKSRC}; SKKJISYO=${SKKJISYO} ./makeskkcdb.sh) -.include <bsd.port.post.mk> +.include <bsd.port.mk> |