2003-04-19 16:00:38 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= man2web
|
2003-04-28 19:58:18 +02:00
|
|
|
PORTVERSION= 0.88
|
2006-02-08 16:47:23 +01:00
|
|
|
PORTREVISION= 2
|
2003-04-19 16:00:38 +02:00
|
|
|
CATEGORIES= www
|
2009-08-22 02:38:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2003-04-19 16:00:38 +02:00
|
|
|
|
2011-11-19 17:37:28 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-04-19 16:00:38 +02:00
|
|
|
COMMENT= Convert man pages to HTML
|
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2015-06-11 11:26:18 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/doc/GPL
|
|
|
|
|
2003-04-19 16:00:38 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2003-04-29 00:21:17 +02:00
|
|
|
CONFIGURE_ARGS= --bindir="${PREFIX}/${CGIDIR}" \
|
|
|
|
--sysconfdir="${PREFIX}/etc" \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
--with-manpath=/usr/share/man:${LOCALBASE}/man \
|
2003-04-28 19:58:18 +02:00
|
|
|
--with-distro=freebsd --enable-lynx
|
2003-04-19 16:00:38 +02:00
|
|
|
|
2014-05-24 19:21:37 +02:00
|
|
|
CGIDIR= www/cgi-bin
|
2003-04-19 16:00:38 +02:00
|
|
|
PLIST_SUB= CGIDIR="${CGIDIR}"
|
|
|
|
|
2003-04-28 19:58:18 +02:00
|
|
|
post-extract:
|
|
|
|
${CP} ${FILESDIR}/freebsd.h ${WRKSRC}/src/section_h/
|
|
|
|
|
|
|
|
# default Apache configuration disallows symlinks in cgi-bin
|
|
|
|
post-install:
|
2014-05-24 19:21:37 +02:00
|
|
|
${LN} -sf ${PREFIX}/${CGIDIR}/man2web ${STAGEDIR}${PREFIX}/bin/man2web
|
2003-04-28 19:58:18 +02:00
|
|
|
|
2003-04-19 16:00:38 +02:00
|
|
|
.include <bsd.port.mk>
|