aboutsummaryrefslogtreecommitdiff
path: root/www/man2web
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-04-28 22:21:17 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-04-28 22:21:17 +0000
commit63aa28e5ae3a99bf536e3eeec0378bf73e3cab4e (patch)
tree6e46888d0aac8daa54c6a1bb1d5808bcf220383d /www/man2web
parente3e325354dc43e7899a8b9180f42089638f37213 (diff)
downloadports-63aa28e5ae3a99bf536e3eeec0378bf73e3cab4e.tar.gz
ports-63aa28e5ae3a99bf536e3eeec0378bf73e3cab4e.zip
Tweaks, specify manpath to allow section index generation.
Notes
Notes: svn path=/head/; revision=79812
Diffstat (limited to 'www/man2web')
-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>