blob: a72ffc0f17fb689ad6e68ec110cf66455a7fcd91 (
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
|
# $NetBSD: Makefile,v 1.2 1998/09/17 15:39:53 agc 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
INSTALL_FILE= ${WRKDIR}/.INSTALL
post-patch:
${SED} -e 's@XXXINN_SPOOLXXX@${INN_SPOOL}@g' \
-e 's@XXXPREFIXXXX@${PREFIX}@g' \
${PKGDIR}/install > ${INSTALL_FILE}
post-install:
${MKDIR} ${PREFIX}/share/examples/inn
${CP} -R ${WRKSRC}/samples/* ${PREFIX}/share/examples/inn
.include "../../mk/bsd.pkg.mk"
|