1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/japanese/dbskkd-cdb/Makefile
Makoto Matsushita 18d40dffde 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.
2002-09-18 15:34:21 +00:00

45 lines
1.2 KiB
Makefile

# New ports collection makefile for: dbskkd-cdb
# Date created: 17 Jun 1999
# Whom: Makoto Matsushita <matusita@jp.FreeBSD.ORG>
#
# $FreeBSD$
#
PORTNAME= dbskkd-cdb
PORTVERSION= 1.01
PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://www.ne.jp/asahi/bdx/info/software/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${CDB_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
SKKDIR?= share/skk
SKKJISYO_TYPE?= L
DOCS= Release-Notes.English Release-Notes.Japanese LICENSE
MAKE_ENV+= SKKDIR=${SKKDIR} SKKJISYO=SKK-JISYO.${SKKJISYO_TYPE}
post-patch:
.for docs in ${DOCS}
${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:
.for docs in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${docs} ${PREFIX}/share/doc/dbskkd-cdb
.endfor
pre-build::
(cd ${WRKDIR}/${CDB_DISTNAME}; make it)
${CP} ${WRKDIR}/${CDB_DISTNAME}/libcdb.a ${WRKSRC}
${CP} ${WRKDIR}/${CDB_DISTNAME}/cdbmake ${WRKSRC}
.include <bsd.port.mk>