28 lines
720 B
Makefile
28 lines
720 B
Makefile
# $NetBSD: Makefile,v 1.15 2014/03/03 03:36:51 obache Exp $
|
|
#
|
|
|
|
PKGNAME= binpatch-1.0
|
|
CATEGORIES= pkgtools
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html
|
|
COMMENT= Trivial binary patch applicator
|
|
LICENSE= beer-ware
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-extract:
|
|
@${CP} -R ${FILESDIR} ${WRKSRC}
|
|
|
|
do-build:
|
|
@(cd ${WRKSRC}; \
|
|
${ECHO} "${CC} ${CFLAGS} -o binpatch binpatch.c"; \
|
|
${CC} ${CFLAGS} -o binpatch binpatch.c )
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/binpatch ${DESTDIR}${PREFIX}/bin/binpatch
|
|
${INSTALL_MAN} ${WRKSRC}/binpatch.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|