mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
5b0bf6e947
I don't have the time to give to many of the ports I maintain at the moment. I wasn't expecting to be so busy this summer ... Please set all my ports back to ports@freebsd.org. PR: ports/56935 Submitted by: Dominic Marks <dom@wirespeed.org.uk>,Clement Laforet <sheepkiller@cultdeadsheep.org>,Oliver Eikemeier <eikemeier@fillmore-labs.com>
60 lines
1.5 KiB
Makefile
60 lines
1.5 KiB
Makefile
# New ports collection makefile for: diablo
|
|
# Date created: June 2nd 1997
|
|
# Whom: jfitz
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= diablo
|
|
PORTVERSION= 4.2
|
|
CATEGORIES= news
|
|
MASTER_SITES= http://www.openusenet.org/diablo/download/
|
|
DISTNAME= ${PKGNAME}-REL
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A comprehensive newsfeeding and newsreading software package
|
|
|
|
BUILD_DEPENDS= xmake:${PORTSDIR}/devel/xmake
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
MAN5= diablo-kp.5 diablo-files.5
|
|
MAN8= dicmd.8 didump.8 dexpireover.8 dfeedinfo.8 dgrpctl.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 \
|
|
doverctl.8 drequeue.8
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/diablo
|
|
|
|
post-extract:
|
|
${CP} ${SCRIPTDIR}/diablo.sh-sample ${WRKDIR}
|
|
|
|
do-configure:
|
|
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
|
${WRKDIR}/diablo.sh-sample ${WRKSRC}/XMakefile.inc
|
|
.ifndef WITH_DES
|
|
${REINPLACE_CMD} -e 's| -ldes||g' ${WRKSRC}/XMakefile.inc
|
|
.endif
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && xmake all
|
|
|
|
pre-install:
|
|
${INSTALL} -d ${DOCDIR} ${PREFIX}/news ${PREFIX}/news/dbin
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && xmake install
|
|
.for file in COPYRIGHT INSTALL README.READER README.SERVER RELEASE_NOTES
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCDIR}
|
|
.endfor
|
|
${INSTALL_SCRIPT} ${WRKDIR}/diablo.sh-sample ${PREFIX}/etc/rc.d
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
@${RM} -rf ${PREFIX}/news/man
|
|
|
|
.include <bsd.port.mk>
|