aboutsummaryrefslogtreecommitdiffstats
path: root/security/aolserver-nsopenssl/Makefile
blob: e632f9dd038fb484c20260f0e68a7c1aec92800f (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
41
42
43
# New ports collection makefile for:    aolserver-nsopenssl
# Date created:     12 Oct 2006
# Whom:         Martin Matuska <mm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   aolserver-nsopenssl
PORTVERSION=    3.0.b26
CATEGORIES= security www
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= aolserver
DISTFILES=  nsopenssl-3.0beta26-src.tar.gz
DIST_SUBDIR=    aolserver

MAINTAINER= mm@FreeBSD.org
COMMENT=    OpenSSL socket encryption module for AOLserver

WRKSRC=     ${WRKDIR}/nsopenssl-3.0beta26

AOLSERVERBASE?= ${PREFIX}/aolserver
BUILD_DEPENDS+= ${AOLSERVERBASE}/bin/nsd:${PORTSDIR}/www/aolserver
RUN_DEPENDS+=   ${BUILD_DEPENDS}
PLIST_SUB+= AOLSERVERBASE=${AOLSERVERBASE:S/${PREFIX}\///}

USE_OPENSSL=    yes
USE_GMAKE=  yes

MAKE_ARGS=  AOLSERVER=${AOLSERVERBASE} OPENSSL=${OPENSSLBASE}

.if !defined(NOPORTDOCS)
PORTDOCS=   ChangeLog README TODO
.endif

post-install:
.if !defined(NOPORTDOCS)
    @ ${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
    @ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>