From ca37f412437d0b0ec96d1b33552a056daf812a38 Mon Sep 17 00:00:00 2001 From: naddy Date: Mon, 28 Apr 2003 22:21:17 +0000 Subject: Tweaks, specify manpath to allow section index generation. --- www/man2web/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'www') 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 -- cgit