openbsd-ports/security/opensc/Makefile

57 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.15 2010/12/27 15:30:11 jasper Exp $
COMMENT= set of libraries and utilities to access smart cards
DISTNAME= opensc-0.11.13
REVISION= 0
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
2005-12-25 10:52:38 -05:00
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/
2010-11-20 12:22:40 -05:00
WANTLIB= c crypto ltdl ncurses readline z openct>=1
2010-11-20 12:22:40 -05:00
LIB_DEPENDS= security/openct
USE_GMAKE= Yes
USE_LIBTOOL= Yes
2010-10-18 17:41:44 -04:00
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>