acfcce70d2
script, do this at configure time by means of a conventional patch to the configuration script. Move the invocation of the post-configure stage to be a package Makefile target, rather than in a script file.
24 lines
617 B
Makefile
24 lines
617 B
Makefile
# $NetBSD: Makefile,v 1.7 2001/10/25 19:02:47 agc Exp $
|
|
#
|
|
|
|
DISTNAME= sendfile-2.1a
|
|
PKGNAME= sendfile-2.1.0.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.belwue.de/pub/unix/sendfile/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.belwue.de/aktivitaeten/projekte/saft/
|
|
COMMENT= Implementation of the Simple asynchronous file transfer protocol
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
post-patch:
|
|
cd ${WRKSRC} && \
|
|
${SED} -e 's,@PREFIX@,${PREFIX},' < makeconfig > makeconfig.new; \
|
|
${MV} makeconfig.new makeconfig; \
|
|
${CHMOD} +x makeconfig
|
|
|
|
post-configure:
|
|
cd ${WRKSRC} && ${MAKE} config
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|