mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
50 lines
1.2 KiB
Makefile
50 lines
1.2 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.1.2
|
|
CATEGORIES= www ipv6
|
|
MASTER_SITES= http://www.MysticWALL.COM/download/
|
|
|
|
MAINTAINER= kouichi@MysticWALL.COM
|
|
COMMENT= Simple/powerful/lightweight/secure/embed-able HTTP server
|
|
|
|
USE_BZIP2= yes
|
|
USE_OPENSSL= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= autoconf:259
|
|
|
|
NO_MTREE= yes
|
|
|
|
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
|
|
|
|
post-extract:
|
|
${MV} ${WRKSRC}/htdocs/index.html ${WRKSRC}/htdocs/index.html-dist
|
|
|
|
post-install:
|
|
${LN} -sf ${PREFIX}/sbin/wyvern ${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>
|