File:  [cvs.NetBSD.org] / pkgsrc / pkgtools / binpatch / Makefile
Revision 1.13: download - view: text, annotated - select for diffs
Mon Mar 3 03:30:52 2014 UTC (10 years, 9 months ago) by obache
Branches: MAIN
CVS tags: HEAD
Just define PKGNAME and use it.

# $NetBSD: Makefile,v 1.13 2014/03/03 03:30:52 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

.include "../../mk/bsd.prefs.mk"

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

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 ${DESTDIR}${PREFIX}/bin/binpatch
	${INSTALL_MAN} ${WRKSRC}/binpatch.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1

.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>