blob: c6480ac8554ee5e77d26c11885f7c86b816de187 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# New ports collection makefile for: bcrypt
# Date created: 11 Aug 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= bcrypt
PORTVERSION= 1.1
CATEGORIES= security
MASTER_SITES= http://bcrypt.sourceforge.net/
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A cross-plattform blowfish encryption utility
USE_REINPLACE= yes
ALL_TARGET= ${PORTNAME}
LDFLAGS+= -lz
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
PORTDOCS= README
MAN1= bcrypt.1
PLIST_FILES= bin/bcrypt
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 !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|