049d18c583
user, so it's not nice to try to use an option that will try to chown if the repository isn't owned by the builder. (Some OS's do in fact cause an error when the chown in "cp -p" fails.)
31 lines
683 B
Makefile
31 lines
683 B
Makefile
# $NetBSD: Makefile,v 1.2 2005/01/06 05:32:29 tv Exp $
|
|
#
|
|
|
|
DISTNAME= binpatch-1.0
|
|
CATEGORIES= pkgtools
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= atatat@NetBSD.org
|
|
HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/Packages.txt
|
|
COMMENT= Trivial binary patch applicator
|
|
|
|
USE_BUILDLINK3= yes
|
|
|
|
NO_CHECKSUM= # defined
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
do-extract:
|
|
@${CP} -R ${FILESDIR} ${WRKSRC}
|
|
|
|
do-build:
|
|
@(cd ${WRKSRC}; \
|
|
${ECHO} "${CC} -o binpatch binpatch.c"; \
|
|
${CC} -o binpatch binpatch.c )
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/binpatch ${PREFIX}/bin/binpatch
|
|
${INSTALL_MAN} ${WRKSRC}/binpatch.1 ${PREFIX}/man/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|