2001-03-05 09:18:47 +00:00
|
|
|
# New ports collection makefile for: Wyvern
|
|
|
|
# Date created: 3 March 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= wyvern
|
2005-01-10 08:36:15 +00:00
|
|
|
PORTVERSION= 2.1.2
|
2001-03-05 09:18:47 +00:00
|
|
|
CATEGORIES= www ipv6
|
2005-01-10 08:36:15 +00:00
|
|
|
MASTER_SITES= http://www.MysticWALL.COM/download/
|
2001-03-05 09:18:47 +00:00
|
|
|
|
2002-02-05 15:46:19 +00:00
|
|
|
MAINTAINER= kouichi@MysticWALL.COM
|
2003-02-21 14:08:24 +00:00
|
|
|
COMMENT= Simple/powerful/lightweight/secure/embed-able HTTP server
|
2001-03-05 09:18:47 +00:00
|
|
|
|
2005-01-10 08:36:15 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_AUTOCONF_VER= 259
|
|
|
|
|
|
|
|
NO_MTREE= yes
|
|
|
|
|
2001-03-05 09:18:47 +00:00
|
|
|
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>
|
|
|
|
|
2001-03-09 12:19:42 +00:00
|
|
|
.if ${OSVERSION} >= 400014
|
2001-03-05 09:18:47 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
|
|
.endif
|
|
|
|
|
2001-08-06 09:08:10 +00:00
|
|
|
post-extract:
|
|
|
|
${MV} ${WRKSRC}/htdocs/index.html ${WRKSRC}/htdocs/index.html-dist
|
|
|
|
|
2001-03-05 09:18:47 +00:00
|
|
|
post-install:
|
2005-01-10 08:36:15 +00:00
|
|
|
${LN} -sf ${PREFIX}/sbin/wyvern ${LOCALBASE}/sbin/
|
2001-08-06 09:08:10 +00:00
|
|
|
if [ ! -f ${PREFIX}/htdocs/index.html ]; then \
|
|
|
|
${CP} -p ${PREFIX}/htdocs/index.html-dist ${PREFIX}/htdocs/index.html; \
|
|
|
|
fi
|
2001-03-05 09:18:47 +00:00
|
|
|
@${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>
|