1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/security/bcrypt/Makefile
Emanuel Haupt c4c14fd156 - Use DOC instead of NOPORTDOCS
- Pacify portlint
- Convert header
2013-01-15 13:40:28 +00:00

41 lines
789 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= bcrypt
PORTVERSION= 1.1
CATEGORIES= security
MASTER_SITES= http://bcrypt.sourceforge.net/ \
CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Cross-platform blowfish encryption utility
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>