blob: dc34de29d9effe661d52eaae6b8644bdb5587952 (
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
|
# $NetBSD: Makefile,v 1.14 2003/08/30 22:51:28 jlam Exp $
#
DISTNAME= sendfile-20010216
PKGNAME= sendfile-2.1.0.2
PKGREVISION= 1
WRKSRC= ${WRKDIR}/sendfile-2.1a
CATEGORIES= net
MASTER_SITES= ftp://ftp.belwue.de/pub/unix/sendfile/current/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.belwue.de/aktivitaeten/projekte/saft/
COMMENT= Implementation of the Simple asynchronous file transfer protocol
USE_BUILDLINK2= yes
USE_PKGINSTALL= yes
DEINSTALL_EXTRA_TMPL+= ${.CURDIR}/DEINSTALL
PKG_SYSCONFSUBDIR= sendfile
EGDIR= ${PREFIX}/share/examples/sendfile
CONF_FILES= ${EGDIR}/sendfile.cf ${PKG_SYSCONFDIR}/sendfile.cf
CONF_FILES+= ${EGDIR}/sendfile.deny ${PKG_SYSCONFDIR}/sendfile.deny
pre-configure:
cd ${WRKSRC} && \
${SED} -e 's,@PREFIX@,${PREFIX},g' \
-e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' \
< makeconfig > makeconfig.new; \
${MV} makeconfig.new makeconfig; \
${CHMOD} +x makeconfig
post-configure:
cd ${WRKSRC} && ${MAKE} config
.include "../../mk/bsd.pkg.mk"
|