blob: 0343f271bc2e6be3c6cee64f5e5a20e775f6a4ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# ports collection Makefile for: leafnode
# Whom: Brian Somers <brian@FreeBSD.org>
# Date created: 1997-06-27
#
# $FreeBSD$
#
PORTNAME= leafnode
PORTVERSION= 1.9.37
CATEGORIES= news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:sourceforge/} \
http://www.dt.e-technik.uni-dortmund.de/~ma/${PORTNAME}/ \
ftp://wpxx02.toxi.uni-wuerzburg.de/pub/ \
${MASTER_SITE_SUNSITE:S/$/:sunsite/}
MASTER_SITE_SUBDIR= ${PORTNAME}/:sourceforge \
./:DEFAULT \
system/news/transport/:sunsite
DISTNAME= ${PORTNAME}-${PORTVERSION}.rel
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:sourceforge,sunsite,DEFAULT
MAINTAINER= matthias.andree@web.de
COMMENT= NNTP package for offline news caching and reading
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
.if exists(/var/spool/news) && !defined(PACKAGE_BUILDING)
LEAFNODE_SPOOLDIR?=/var/spool/news
.endif
LEAFNODE_SPOOLDIR?=${PREFIX}/var/spool/leafnode
PLIST_SUB= SPOOLDIR=${LEAFNODE_SPOOLDIR}
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --quiet --prefix=${PREFIX} --sysconfdir=${PREFIX}/etc/leafnode \
--with-lockfile=${LEAFNODE_SPOOLDIR}/leaf.node/lock.file \
--with-spooldir=${LEAFNODE_SPOOLDIR} --with-ipv6
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS=
MAN1= leafnode-version.1 newsq.1
MAN8= applyfilter.8 checkgroups.8 fetchnews.8 leafnode.8 texpire.8
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/quickmkdir ${PREFIX}/sbin/
${INSTALL_SCRIPT} ${WRKSRC}/setup-daemontools.sh ${PREFIX}/sbin/
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
for i in ChangeLog COPYING CREDITS FAQ.txt FAQ.pdf FAQ.html \
INSTALL NEWS README \
README-FQDN README-FQDN.html README-daemontools \
README.FIRST TODO leafnode.cron.daily ; do \
${INSTALL_MAN} ${WRKSRC}/$$i \
${PREFIX}/share/doc/${PORTNAME} ; done
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/doc_german
for i in INSTALL_de LIESMICH-daemontools README \
README_de newsq.1 ${MAN8} ; do \
${INSTALL_MAN} ${WRKSRC}/doc_german/$$i \
${PREFIX}/share/doc/${PORTNAME}/doc_german ; done
.endif
${CAT} pkg-message
PKG_PREFIX=${PREFIX} SPOOLDIR=${LEAFNODE_SPOOLDIR} \
${SH} pkg-install ${PORTNAME} POST-INSTALL
.include <bsd.port.mk>
|