freebsd-ports/security/bcrypt/Makefile

41 lines
789 B
Makefile
Raw Normal View History

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $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
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Cross-platform blowfish encryption utility
2009-03-27 10:53:36 +01:00
MAKE_JOBS_SAFE= yes
ALL_TARGET= ${PORTNAME}
LDFLAGS+= -lz
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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>