freebsd-ports/www/wyvern/Makefile
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

52 lines
1.3 KiB
Makefile

# New ports collection makefile for: Wyvern
# Date created: 3 March 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= wyvern
PORTVERSION= 2.0.6
PORTREVISION= 1
CATEGORIES= www ipv6
MASTER_SITES= http://www.MysticWALL.COM/software/src/
MAINTAINER= kouichi@MysticWALL.COM
COMMENT= Simple/powerful/lightweight/secure/embed-able HTTP server
USE_BZIP2= yes
USE_OPENSSL= yes
USE_GMAKE= yes
USE_AUTOCONF_VER= 213
PREFIX= ${LOCALBASE}/wyvern
CONFIGURE_ARGS= --with-ssl=yes \
--with-ssl-includes="${OPENSSLINC}" \
--with-ssl-libraries="${OPENSSLLIB}"
MAKE_ARGS= rcdir="${LOCALBASE}/etc/rc.d"
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.endif
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
.endif
post-extract:
${MV} ${WRKSRC}/htdocs/index.html ${WRKSRC}/htdocs/index.html-dist
post-install:
${LN} -sf ${PREFIX}/sbin/* ${LOCALBASE}/sbin/
if [ ! -f ${PREFIX}/htdocs/index.html ]; then \
${CP} -p ${PREFIX}/htdocs/index.html-dist ${PREFIX}/htdocs/index.html; \
fi
@${CAT} ${PKGMESSAGE}
certificate:
cd ${PREFIX} && openssl req -config conf/ssl.cnf -new -x509 -nodes \
-out conf/wyvern.pem -keyout conf/wyvern.pem
.include <bsd.port.post.mk>