1997-06-02 19:52:11 +00:00
|
|
|
# New ports collection makefile for: diablo
|
|
|
|
# Date created: June 2nd 1997
|
|
|
|
# Whom: jfitz
|
|
|
|
#
|
1999-08-30 14:33:04 +00:00
|
|
|
# $FreeBSD$
|
1997-06-02 19:52:11 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 17:33:32 +00:00
|
|
|
PORTNAME= diablo
|
2000-08-30 12:10:00 +00:00
|
|
|
PORTVERSION= 2.3
|
1997-06-02 19:52:11 +00:00
|
|
|
CATEGORIES= news
|
2000-06-26 12:29:49 +00:00
|
|
|
MASTER_SITES= http://www.openusenet.org/diablo/download/
|
|
|
|
DISTNAME= ${PKGNAME}-REL
|
1997-06-02 19:52:11 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2000-06-26 12:29:49 +00:00
|
|
|
MAINTAINER= des@FreeBSD.org
|
1997-06-02 19:52:11 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= xmake:${PORTSDIR}/devel/xmake
|
|
|
|
|
2000-06-26 12:29:49 +00:00
|
|
|
MAN5= diablo-kp.5 diablo-files.5
|
|
|
|
MAN8= dicmd.8 didump.8 dexpireover.8 dgrpctl.8 dclean.8 \
|
|
|
|
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 19:52:11 +00:00
|
|
|
|
2000-06-26 12:29:49 +00:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/diablo
|
1997-06-02 19:52:11 +00:00
|
|
|
|
2000-06-26 12:29:49 +00:00
|
|
|
post-extract:
|
|
|
|
${CP} ${SCRIPTDIR}/diablo.sh ${WRKDIR}
|
1998-04-18 12:32:31 +00:00
|
|
|
|
1997-06-02 19:52:11 +00:00
|
|
|
do-configure:
|
2000-04-21 07:52:25 +00:00
|
|
|
${SETENV} ${MAKE_ENV} ${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' \
|
2000-06-26 12:29:49 +00:00
|
|
|
${WRKDIR}/diablo.sh ${WRKSRC}/XMakefile.inc
|
1997-06-02 19:52:11 +00:00
|
|
|
|
|
|
|
do-build:
|
2000-06-26 12:29:49 +00:00
|
|
|
cd ${WRKSRC} && xmake all
|
1997-06-02 19:52:11 +00:00
|
|
|
|
|
|
|
pre-install:
|
2000-06-26 12:29:49 +00:00
|
|
|
${INSTALL} -d ${DOCDIR} ${PREFIX}/news ${PREFIX}/news/dbin
|
1997-06-02 19:52:11 +00:00
|
|
|
|
|
|
|
do-install:
|
2000-06-26 12:29:49 +00:00
|
|
|
cd ${WRKSRC} && xmake install
|
1998-04-18 12:32:31 +00:00
|
|
|
.for file in COPYRIGHT INSTALL README.READER README.SERVER RELEASE_NOTES
|
2000-06-26 12:29:49 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCDIR}
|
1997-06-02 19:52:11 +00:00
|
|
|
.endfor
|
2000-06-26 12:29:49 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/diablo.sh ${PREFIX}/etc/rc.d
|
1997-06-02 19:52:11 +00:00
|
|
|
|
|
|
|
post-install:
|
2000-06-26 12:29:49 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
1997-06-02 19:52:11 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|