1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Tweaks, specify manpath to allow section index generation.

This commit is contained in:
Christian Weisgerber 2003-04-28 22:21:17 +00:00
parent e3e325354d
commit 63aa28e5ae
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79812

View File

@ -7,6 +7,7 @@
PORTNAME= man2web
PORTVERSION= 0.88
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -16,7 +17,9 @@ COMMENT= Convert man pages to HTML
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --sysconfdir="${PREFIX}/etc" \
CONFIGURE_ARGS= --bindir="${PREFIX}/${CGIDIR}" \
--sysconfdir="${PREFIX}/etc" \
--with-manpath=/usr/share/man:${X11BASE}/man:${LOCALBASE}/man \
--with-distro=freebsd --enable-lynx
PLIST_SUB= CGIDIR="${CGIDIR}"
@ -30,7 +33,6 @@ post-extract:
# default Apache configuration disallows symlinks in cgi-bin
post-install:
${LN} -f ${PREFIX}/bin/man2web ${PREFIX}/${CGIDIR}/man2web || \
${INSTALL_PROGRAM} ${WRKSRC}/src/man2web ${PREFIX}/${CGIDIR}/
${LN} -sf ${PREFIX}/${CGIDIR}/man2web ${PREFIX}/bin/man2web
.include <bsd.port.mk>