2013-01-15 14:40:28 +01:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@critical.ch>
|
2005-09-03 21:03:17 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bcrypt
|
|
|
|
PORTVERSION= 1.1
|
|
|
|
CATEGORIES= security
|
2006-06-01 14:13:54 +02:00
|
|
|
MASTER_SITES= http://bcrypt.sourceforge.net/ \
|
2008-03-27 20:27:34 +01:00
|
|
|
CRITICAL
|
2005-09-03 21:03:17 +02:00
|
|
|
|
2005-10-06 13:57:11 +02:00
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
2012-08-02 11:02:43 +02:00
|
|
|
COMMENT= Cross-platform blowfish encryption utility
|
2005-09-03 21:03:17 +02:00
|
|
|
|
2009-03-27 10:53:36 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2005-09-03 21:03:17 +02:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
|
|
|
|
|
|
LDFLAGS+= -lz
|
|
|
|
|
|
|
|
PORTDOCS= README
|
|
|
|
MAN1= bcrypt.1
|
|
|
|
PLIST_FILES= bin/bcrypt
|
|
|
|
|
2013-01-15 14:40:28 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2005-09-03 21:03:17 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E 's/^(CC|CFLAGS|LDFLAGS|PREFIX)\ /\1?/' \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
|
|
|
|
2013-01-15 14:40:28 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2005-09-03 21:03:17 +02:00
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|