1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/security/libbf/Makefile
Mathieu Arnold f899c758a6 When there is a do-install target, do not use a post-install target, do
everything at once.  Sometime, rename post-install into a options helper
target.

I did not fix ports that were such a mess that I could not figure out
what they really wanted to do.  I also did not change ports that had
some version of an auto-plist code in post-install, for the same reason.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-19 11:04:13 +00:00

40 lines
1.0 KiB
Makefile

# Created by: Jim Geovedi <jim@corebsd.or.id>
# $FreeBSD$
PORTNAME= libbf
PORTVERSION= 0.8.2b
CATEGORIES= security
MASTER_SITES= ftp://ftp.funet.fi/pub/mirrors/ftp.psy.uq.oz.au/libeay/ \
ftp://ftp.psy.uq.oz.au/pub/Crypto/libeay/ \
ftp://ftp.ntnu.no/pub/unix/security/ \
ftp://ftp.sunsite.org.uk/Mirrors/ftp.psy.uq.oz.au/pub/Crypto/libeay/
MAINTAINER= jim@corebsd.or.id
COMMENT= The Blowfish block cipher Library
.if ${MACHINE_ARCH} == "i386"
MAKEFLAGS+= BF_ENC=asm/bx86-elf.o
.else
MAKEFLAGS+= BF_ENC=bf_enc.o
.endif
WRKSRC= ${WRKDIR}/bf
OPTIONS_DEFINE= DOCS
PORTDOCS= blowfish.doc COPYRIGHT README VERSION
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bfspeed ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bftest ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libblowfish.a ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/blowfish.h ${STAGEDIR}${PREFIX}/include
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>