summaryrefslogtreecommitdiff
path: root/devel/adocman/Makefile
blob: 723cd23c95627e5f9d4e59376120fd3dd88b23a2 (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
# $NetBSD: Makefile,v 1.30 2020/08/31 18:07:15 wiz Exp $
#

DISTNAME=	adocman-0.10
PKGREVISION=	14
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=sitedocs/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://sitedocs.sourceforge.net/
COMMENT=	DocManager operation automation tool

DEPENDS+=	p5-Term-ReadKey>=2.21:../../devel/p5-Term-ReadKey
DEPENDS+=	p5-Crypt-SSLeay>=0.47:../../security/p5-Crypt-SSLeay

NO_BUILD=		yes
PERL5_CONFIGURE=	no
REPLACE_PERL=		adocman xml_export
AUTO_MKDIRS=		yes

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/adocman ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/xml_export ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT_DIR} ${DESTDIR}${PERL5_INSTALLVENDORLIB}/Alexandria
	cd ${WRKSRC}/Alexandria && ${INSTALL_SCRIPT} \
		Client.pm Docman.pm \
		${DESTDIR}${PERL5_INSTALLVENDORLIB}/Alexandria
	cd ${WRKSRC} && ${INSTALL_DATA} \
		LICENSE README TODO adocman.html xml_export.html \
		${DESTDIR}${PREFIX}/share/doc/adocman

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"