pkgsrc/devel/cvsdiff2patch/Makefile
bjs 5bb190413a Add devel/cvsdiff2patch, a simple utility which, in the words of the
author, "Converts crappy CVS diffs into something that patch(1)
understands."
2007-11-29 10:11:13 +00:00

33 lines
730 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2007/11/29 10:11:13 bjs Exp $
#
DISTNAME= cvsdiff2patch-1.0.1
CATEGORIES= devel
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= bjs@NetBSD.org
HOMEPAGE= http://people.freebsd.org/~alfred/sources/cvsdiff2patch/
COMMENT= Convert CVS diffs into something that patch(1) understands
PKG_DESTDIR_SUPPORT= user-destdir
NO_CHECKSUM= yes
NO_CONFIGURE= yes
USE_LIBTOOL= yes
INSTALLATION_DIRS+= bin
do-extract:
${RUN} ${CP} -R ${FILESDIR} ${WRKSRC}
do-build:
${RUN} cd ${WRKSRC} && \
${LIBTOOL} --mode=link ${CC} -o ${PKGBASE} ${PKGBASE}.c
do-install:
${RUN} cd ${WRKSRC} && \
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} ${PKGBASE} \
${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"