aboutsummaryrefslogtreecommitdiff
path: root/security/bcrypt
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
commitc4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8 (patch)
tree98f96307b5a32cecd5d4e2104c22673c560b9789 /security/bcrypt
parent56b2cbf1c5abcce2be96f0aa252e4df4d8d99dd2 (diff)
downloadports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.tar.gz
ports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.zip
Notes
Diffstat (limited to 'security/bcrypt')
-rw-r--r--security/bcrypt/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/security/bcrypt/Makefile b/security/bcrypt/Makefile
index 0892afe9e10b..7ea01bb34db6 100644
--- a/security/bcrypt/Makefile
+++ b/security/bcrypt/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: bcrypt
-# Date created: 11 Aug 2005
-# Whom: Emanuel Haupt <ehaupt@critical.ch>
-#
+# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
-#
PORTNAME= bcrypt
PORTVERSION= 1.1
@@ -24,6 +20,10 @@ PORTDOCS= README
MAN1= bcrypt.1
PLIST_FILES= bin/bcrypt
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -E 's/^(CC|CFLAGS|LDFLAGS|PREFIX)\ /\1?/' \
${WRKSRC}/Makefile
@@ -32,7 +32,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif