1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/textproc/man2html/Makefile
Dmitry Marakasov a1304c8afe - Add LICENSE
- Add NO_ARCH

Approved by:	portmgr blanket
2018-09-30 09:08:30 +00:00

34 lines
872 B
Makefile

# Created by: Dima Sivachenko <demon@gpad.ac.ru>
# $FreeBSD$
PORTNAME= man2html
PORTVERSION= 3.0.1
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://hydra.nac.uci.edu/indiv/ehood/tar/ \
ftp://ftp.cpan.org/pub/CPAN/modules/by-authors/Earl_Hood/ \
http://people.freebsd.org/~demon/
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= demon@FreeBSD.org
COMMENT= Convert nroff(1) man pages to HTML
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= perl5
USE_PERL5= run
NO_BUILD= yes
NO_ARCH= yes
CGIDIR= ${PREFIX}/www/cgi-bin
PLIST_FILES= bin/man2html man/man1/man2html.1.gz www/cgi-bin/man.cgi
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/man2html ${STAGEDIR}/${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/man2html.1 ${STAGEDIR}/${PREFIX}/man/man1
${MKDIR} ${STAGEDIR}${CGIDIR}
${INSTALL_SCRIPT} ${WRKSRC}/man.cgi ${STAGEDIR}${CGIDIR}
.include <bsd.port.mk>