1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/www/man2web/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

30 lines
735 B
Makefile

PORTNAME= man2web
PORTVERSION= 0.88
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert man pages to HTML
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/doc/GPL
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --bindir="${PREFIX}/${CGIDIR}" \
--sysconfdir="${PREFIX}/etc" \
--with-manpath=/usr/share/man:${LOCALBASE}/man \
--with-distro=freebsd --enable-lynx
CGIDIR= www/cgi-bin
PLIST_SUB= CGIDIR="${CGIDIR}"
post-extract:
${CP} ${FILESDIR}/freebsd.h ${WRKSRC}/src/section_h/
# default Apache configuration disallows symlinks in cgi-bin
post-install:
${LN} -sf ${PREFIX}/${CGIDIR}/man2web ${STAGEDIR}${PREFIX}/bin/man2web
.include <bsd.port.mk>