freebsd-ports/security/xyssl/Makefile
Emanuel Haupt 5005b67362 According to the Porter's Handbook (5.12.2.3.) default options must be added to
OPTIONS_DEFINE. This policy has been implemented only recently that's why we
have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
2014-02-10 13:54:26 +00:00

46 lines
940 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
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2014-03-10
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/BSD.txt
PORTDOCS= ChangeLog
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.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>