aboutsummaryrefslogtreecommitdiffstats
path: root/www/wyvern/Makefile
blob: 64204987e4372ff3c9f3926f90e079ddd31eebb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:   Wyvern
# Date created:        3 March 2001
# Whom:                Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   wyvern
PORTVERSION=    1.0.3
PORTREVISION=   2
CATEGORIES= www ipv6
MASTER_SITES=   http://www.MysticWALL.com/software/src/

MAINTAINER= knu@FreeBSD.org

USE_BZIP2=  yes
USE_OPENSSL=    yes
USE_GMAKE=  yes
USE_AUTOCONF=   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-install:
    ${LN} -sf ${PREFIX}/sbin/* ${LOCALBASE}/sbin/
    @${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>