1997-02-22 15:56:46 +01:00
|
|
|
# New ports collection makefile for: dnews
|
1997-05-29 17:22:14 +02:00
|
|
|
# Date created: Thu May 29 17:16:36 CEST 1997
|
1997-02-22 15:56:46 +01:00
|
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
|
|
#
|
1999-08-30 16:33:04 +02:00
|
|
|
# $FreeBSD$
|
1997-02-22 15:56:46 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 19:33:32 +02:00
|
|
|
PORTNAME= dnews
|
2003-07-01 10:44:31 +02:00
|
|
|
PORTVERSION= 5.7b1
|
2002-09-18 20:12:15 +02:00
|
|
|
PORTREVISION= 1
|
1997-02-22 15:56:46 +01:00
|
|
|
CATEGORIES= news
|
2001-05-07 17:08:53 +02:00
|
|
|
MASTER_SITES= ftp://ftp.netwinsite.com/pub/dnews/
|
2003-07-01 10:44:31 +02:00
|
|
|
DISTNAME= dnews_57b1_freebsd4
|
1998-12-23 02:22:44 +01:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1997-02-22 15:56:46 +01:00
|
|
|
|
1999-08-31 08:53:31 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= Commercial nntp server with enhancements over inn and cnews
|
1997-02-22 15:56:46 +01:00
|
|
|
|
2001-05-25 19:09:20 +02:00
|
|
|
WRKSRC= ${WRKDIR}/dtemp
|
1998-01-31 16:52:38 +01:00
|
|
|
RESTRICTED= "only free for non-profit organisations"
|
1998-12-23 02:22:44 +01:00
|
|
|
IS_INTERACTIVE= yes
|
2004-04-10 19:26:55 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
1998-12-23 02:22:44 +01:00
|
|
|
NO_BUILD= yes
|
1997-02-22 15:56:46 +01:00
|
|
|
|
1998-12-23 02:22:44 +01:00
|
|
|
post-configure:
|
2002-06-23 18:42:16 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|df -k|/bin/df -k|" ${WRKSRC}/dnews.conf
|
|
|
|
@${REINPLACE_CMD} -e "s|lib/sendmail|sbin/sendmail|" ${WRKSRC}/dnews.conf
|
1997-02-22 15:56:46 +01:00
|
|
|
|
|
|
|
do-install:
|
1998-01-31 16:52:38 +01:00
|
|
|
@( cd ${WRKSRC}; ./dnews_setup )
|
1998-12-23 02:22:44 +01:00
|
|
|
@${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"
|
1998-01-31 16:52:38 +01:00
|
|
|
@${ECHO_MSG} "*** The main configuration file is:"
|
1998-12-23 02:22:44 +01:00
|
|
|
@${ECHO_MSG} "*** ${PREFIX}/etc/dnews.conf"
|
1997-02-22 15:56:46 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|