3e474a90d8
around at either build-time or at run-time is: USE_TOOLS+= perl # build-time USE_TOOLS+= perl:run # run-time Also remove some places where perl5/buildlink3.mk was being included by a package Makefile, but all that the package wanted was the Perl executable.
36 lines
1,007 B
Makefile
36 lines
1,007 B
Makefile
# $NetBSD: Makefile,v 1.9 2005/07/16 01:19:08 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= adocman-0.10
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sitedocs/}
|
|
|
|
MAINTAINER= jmmv@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-SSLeay
|
|
|
|
USE_TOOLS+= perl:run
|
|
NO_BUILD= YES
|
|
|
|
REPLACE_PERL= adocman xml_export
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/adocman ${PREFIX}/bin
|
|
${INSTALL_SCRIPT} ${WRKSRC}/xml_export ${PREFIX}/bin
|
|
${INSTALL_SCRIPT_DIR} ${PERL5_SITEARCH}/Alexandria
|
|
.for f in Client.pm Docman.pm
|
|
${INSTALL_SCRIPT} ${WRKSRC}/Alexandria/${f} ${PERL5_SITEARCH}/Alexandria
|
|
.endfor
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/adocman
|
|
.for f in LICENSE README TODO adocman.html xml_export.html
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/html/adocman
|
|
.endfor
|
|
.undef f
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|