32 lines
711 B
Makefile
32 lines
711 B
Makefile
# $NetBSD: Makefile,v 1.2 2009/04/09 00:48:07 joerg 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_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"
|