summaryrefslogtreecommitdiff
path: root/www/man2web/Makefile
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-04-28 17:58:18 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-04-28 17:58:18 +0000
commit45f388ba6b864ba60252fceffdcc5cf53f045f6a (patch)
treec0d673c70838f81668f19370176db41ddbae969c /www/man2web/Makefile
parentupdate revision to push out distfile fix (diff)
Maintenance update to 0.88.
Notes
Notes: svn path=/head/; revision=79801
Diffstat (limited to 'www/man2web/Makefile')
-rw-r--r--www/man2web/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/www/man2web/Makefile b/www/man2web/Makefile
index 3aec91942885..bff5b39da9c7 100644
--- a/www/man2web/Makefile
+++ b/www/man2web/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= man2web
-PORTVERSION= 0.87
+PORTVERSION= 0.88
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,14 +16,21 @@ COMMENT= Convert man pages to HTML
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS= --bindir="${PREFIX}/${CGIDIR}" \
- --sysconfdir="${PREFIX}/etc"
+CONFIGURE_ARGS= --sysconfdir="${PREFIX}/etc" \
+ --with-distro=freebsd --enable-lynx
PLIST_SUB= CGIDIR="${CGIDIR}"
-
CGIDIR= www/cgi-bin
MAN1= man2web.1
MAN5= man2web.conf.5
+post-extract:
+ ${CP} ${FILESDIR}/freebsd.h ${WRKSRC}/src/section_h/
+
+# 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}/
+
.include <bsd.port.mk>