aboutsummaryrefslogtreecommitdiffstats
path: root/security/xyssl/Makefile
blob: 9aac6c3d4b5197ffe0dedf0207c088d5b3cf83da (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
# Created by: mdh <mdh@solitox.net>
# $FreeBSD$

PORTNAME=   xyssl
PORTVERSION=    0.9
DISTVERSIONSUFFIX=  -bsd
PORTREVISION=   1
CATEGORIES= security devel
MASTER_SITES=   http://www.evolane.com/download/mirror/etcl/ \
        http://polarssl.org/code/releases/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Lightweight SSL and TLS toolkit for C developers

LICENSE=    BSD
LICENSE_FILE=   ${WRKSRC}/BSD.txt

PORTDOCS=   ChangeLog
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

MAKE_JOBS_SAFE= yes

.include <bsd.port.options.mk>

post-patch:
.for i in library/Makefile programs/Makefile
    @${REINPLACE_CMD} -e \
        '/^CFLAGS/s|[[:space:]]=| +=| ; \
         s|^OFLAGS|#OFLAGS| ; \
         s|^.SILENT:|#.SILENT:|' ${WRKSRC}/${i}
.endfor

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_MAN} ${WRKSRC}/ChangeLog ${DOCSDIR}
.endif

.include <bsd.port.mk>