2010-12-27 10:30:11 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2010/12/27 15:30:11 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
|
|
|
|
2010-09-14 06:32:06 -04:00
|
|
|
DISTNAME= opensc-0.11.13
|
2010-12-27 10:30:11 -05:00
|
|
|
REVISION= 0
|
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
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
WANTLIB= c crypto ltdl ncurses readline z openct>=1
|
2005-11-27 06:01:14 -05:00
|
|
|
|
2010-11-20 12:22:40 -05:00
|
|
|
LIB_DEPENDS= security/openct
|
2005-11-27 06:01:14 -05:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2010-10-18 17:41:44 -04:00
|
|
|
USE_GROFF = Yes
|
2005-11-27 06:01:14 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu old
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--sysconfdir=${SYSCONFDIR} \
|
2010-01-13 03:42:35 -05:00
|
|
|
--enable-openct \
|
|
|
|
--sysconfdir=${SYSCONFDIR}
|
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
|
|
|
|
2010-09-14 06:32:06 -04:00
|
|
|
FAKE_FLAGS= mandir="${PREFIX}/man/"
|
|
|
|
|
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>
|