blob: f887cc2bbcb8df9d95c1064e33ac24e24894aaf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile,v 1.14 2008/10/17 14:23:58 he Exp $
DISTNAME= revbump-1.9
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.pkgsrc.org/
COMMENT= Tools for bumping PKGREVISIONs (for pkgsrc developers)
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
NO_CHECKSUM= yes
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"
|