blob: c7f2f489c93a4747ef14014945332787a370b2d5 (
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
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.2 2013/03/14 21:20:14 ryoon Exp $
#
DISTNAME= reposurgeon-2.26
CATEGORIES= devel
MASTER_SITES= http://www.catb.org/~esr/reposurgeon/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://www.catb.org/~esr/reposurgeon/
COMMENT= Tool for editing version-control repository history
LICENSE= modified-bsd
DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
USE_LANGUAGES= # none
REPLACE_SH= repopuller
SUBST_CLASSES+= py
SUBST_STAGE.py= pre-configure
SUBST_MESSAGE.py= Set PYTHONBIN
SUBST_FILES.py= repodiffer
SUBST_FILES.py+= reposurgeon
SUBST_SED.py= -e 's,/usr/bin/env python,${PYTHONBIN},'
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/reposurgeon
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/repodiffer \
${WRKSRC}/repopuller \
${WRKSRC}/reposurgeon \
${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/repodiffer.1 \
${WRKSRC}/repopuller.1 \
${WRKSRC}/reposurgeon.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/COPYING \
${WRKSRC}/README \
${WRKSRC}/NEWS \
${WRKSRC}/conversion.mk \
${DESTDIR}${PREFIX}/share/doc/reposurgeon
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|