1998-12-24 07:31:51 +00:00
|
|
|
# New ports collection makefile for: leafnode+
|
1999-04-03 01:01:15 +00:00
|
|
|
# Version required: 2.6
|
1998-12-24 07:31:51 +00:00
|
|
|
# Date created: 19 November 1998
|
|
|
|
# Whom: Tom Hukins <tom@eborcom.com>
|
|
|
|
#
|
1999-04-03 01:01:15 +00:00
|
|
|
# $Id: Makefile,v 1.3 1999/01/10 18:10:09 steve Exp $
|
1998-12-24 07:31:51 +00:00
|
|
|
#
|
|
|
|
|
1999-04-03 01:01:15 +00:00
|
|
|
DISTNAME= leafnode+-2.6
|
1998-12-24 07:31:51 +00:00
|
|
|
CATEGORIES= news
|
1999-04-03 01:01:15 +00:00
|
|
|
MASTER_SITES= ftp://ftp.big.or.jp/pub/usr2/jam/leafnode/
|
1998-12-24 07:31:51 +00:00
|
|
|
|
|
|
|
MAINTAINER= tom@eborcom.com
|
|
|
|
|
1998-12-28 23:19:54 +00:00
|
|
|
MAN8= checkgroups.8 fetchnews.8 leafnode.8 texpire.8
|
1998-12-24 07:31:51 +00:00
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
PLIST= ${PKGDIR}/PLIST.nodocs
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
.for file in FAQ INSTALL README leafnode.8
|
|
|
|
@${MV} ${WRKSRC}/${file} ${WRKSRC}/${file}.bak
|
|
|
|
@${SED} < ${WRKSRC}/${file}.bak > ${WRKSRC}/${file} s+!!PREFIX!!+${PREFIX}+g
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
do-install:
|
1998-12-28 23:19:54 +00:00
|
|
|
.for file in leafnode fetchnews texpire checkgroups leaftool
|
1998-12-24 07:31:51 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/sbin
|
|
|
|
.endfor
|
1999-04-03 01:01:15 +00:00
|
|
|
.for file in ${MAN8}
|
1998-12-24 07:31:51 +00:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/${file} ${PREFIX}/man/man8
|
|
|
|
.endfor
|
|
|
|
.if !defined{NOPORTDOCS}
|
|
|
|
@${ECHO} "===> Copying documents to ${PREFIX}/share/doc/leafnode+"
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/leafnode+
|
|
|
|
.for file in Changes FAQ INSTALL README config.example
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/leafnode+
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
1998-12-28 23:19:54 +00:00
|
|
|
post-install:
|
1999-01-10 18:10:09 +00:00
|
|
|
@test -d /var/spool/news -a -d ${PREFIX}/lib/leafnode || \
|
|
|
|
${CAT} ${FILESDIR}/INSTALL.mesg
|
1998-12-28 23:19:54 +00:00
|
|
|
|
1998-12-24 07:31:51 +00:00
|
|
|
.include <bsd.port.mk>
|