aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-04-25 12:06:15 +0800
committerknu <knu@FreeBSD.org>2000-04-25 12:06:15 +0800
commite68dbe28800f786a62b158a28e2445a03760bd27 (patch)
tree65e98a85bf39c57afbb4bc5d8658103d38f79ecc /japanese
parent5b8eb2f0575c8b5dd30c52056e8870f3d948b09c (diff)
downloadfreebsd-ports-graphics-e68dbe28800f786a62b158a28e2445a03760bd27.tar.gz
freebsd-ports-graphics-e68dbe28800f786a62b158a28e2445a03760bd27.tar.zst
freebsd-ports-graphics-e68dbe28800f786a62b158a28e2445a03760bd27.zip
- Unbreak the port by making it use cdb-0.55. The breakage was due to
the update of database/cdb to 0.70. PR: ports/18092 Submitted by: MAINTAINER - Fix wrong work directory specifications.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/dbskkd-cdb/Makefile31
-rw-r--r--japanese/dbskkd-cdb/distinfo1
2 files changed, 15 insertions, 17 deletions
diff --git a/japanese/dbskkd-cdb/Makefile b/japanese/dbskkd-cdb/Makefile
index 675fae71394..f7bf151b8af 100644
--- a/japanese/dbskkd-cdb/Makefile
+++ b/japanese/dbskkd-cdb/Makefile
@@ -9,9 +9,13 @@ PORTNAME= dbskkd-cdb
PORTVERSION= 1.01
CATEGORIES= japanese
MASTER_SITES= http://www.k2r.org/kenji/software/
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ ${CDB_DISTNAME}${EXTRACT_SUFX}
MAINTAINER= matusita@jp.Freebsd.ORG
+CDB_DISTNAME= cdb-0.55
+
SKKJISYO_SIZE?= L
SKKJISYO?= SKK-JISYO.${SKKJISYO_SIZE}
DOCS= Release-Notes.English Release-Notes.Japanese LICENSE
@@ -21,12 +25,12 @@ PLIST_SUB= JISYONAME=${SKKJISYO}
post-patch:
.for docs in ${DOCS}
- @${SED} -e "s!%%PREFIX%%!${PREFIX}!g" -e "s!%%JISYONAME%%!${SKKJISYO}!g" < ${WRKSRC}/${docs} > ${WRKSRC}/.tmp
- @${MV} -f ${WRKSRC}/.tmp ${WRKSRC}/${docs}
+ ${SED} -e "s!%%PREFIX%%!${PREFIX}!g" -e "s!%%JISYONAME%%!${SKKJISYO}!g" < ${WRKSRC}/${docs} > ${WRKSRC}/.tmp
+ ${MV} -f ${WRKSRC}/.tmp ${WRKSRC}/${docs}
.endfor
post-install:
- @${MKDIR} ${PREFIX}/share/dbskkd-cdb ${PREFIX}/share/doc/dbskkd-cdb
+ ${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
@@ -37,24 +41,17 @@ post-install:
.if defined(WITH_JISYO) || (exists(${LOCALBASE}/share/skk/${SKKJISYO}) \
&& !defined(WITHOUT_JISYO))
pre-build::
- @${CP} ${LOCALBASE}/share/skk/${SKKJISYO} ${WRKSRC}
+ ${CP} ${LOCALBASE}/share/skk/${SKKJISYO} ${WRKSRC}
.else
-BUILD_DEPENDS+= /nonexistent:${PORTSDIR}/japanese/skk-jisyo:extract
+BUILD_DEPENDS+= /nonexistent:${.CURDIR}/../../japanese/skk-jisyo:extract
pre-build::
- @${CP} ${PORTSDIR}/japanese/skk-jisyo/work/*/jisyo/${SKKJISYO} ${WRKSRC}
+ ${CP} ${WRKDIR}/../../../japanese/skk-jisyo/work/*/jisyo/${SKKJISYO} ${WRKSRC}
.endif
-.if defined(WITH_CDB) || (exists(${LOCALBASE}/lib/libcdb.a) && \
- exists(${LOCALBASE}/bin/cdbmake) && !defined(WITHOUT_CDB))
-pre-build::
- @${CP} ${LOCALBASE}/lib/libcdb.a ${LOCALBASE}/bin/cdbmake ${WRKSRC}
- @(cd ${WRKSRC}; SKKJISYO=${SKKJISYO} ./makeskkcdb.sh)
-.else
-BUILD_DEPENDS+= /nonexistent:${PORTSDIR}/databases/cdb:build
pre-build::
- @${CP} ${PORTSDIR}/databases/cdb/work/*/libcdb.a ${WRKSRC}
- @${CP} ${PORTSDIR}/databases/cdb/work/*/cdbmake ${WRKSRC}
- @(cd ${WRKSRC}; SKKJISYO=${SKKJISYO} ./makeskkcdb.sh)
-.endif
+ (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>
diff --git a/japanese/dbskkd-cdb/distinfo b/japanese/dbskkd-cdb/distinfo
index e62722d9ef9..ddaf23ca4a3 100644
--- a/japanese/dbskkd-cdb/distinfo
+++ b/japanese/dbskkd-cdb/distinfo
@@ -1 +1,2 @@
MD5 (dbskkd-cdb-1.01.tar.gz) = 866bbf49a4c264c0efd6e5e53934bd55
+MD5 (cdb-0.55.tar.gz) = bc6f32de8df81c699d5d76431ce76e79