blob: ab6196e9794b93a4a09244f8d5f5950ed70040db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.1.1.1 2009/02/26 10:07:49 hasso Exp $
DISTNAME= openct-0.6.15
PKGREVISION= 1
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
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"
|