aboutsummaryrefslogtreecommitdiffstats
path: root/security/aolserver-nssha1/Makefile
blob: 94b180b7a333729fe3500cd2fb0a6eefaf23671b (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
44
45
46
47
48
# New ports collection makefile for:    aolserver-nssha1
# Date created:     12 Oct 2006
# Whom:         Martin Matuska <mm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   aolserver-nssha1
PORTVERSION=    0.1
PORTREVISION=   1
CATEGORIES= security www
MASTER_SITES=   SF/aolserver/nssha1/nssha1-${PORTVERSION}
DISTFILES=  nssha1-${PORTVERSION}.tar.gz
DIST_SUBDIR=    aolserver

MAINTAINER= ports@FreeBSD.org
COMMENT=    AOLserver module to perform SHA1 hashes

WRKSRC=     ${WRKDIR}/nssha1-${PORTVERSION}

LICENSE=    GPLv1 MPL
LICENSE_COMB=   dual

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

USE_GMAKE=  yes

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

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

post-patch:
    @ ${REINPLACE_CMD} -e 's|OBJS|MODOBJS|' ${WRKSRC}/Makefile

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

.include <bsd.port.mk>