1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/news/dnews/Makefile
Ying-Chieh Liao b152e773ac ${PERL} -> ${REINPLACE_CMD}
PR:		39702, 39704
Submitted by:	Scott Flatman <sf@dsinw.com>
2002-06-23 16:42:16 +00:00

45 lines
1.3 KiB
Makefile

# New ports collection makefile for: dnews
# Date created: Thu May 29 17:16:36 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
# $FreeBSD$
#
PORTNAME= dnews
PORTVERSION= 5.5h2
CATEGORIES= news
MASTER_SITES= ftp://ftp.netwinsite.com/pub/dnews/
DISTNAME= dnews55h2_freebsd4
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
WRKSRC= ${WRKDIR}/dtemp
NO_CDROM= "no answer yet, if we are allowed to put it onto CDROM"
RESTRICTED= "only free for non-profit organisations"
NO_PACKAGE= "${RESTRICTED}"
IS_INTERACTIVE= yes
USE_REINPLACE= yes
NO_BUILD= yes
post-configure:
@${REINPLACE_CMD} -e "s|df -k|/bin/df -k|" ${WRKSRC}/dnews.conf
@${REINPLACE_CMD} -e "s|lib/sendmail|sbin/sendmail|" ${WRKSRC}/dnews.conf
do-install:
@( cd ${WRKSRC}; ./dnews_setup )
@${ECHO_MSG} "Installing dnews startup script as ${PREFIX}/etc/rc.d/dnews.sh"
@${INSTALL_SCRIPT} ${FILESDIR}/dnews.sh ${PREFIX}/etc/rc.d/dnews.sh
@${INSTALL_DATA} ${FILESDIR}/faq.html ${PREFIX}/dnews/faq.html
post-install:
@${MV} /etc/dnews.conf ${PREFIX}/etc/dnews.conf
@${LN} -s ${PREFIX}/etc/dnews.conf /etc/dnews.conf
@${ECHO_MSG} "*** DNEWS is NOT free, please read the LICENSE file:"
@${ECHO_MSG} "*** ${PREFIX}/dnews/license.txt"
@${ECHO_MSG} "*** The main configuration file is:"
@${ECHO_MSG} "*** ${PREFIX}/etc/dnews.conf"
.include <bsd.port.mk>