mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
053fdb6a6b
(Part 2)
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# New ports collection makefile for: dserver
|
|
# Date created: 3 Nov 1996
|
|
# Whom: Mita Yoshio <mita@jp.FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dserver
|
|
PORTVERSION= 2.2.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= japanese
|
|
MASTER_SITES= ftp://ftp.pu-toyama.ac.jp/pub/misc/ \
|
|
${MASTER_SITE_PORTS_JP} \
|
|
ftp://ftp.sra.co.jp/pub/net/ndtp/misc/
|
|
DISTNAME= ${PORTNAME}2.2betapl2
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
${DISTNAME}.addtable${EXTRACT_SUFX} \
|
|
kenjiro-ndtpd.diff \
|
|
kenjiro-dictlist.diff
|
|
EXTRACT_ONLY= ${DISTFILES:Nkenjiro-*}
|
|
|
|
MAINTAINER= mita@jp.FreeBSD.org
|
|
COMMENT= CDROM dictionary server & clients
|
|
|
|
RUN_DEPENDS= jless:${PORTSDIR}/japanese/less
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
USE_GMAKE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 500113
|
|
BROKEN= "Does not compile"
|
|
.endif
|
|
|
|
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} ${PKGREQ} ${PKGNAME} INSTALL
|
|
|
|
.include <bsd.port.post.mk>
|