freebsd-ports/japanese/dserver/Makefile
Satoshi Asami be10e3a77d Separate emacs lisp files to another port (diclookup-mule). Applied
several patches.  Update documents and setup/install scripts.

PR:		7470
Submitted by:	maintainer
1998-08-03 00:12:16 +00:00

39 lines
1.3 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: Makefile,v 1.6 1997/09/14 21:34:32 max Exp $
#
DISTNAME= dserver2.2betapl2
PKGNAME= ja-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/ \
ftp://ftp.sra.co.jp/pub/net/ndtp/misc/
DISTFILES= dserver2.2betapl2.tar.gz dserver2.2betapl2.addtable.tar.gz \
kenjiro-ndtpd.diff kenjiro-dictlist.diff
MAINTAINER= mita@jp.FreeBSD.org
RUN_DEPENDS= jless:${PORTSDIR}/japanese/less
EXTRACT_ONLY= dserver2.2betapl2.tar.gz dserver2.2betapl2.addtable.tar.gz
WRKSRC= ${WRKDIR}/dserver
USE_GMAKE= yes
pre-patch:
${PATCH} -d ${WRKSRC}/clients -E < ${DISTDIR}/kenjiro-ndtpd.diff
${PATCH} -d ${WRKSRC}/clients -E < ${DISTDIR}/kenjiro-dictlist.diff
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.euc ${PREFIX}/lib/dserver/doc/
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
.include <bsd.port.mk>