a04087e9d2
* Build system rewritten (NOTICE: configure options was modified). * None privileged configuration added, as a result /etc/openct.conf ifdhandler was modified, please review sample at etc/openct.conf before upgrade. * The usb device add (/dev/bus/usb/$env{BUSNUM}/$env{DEVNUM}) udev rule is now available in separate file, as it should be available at most distributions, and may conflict. Install this only if you are using old udev that miss this statement. * Basic coldplug support on Linux is available without libusb dependency. * CCID-1.10 is now supported. * Single PLIST file. * Use CONF_FILES for configuration file. * DESTDIR ready. * More reasonable default options - pcsc-lite support is now default.
34 lines
1,006 B
Makefile
34 lines
1,006 B
Makefile
# $NetBSD: Makefile,v 1.10 2008/08/07 18:31:23 htepper Exp $
|
|
|
|
DISTNAME= openct-0.6.15
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.opensc-project.org/files/openct/
|
|
|
|
MAINTAINER= hasso@estpak.ee
|
|
HOMEPAGE= http://www.opensc-project.org/openct/
|
|
COMMENT= Smart Card Reader drivers and middleware
|
|
|
|
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
|
|
|
|
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"
|