pkgsrc/pkgtools/revbump/Makefile
wiz 8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.21 2012/10/03 21:57:16 wiz Exp $
DISTNAME= revbump-2.3
PKGREVISION= 1
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.pkgsrc.org/
COMMENT= Tools for bumping PKGREVISIONs (for pkgsrc developers)
LICENSE= modified-bsd
PKG_INSTALLATION_TYPES= overwrite pkgviews
WRKSRC= ${WRKDIR}
NO_CONFIGURE= yes
USE_TOOLS+= perl:run
USE_LANGUAGES= # empty
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-build:
${SED} -e "s!@PERL@!${PERL5}!g" -e "s! make ! ${MAKE} !g" \
${FILESDIR}/blbump > ${WRKDIR}/blbump
${SED} -e "s!@PERL@!${PERL5}!g" -e "s! make ! ${MAKE} !g" \
${FILESDIR}/finddepends > ${WRKDIR}/finddepends
${SED} -e "s!@PERL@!${PERL5}!g" -e "s! make ! ${MAKE} !g" \
${FILESDIR}/revbump > ${WRKDIR}/revbump
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/blbump ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/blbump.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_SCRIPT} ${WRKDIR}/finddepends ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/finddepends.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_SCRIPT} ${WRKDIR}/revbump ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/revbump.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"