2009-05-31 12:51:07 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2009/05/31 16:51:07 jasper Exp $
|
2005-11-27 06:01:14 -05:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= set of libraries and utilities to access smart cards
|
2005-11-27 06:01:14 -05:00
|
|
|
|
2009-05-31 12:51:07 -04:00
|
|
|
DISTNAME= opensc-0.11.8
|
2005-11-27 06:01:14 -05:00
|
|
|
CATEGORIES= security
|
2008-12-23 14:10:33 -05:00
|
|
|
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
|
2005-12-25 10:52:38 -05:00
|
|
|
MODGNU_SHARED_LIBS=opensc '' \
|
|
|
|
pkcs15init '' \
|
|
|
|
scam '' \
|
|
|
|
scconf '' \
|
|
|
|
pkcs11 ''
|
2005-11-27 06:01:14 -05:00
|
|
|
|
2006-02-05 06:00:55 -05:00
|
|
|
HOMEPAGE= http://www.opensc-project.org/
|
2005-11-27 06:01:14 -05:00
|
|
|
|
|
|
|
MAINTAINER= Douglas Santos <dsantos@hydroxyl.org>
|
|
|
|
|
2008-12-23 14:10:33 -05:00
|
|
|
# LGPLv2.1
|
2005-11-27 06:01:14 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-02-05 06:00:55 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}/files/opensc/
|
2005-11-27 06:01:14 -05:00
|
|
|
|
2008-12-23 14:10:33 -05:00
|
|
|
WANTLIB= c crypto ltdl ncurses readline z
|
2005-11-27 06:01:14 -05:00
|
|
|
|
2006-08-03 19:28:11 -04:00
|
|
|
LIB_DEPENDS= openct.>=1::security/openct
|
2005-11-27 06:01:14 -05:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu old
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--sysconfdir=${SYSCONFDIR} \
|
|
|
|
--disable-ldap
|
2008-12-23 14:10:33 -05:00
|
|
|
CONFIGURE_ENV= PTHREAD_LIBS=-pthread \
|
|
|
|
LTLIB_CFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl"
|
2005-11-27 06:01:14 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/opensc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/opensc.conf \
|
|
|
|
${PREFIX}/share/examples/opensc
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|