summaryrefslogtreecommitdiff
path: root/news/inn/Makefile
blob: e9b18fe539602e24141dd037fce47389ef717c28 (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
# $NetBSD: Makefile,v 1.1 1998/09/05 03:21:11 garbled Exp $

DISTNAME=		inn-2.1
CATEGORIES=		news
MASTER_SITES=		ftp://wuarchive.wustl.edu/packages/news/transport/inn/

MAINTAINER=		root@garbled.net
HOMEPAGE=		http://www.isc.org/inn.html

BUILD_DEPENDS+=		bison:../../devel/bison

CONFLICTS+=		nntpclnt-*

INN_SPOOL?=		/var/spool/news

USE_PERL5=		yes
USE_LIBTOOL=		yes
CONFIGURE_ARGS+=	--with-perl --with-spool-dir=${INN_SPOOL}
CONFIGURE_ARGS+=	--with-tmp-path=/tmp
GNU_CONFIGURE=		yes

post-patch:
	${SED} -e 's@XXXINN_SPOOLXXX@${INN_SPOOL}@g' \
	-e 's@XXXPREFIXXXX@${PREFIX}@g' <${PKGDIR}/install >${PKGDIR}/INSTALL

post-install:
	${MKDIR} ${PREFIX}/share/examples/inn
	${CP} -R ${WRKSRC}/samples/* ${PREFIX}/share/examples/inn

.include "../../mk/bsd.pkg.mk"