freebsd-ports/security/ykpers/Makefile
Carlos J. Puga Medina 2c3770c91f security/ykpers: Update to 1.18.0
- Add LICENSE_FILE
- Add missing devel/json-c to LIB_DEPENDS
- Add USES=gmake
- Switch to USES=localbase
- Drop MAKE_JOBS_UNSAFE, builds fine with MAKE_JOBS_NUMBER=4
- Use INSTALL_TARGET=install-strip
- Pet portlint, USE_* comes before USES
- Update WWW in pkg-descr

Changes: https://developers.yubico.com/yubikey-personalization/Release_Notes.html

PR:		220764
Submitted by:	tm+freebsd@core.io
Reviewed by:	cpm
Approved by:	matt <matt@mjslabs.com> (maintainer)
2017-07-23 20:40:13 +00:00

48 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= ykpers
PORTVERSION= 1.18.0
CATEGORIES= security
MASTER_SITES= http://opensource.yubico.com/yubikey-personalization/releases/
MAINTAINER= matt@mjslabs.com
COMMENT= Library and tool for personalization of Yubico's YubiKey
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libjson-c.so:devel/json-c \
libyubikey.so:security/libyubikey
USES= gmake libtool localbase pathfix pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
PLIST_FILES= bin/ykchalresp \
bin/ykinfo \
bin/ykpersonalize \
include/ykpers-1/ykcore.h \
include/ykpers-1/ykdef.h \
include/ykpers-1/ykpbkdf2.h \
include/ykpers-1/ykpers.h \
include/ykpers-1/ykpers-version.h \
include/ykpers-1/ykstatus.h \
lib/libykpers-1.so \
lib/libykpers-1.so.1 \
lib/libykpers-1.so.${PORTVERSION} \
libdata/pkgconfig/ykpers-1.pc \
man/man1/ykchalresp.1.gz \
man/man1/ykinfo.1.gz \
man/man1/ykpersonalize.1.gz
OPTIONS_DEFINE= STATIC
STATIC_CONFIGURE_ENABLE= static
STATIC_PLIST_FILES= lib/libykpers-1.a
regression-test: build
@(cd ${WRKSRC}; ${MAKE} check)
.include <bsd.port.mk>