1997-02-22 14:56:46 +00:00
|
|
|
# New ports collection makefile for: dnews
|
1998-12-23 01:22:44 +00:00
|
|
|
# Version required: 47k
|
1997-05-29 15:22:14 +00:00
|
|
|
# Date created: Thu May 29 17:16:36 CEST 1997
|
1997-02-22 14:56:46 +00:00
|
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
|
|
#
|
1999-01-13 04:17:38 +00:00
|
|
|
# $Id: Makefile,v 1.11 1998/12/23 01:22:40 steve Exp $
|
1997-02-22 14:56:46 +00:00
|
|
|
#
|
|
|
|
|
1998-12-23 01:22:44 +00:00
|
|
|
DISTNAME= dnews47k_freebsd
|
|
|
|
PKGNAME= dnews-4.7k
|
1997-02-22 14:56:46 +00:00
|
|
|
CATEGORIES= news
|
1997-05-29 15:22:14 +00:00
|
|
|
MASTER_SITES= ftp://ftp.netwinsite.com/pub/netwinsite/dnews/
|
1998-12-23 01:22:44 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1997-02-22 14:56:46 +00:00
|
|
|
|
1998-12-02 16:02:47 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.ORG
|
1997-02-22 14:56:46 +00:00
|
|
|
|
1999-01-13 04:17:38 +00:00
|
|
|
Y2K= http://netwinsite.com/dnews_y2k.htm
|
|
|
|
|
1998-12-23 01:22:44 +00:00
|
|
|
WRKSRC= ${WRKDIR}/dnews
|
1998-01-31 15:52:38 +00:00
|
|
|
NO_CDROM= "no answer yet, if we are allowed to put it onto CDROM"
|
|
|
|
RESTRICTED= "only free for non-profit organisations"
|
|
|
|
NO_PACKAGE= "${RESTRICTED}"
|
1998-12-23 01:22:44 +00:00
|
|
|
IS_INTERACTIVE= yes
|
1997-02-22 14:56:46 +00:00
|
|
|
|
1998-12-23 01:22:44 +00:00
|
|
|
NO_BUILD= yes
|
1997-02-22 14:56:46 +00:00
|
|
|
|
1998-12-23 01:22:44 +00:00
|
|
|
post-configure:
|
|
|
|
@${PERL} -pi -e "s|df -k|/bin/df -k|" ${WRKSRC}/dnews.conf
|
|
|
|
@${PERL} -pi -e "s|lib/sendmail|sbin/sendmail|" ${WRKSRC}/dnews.conf
|
1997-02-22 14:56:46 +00:00
|
|
|
|
|
|
|
do-install:
|
1998-01-31 15:52:38 +00:00
|
|
|
@( cd ${WRKSRC}; ./dnews_setup )
|
1998-12-23 01:22:44 +00: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 15:52:38 +00:00
|
|
|
@${ECHO_MSG} "*** The main configuration file is:"
|
1998-12-23 01:22:44 +00:00
|
|
|
@${ECHO_MSG} "*** ${PREFIX}/etc/dnews.conf"
|
1997-02-22 14:56:46 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|