pkgsrc/security/openct/Makefile
hasso 911a6b035b Update to 0.6.18.
* USB code for BSD fixed by Emmanuel Dreyfus
* Add support for Rutoken S by  Aktiv Co. / Aleksey Samsonov
* Plus some fixes to Info.plist (for users combining openct with pcsc-lite).
2009-09-25 08:36:05 +00:00

37 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2009/09/25 08:36:05 hasso Exp $
DISTNAME= openct-0.6.18
CATEGORIES= security
MASTER_SITES= http://www.opensc-project.org/files/openct/
MAINTAINER= hasso@NetBSD.org
HOMEPAGE= http://www.opensc-project.org/openct/
COMMENT= Smart Card Reader drivers and middleware
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_TOOLS+= gmake pkg-config
.include "options.mk"
CONFIGURE_ARGS+= --localstatedir=${VARBASE}/openct
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
RCD_SCRIPTS= openct
MAKE_DIRS+= ${VARBASE}/openct
MAKE_DIRS+= ${VARBASE}/openct/run
MAKE_DIRS+= ${VARBASE}/openct/run/openct
EGDIR= ${PREFIX}/share/examples/openct
CONF_FILES+= ${EGDIR}/openct.conf ${PKG_SYSCONFDIR}/openct.conf
BUILD_DEFS+= VARBASE
INSTALLATION_DIRS= ${EGDIR}
post-install:
${INSTALL_DATA} ${WRKSRC}/etc/openct.conf ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/etc/reader.conf ${DESTDIR}${EGDIR}
.include "../../devel/libltdl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"