aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-04-29 06:21:17 +0800
committernaddy <naddy@FreeBSD.org>2003-04-29 06:21:17 +0800
commitca37f412437d0b0ec96d1b33552a056daf812a38 (patch)
treeca8447c7d8cb1c384947ec9a639fca6e67076bcc /www
parentf3c0252f9141f163c70b10719839b7c4227f08c9 (diff)
downloadfreebsd-ports-gnome-ca37f412437d0b0ec96d1b33552a056daf812a38.tar.gz
freebsd-ports-gnome-ca37f412437d0b0ec96d1b33552a056daf812a38.tar.zst
freebsd-ports-gnome-ca37f412437d0b0ec96d1b33552a056daf812a38.zip
Tweaks, specify manpath to allow section index generation.
Diffstat (limited to 'www')
-rw-r--r--www/man2web/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/man2web/Makefile b/www/man2web/Makefile
index bff5b39da9c7..120dabc0cd70 100644
--- a/www/man2web/Makefile
+++ b/www/man2web/Makefile
@@ -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>