aboutsummaryrefslogtreecommitdiff
path: root/news/dnews/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/dnews/Makefile')
-rw-r--r--news/dnews/Makefile35
1 files changed, 21 insertions, 14 deletions
diff --git a/news/dnews/Makefile b/news/dnews/Makefile
index 3c957aa4f7e6..37bb30c0e51c 100644
--- a/news/dnews/Makefile
+++ b/news/dnews/Makefile
@@ -1,36 +1,43 @@
# New ports collection makefile for: dnews
-# Version required: 42j
+# Version required: 47k
# Date created: Thu May 29 17:16:36 CEST 1997
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.9 1998/12/01 09:38:30 obrien Exp $
+# $Id: Makefile,v 1.10 1998/12/02 16:02:47 andreas Exp $
#
-DISTNAME= dnews
-PKGNAME= dnews-4.6n
+DISTNAME= dnews47k_freebsd
+PKGNAME= dnews-4.7k
CATEGORIES= news
MASTER_SITES= ftp://ftp.netwinsite.com/pub/netwinsite/dnews/
-DISTFILES= dnews46n_freebsd.tar.Z
+EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.ORG
-BROKEN='fetch, distfile not avail. (version 4.7k is the latest)'
-
+WRKSRC= ${WRKDIR}/dnews
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
-# nothing to make, binary only
-NO_BUILD= yes
+NO_BUILD= yes
-# new: the dnews_setup script is the standard install program
-# it asks you questions and makes life easier for you and me
+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
do-install:
@( cd ${WRKSRC}; ./dnews_setup )
- @${ECHO_MSG} "*** DNEWS is NOT free, please read the LICENSE file !!!"
- @${ECHO_MSG} "*** ${PREFIX}/share/doc/dnews/license.txt"
+ @${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} "*** /etc/dnews.conf"
+ @${ECHO_MSG} "*** ${PREFIX}/etc/dnews.conf"
.include <bsd.port.mk>