1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/security/xyssl/Makefile
Pawel Pekala b7bec7d93b - Update MASTER_SITES and WWW: line
- Support CFLAGS properly
- Add MAKE_JOBS_SAFE
- Don't install license file twice

PR:		ports/172064
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Feature safe:	yes
2012-11-10 18:16:38 +00:00

41 lines
856 B
Makefile

# 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>