pkgsrc/pkgtools/binpatch/Makefile
tv 049d18c583 Don't "cp -p" for *source* files. Builds are usually done as an unprivileged
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.)
2005-01-06 05:32:29 +00:00

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"