mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
520b21cc72
A CD-ROM dictionary lookup facility (server and clients). Submitted by: Yoshio MITA <mita@jp.freebsd.org> (Closing PR #2311.)
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# New ports collection makefile for: dserver
|
|
# Version required: 2.2betapl2
|
|
# Date created: 3 Nov 1996
|
|
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
DISTNAME= dserver2.2betapl2
|
|
PKGNAME= jp-dserver-2.2.2
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= ftp://ftp.pu-toyama.ac.jp/pub/misc/ \
|
|
ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/ports-jp/LOCAL_PORTS/
|
|
DISTFILES= dserver2.2betapl2.tar.gz dserver2.2betapl2.addtable.tar.gz \
|
|
diclookup-mule-2.3.0.add.tar.gz
|
|
EXTRACT_ONLY= dserver2.2betapl2.tar.gz dserver2.2betapl2.addtable.tar.gz
|
|
|
|
MAINTAINER= mita@jp.FreeBSD.org
|
|
|
|
RUN_DEPENDS= jless:${PORTSDIR}/japanese/less \
|
|
${X11BASE}/lib/X11/fonts/non-cjk/fonts.dir:${PORTSDIR}/x11/etlfonts
|
|
BUILD_DEPENDS= mule:${PORTSDIR}/japanese/mule-wnn
|
|
|
|
WRKSRC= ${WRKDIR}/dserver
|
|
USE_GMAKE= yes
|
|
|
|
post-extract:
|
|
@( \
|
|
cd ${WRKSRC}/clients ; \
|
|
tar xzf diclookup-mule.tar.gz ; \
|
|
tar xzf ${DISTDIR}/diclookup-mule-2.3.0.add.tar.gz \
|
|
)
|
|
|
|
pre-patch:
|
|
@( \
|
|
cd ${WRKSRC}/clients/diclookup-mule-2.3.0 ; \
|
|
${PATCH} --quiet < od-ccl.oxford.patch \
|
|
)
|
|
|
|
post-install:
|
|
@${SED} s!PREFIX_DIR!${PREFIX}!g ${WRKSRC}/setup.sh.template \
|
|
> ${PREFIX}/lib/dserver/setup.sh
|
|
@${SED} s!PREFIX_DIR!${PREFIX}!g ${WRKSRC}/deinstall.sh.template \
|
|
> ${PREFIX}/lib/dserver/deinstall.sh
|
|
@${INSTALL_DATA} ${FILESDIR}/README.FreeBSD-setup ${PREFIX}/lib/dserver/doc/
|
|
@${SETENV} PKG_PREFIX=${PREFIX} /bin/sh ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
|
|
|
.include <bsd.port.mk>
|