56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.14 2010/11/20 17:22:44 espie Exp $
|
|
|
|
COMMENT= set of libraries and utilities to access smart cards
|
|
|
|
DISTNAME= opensc-0.11.13
|
|
CATEGORIES= security
|
|
SHARED_LIBS += scconf 2.0 # .1.0
|
|
SHARED_LIBS += opensc 2.0 # .1.0
|
|
SHARED_LIBS += pkcs15init 2.0 # .1.0
|
|
SHARED_LIBS += opensc 2.0 # .1.0
|
|
SHARED_LIBS += pkcs15init 2.0 # .1.0
|
|
MODGNU_SHARED_LIBS=opensc '' \
|
|
pkcs15init '' \
|
|
scam '' \
|
|
scconf '' \
|
|
pkcs11 ''
|
|
|
|
HOMEPAGE= http://www.opensc-project.org/
|
|
|
|
MAINTAINER= Douglas Santos <dsantos@hydroxyl.org>
|
|
|
|
# LGPLv2.1
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE}/files/opensc/
|
|
|
|
WANTLIB= c crypto ltdl ncurses readline z openct>=1
|
|
|
|
LIB_DEPENDS= security/openct
|
|
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
USE_GROFF = Yes
|
|
|
|
CONFIGURE_STYLE=gnu old
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--enable-static \
|
|
--sysconfdir=${SYSCONFDIR} \
|
|
--enable-openct \
|
|
--sysconfdir=${SYSCONFDIR}
|
|
CONFIGURE_ENV= PTHREAD_LIBS=-pthread \
|
|
LTLIB_CFLAGS="-I${LOCALBASE}/include" \
|
|
LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl"
|
|
|
|
FAKE_FLAGS= mandir="${PREFIX}/man/"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opensc
|
|
${INSTALL_DATA} ${WRKSRC}/etc/opensc.conf \
|
|
${PREFIX}/share/examples/opensc
|
|
|
|
.include <bsd.port.mk>
|