mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Tweaks, specify manpath to allow section index generation.
This commit is contained in:
parent
e3e325354d
commit
63aa28e5ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79812
1 changed files with 5 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= man2web
|
PORTNAME= man2web
|
||||||
PORTVERSION= 0.88
|
PORTVERSION= 0.88
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||||
|
@ -16,7 +17,9 @@ COMMENT= Convert man pages to HTML
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
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
|
--with-distro=freebsd --enable-lynx
|
||||||
|
|
||||||
PLIST_SUB= CGIDIR="${CGIDIR}"
|
PLIST_SUB= CGIDIR="${CGIDIR}"
|
||||||
|
@ -30,7 +33,6 @@ post-extract:
|
||||||
|
|
||||||
# default Apache configuration disallows symlinks in cgi-bin
|
# default Apache configuration disallows symlinks in cgi-bin
|
||||||
post-install:
|
post-install:
|
||||||
${LN} -f ${PREFIX}/bin/man2web ${PREFIX}/${CGIDIR}/man2web || \
|
${LN} -sf ${PREFIX}/${CGIDIR}/man2web ${PREFIX}/bin/man2web
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/src/man2web ${PREFIX}/${CGIDIR}/
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue