1997-06-02 15:52:11 -04:00
|
|
|
# New ports collection makefile for: diablo
|
|
|
|
# Date created: June 2nd 1997
|
|
|
|
# Whom: jfitz
|
|
|
|
#
|
1999-08-30 10:33:04 -04:00
|
|
|
# $FreeBSD$
|
1997-06-02 15:52:11 -04:00
|
|
|
#
|
|
|
|
|
2000-04-09 13:33:32 -04:00
|
|
|
PORTNAME= diablo
|
2001-03-22 03:40:18 -05:00
|
|
|
PORTVERSION= 3.0
|
1997-06-02 15:52:11 -04:00
|
|
|
CATEGORIES= news
|
2000-06-26 08:29:49 -04:00
|
|
|
MASTER_SITES= http://www.openusenet.org/diablo/download/
|
|
|
|
DISTNAME= ${PKGNAME}-REL
|
1997-06-02 15:52:11 -04:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2000-06-26 08:29:49 -04:00
|
|
|
MAINTAINER= des@FreeBSD.org
|
1997-06-02 15:52:11 -04:00
|
|
|
|
|
|
|
BUILD_DEPENDS= xmake:${PORTSDIR}/devel/xmake
|
|
|
|
|
2000-06-26 08:29:49 -04:00
|
|
|
MAN5= diablo-kp.5 diablo-files.5
|
2001-03-22 03:40:18 -05:00
|
|
|
MAN8= dicmd.8 didump.8 dexpireover.8 dfeedinfo.8 dgrpctl.8 \
|
2000-06-26 08:29:49 -04:00
|
|
|
dilookup.8 diloadfromspool.8 doutq.8 dreadart.8 \
|
|
|
|
dreaderd.8 dpath.8 drcmd.8 dsyncgroups.8 dreadover.8 \
|
|
|
|
dkp.8 diablo.8 dexpire.8 dspoolout.8 dnewslink.8
|
1997-06-02 15:52:11 -04:00
|
|
|
|
2000-06-26 08:29:49 -04:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/diablo
|
1997-06-02 15:52:11 -04:00
|
|
|
|
2000-06-26 08:29:49 -04:00
|
|
|
post-extract:
|
|
|
|
${CP} ${SCRIPTDIR}/diablo.sh ${WRKDIR}
|
1998-04-18 08:32:31 -04:00
|
|
|
|
1997-06-02 15:52:11 -04:00
|
|
|
do-configure:
|
2001-03-22 03:40:18 -05:00
|
|
|
${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \
|
2000-06-26 08:29:49 -04:00
|
|
|
${WRKDIR}/diablo.sh ${WRKSRC}/XMakefile.inc
|
2001-03-22 03:40:18 -05:00
|
|
|
.ifndef WITH_DES
|
|
|
|
${PERL} -pi -e 's| -ldes||g' ${WRKSRC}/XMakefile.inc
|
|
|
|
.endif
|
1997-06-02 15:52:11 -04:00
|
|
|
|
|
|
|
do-build:
|
2000-06-26 08:29:49 -04:00
|
|
|
cd ${WRKSRC} && xmake all
|
1997-06-02 15:52:11 -04:00
|
|
|
|
|
|
|
pre-install:
|
2000-06-26 08:29:49 -04:00
|
|
|
${INSTALL} -d ${DOCDIR} ${PREFIX}/news ${PREFIX}/news/dbin
|
1997-06-02 15:52:11 -04:00
|
|
|
|
|
|
|
do-install:
|
2000-06-26 08:29:49 -04:00
|
|
|
cd ${WRKSRC} && xmake install
|
1998-04-18 08:32:31 -04:00
|
|
|
.for file in COPYRIGHT INSTALL README.READER README.SERVER RELEASE_NOTES
|
2000-06-26 08:29:49 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCDIR}
|
1997-06-02 15:52:11 -04:00
|
|
|
.endfor
|
2000-06-26 08:29:49 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/diablo.sh ${PREFIX}/etc/rc.d
|
1997-06-02 15:52:11 -04:00
|
|
|
|
|
|
|
post-install:
|
2000-06-26 08:29:49 -04:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
2001-03-22 03:40:18 -05:00
|
|
|
@${RM} -rf ${PREFIX}/news/man
|
1997-06-02 15:52:11 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|