head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2013.03.20.02.48.00;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2013.01.28.07.45.43;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314693
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/security/ykpers/Makefile 314693 2013-03-19 20:36:34Z pawel $

PORTNAME=	ykpers
PORTVERSION=	1.12.0
CATEGORIES=	security
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	matt@@mjslabs.com
COMMENT=	Library and tool for personalization of Yubico's YubiKey

LICENSE=	BSD

LIB_DEPENDS=	yubikey:${PORTSDIR}/security/libyubikey

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
USE_PKGCONFIG=	build

MAN1=		ykchalresp.1 \
		ykinfo.1 \
		ykpersonalize.1
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.a \
		lib/libykpers-1.la \
		lib/libykpers-1.so \
		lib/libykpers-1.so.13 \
		libdata/pkgconfig/ykpers-1.pc
PLIST_DIRS=	include/ykpers-1

PROJECTHOST=	yubikey-personalization

MAKE_JOBS_UNSAFE=yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800069
LDFLAGS+=	-L/usr/lib
.else
LIB_DEPENDS+=	usb:${PORTSDIR}/devel/libusb
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's|^pkgconfigdir = .*|pkgconfigdir = /usr/local/libdata/pkgconfig|g' \
		${WRKSRC}/Makefile.in

regression-test: build
	@@(cd ${WRKSRC}; ${MAKE} check)

.include <bsd.port.post.mk>
@


1.1
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311099
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/security/ykpers/Makefile 311099 2013-01-28 07:30:11Z jgh $
d4 1
a4 1
PORTVERSION=	1.11.3
d34 1
a34 1
		lib/libykpers-1.so.12 \
@

