diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2003-04-28 17:58:18 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2003-04-28 17:58:18 +0000 |
commit | 45f388ba6b864ba60252fceffdcc5cf53f045f6a (patch) | |
tree | c0d673c70838f81668f19370176db41ddbae969c /www/man2web/Makefile | |
parent | aebacd68146f0044cf865f729ee57613e1f817e6 (diff) | |
download | ports-45f388ba6b864ba60252fceffdcc5cf53f045f6a.tar.gz ports-45f388ba6b864ba60252fceffdcc5cf53f045f6a.zip |
Notes
Diffstat (limited to 'www/man2web/Makefile')
-rw-r--r-- | www/man2web/Makefile | 15 |
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> |