[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / security / libbf

File: [cvs.NetBSD.org] / pkgsrc / security / libbf / Makefile (download)

Revision 1.18, Tue Jan 2 05:37:23 2018 UTC (2 years, 9 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.17: +1 -2 lines

Remove traces of crypto restrictions from packages.

ok for idea riastradh.

# $NetBSD: Makefile,v 1.18 2018/01/02 05:37:23 maya Exp $
#

DISTNAME=	libbf-0.8.2b
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.funet.fi/pub/mirrors/ftp.psy.uq.oz.au/libeay/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.schneier.com/blowfish.html
COMMENT=	Blowfish block cipher library

WRKSRC=		${WRKDIR}/bf

.include "../../mk/bsd.prefs.mk"

.if ${MACHINE_ARCH} == "i386" && ${OBJECT_FMT} == "ELF"
BF_ENC=asm/bx86-elf.o
.else
BF_ENC=bf_enc.o
.endif

MAKEFLAGS+=	BF_ENC=${BF_ENC:Q}

INSTALLATION_DIRS=	bin include lib share/doc/blowfish

do-install:
	cd ${WRKSRC} &&							\
	${INSTALL_DATA} libblowfish.a ${DESTDIR}${PREFIX}/lib &&			\
	${INSTALL_DATA} blowfish.h ${DESTDIR}${PREFIX}/include &&			\
	${INSTALL_PROGRAM} bftest bfspeed ${DESTDIR}${PREFIX}/bin
.for doc in blowfish.doc COPYRIGHT README VERSION
	${INSTALL_DATA} ${WRKSRC}/${doc} ${DESTDIR}${PREFIX}/share/doc/blowfish
.endfor

.include "../../mk/bsd.pkg.mk"