38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.11 2012/12/15 01:19:07 pettai Exp $
|
|
|
|
DISTNAME= openct-0.6.20
|
|
PKGREVISION= 1
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.opensc-project.org/files/openct/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.opensc-project.org/openct/
|
|
COMMENT= Smart Card Reader drivers and middleware
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
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
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/reader.conf.d
|
|
EGDIR= ${PREFIX}/share/examples/openct
|
|
CONF_FILES+= ${EGDIR}/openct.conf ${PKG_SYSCONFDIR}/openct.conf
|
|
CONF_FILES+= ${EGDIR}/reader.conf ${PKG_SYSCONFDIR}/reader.conf.d/openct-reader.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"
|