blob: aac09e484a8c9c3c786b8ceeafb9b9f251b339b2 (
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
|
# $NetBSD: Makefile,v 1.3 1998/10/17 18:09:32 bad 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 --with-sendmail=/usr/sbin/sendmail
CONFIGURE_ENV+= _PATH_PERL=${LOCALBASE}/bin/perl
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"
|