2003-04-19 14:00:38 +00:00
|
|
|
# New ports collection makefile for: man2web
|
|
|
|
# Date created: 2003-04-19
|
|
|
|
# Whom: Christian Weisgerber <naddy@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= man2web
|
2003-04-28 17:58:18 +00:00
|
|
|
PORTVERSION= 0.88
|
2003-04-28 22:21:17 +00:00
|
|
|
PORTREVISION= 1
|
2003-04-19 14:00:38 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= naddy@FreeBSD.org
|
|
|
|
COMMENT= Convert man pages to HTML
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2003-04-28 22:21:17 +00:00
|
|
|
CONFIGURE_ARGS= --bindir="${PREFIX}/${CGIDIR}" \
|
|
|
|
--sysconfdir="${PREFIX}/etc" \
|
|
|
|
--with-manpath=/usr/share/man:${X11BASE}/man:${LOCALBASE}/man \
|
2003-04-28 17:58:18 +00:00
|
|
|
--with-distro=freebsd --enable-lynx
|
2003-04-19 14:00:38 +00:00
|
|
|
|
|
|
|
PLIST_SUB= CGIDIR="${CGIDIR}"
|
|
|
|
CGIDIR= www/cgi-bin
|
|
|
|
|
|
|
|
MAN1= man2web.1
|
|
|
|
MAN5= man2web.conf.5
|
|
|
|
|
2003-04-28 17:58:18 +00:00
|
|
|
post-extract:
|
|
|
|
${CP} ${FILESDIR}/freebsd.h ${WRKSRC}/src/section_h/
|
|
|
|
|
|
|
|
# default Apache configuration disallows symlinks in cgi-bin
|
|
|
|
post-install:
|
2003-04-28 22:21:17 +00:00
|
|
|
${LN} -sf ${PREFIX}/${CGIDIR}/man2web ${PREFIX}/bin/man2web
|
2003-04-28 17:58:18 +00:00
|
|
|
|
2003-04-19 14:00:38 +00:00
|
|
|
.include <bsd.port.mk>
|