2010-11-20 17:22:40 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2010/11/20 17:22:44 espie Exp $
|
2005-10-04 21:58:54 +00:00
|
|
|
|
2007-09-15 23:29:57 +00:00
|
|
|
COMMENT= drivers for several smart card readers
|
2005-10-04 21:58:54 +00:00
|
|
|
|
2010-09-14 10:31:50 +00:00
|
|
|
DISTNAME= openct-0.6.20
|
2005-10-04 21:58:54 +00:00
|
|
|
CATEGORIES= security
|
2008-12-23 19:09:32 +00:00
|
|
|
SHARED_LIBS= openct 1.1
|
2005-10-04 21:58:54 +00:00
|
|
|
|
2006-02-05 11:00:55 +00:00
|
|
|
HOMEPAGE= http://www.opensc-project.org/openct/
|
2005-10-04 21:58:54 +00:00
|
|
|
|
|
|
|
MAINTAINER= Douglas Santos <dsantos@hydroxyl.org>
|
|
|
|
|
2008-12-23 19:09:32 +00:00
|
|
|
# LGPLv2.1
|
2005-10-04 21:58:54 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-02-05 11:00:55 +00:00
|
|
|
MASTER_SITES= http://www.opensc-project.org/files/openct/
|
2005-10-04 21:58:54 +00:00
|
|
|
|
2010-11-20 17:22:40 +00:00
|
|
|
WANTLIB= c usb>=8 ltdl>=4
|
|
|
|
LIB_DEPENDS= devel/libusb \
|
|
|
|
devel/libtool,-ltdl
|
2005-10-04 21:58:54 +00:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2010-10-18 21:41:44 +00:00
|
|
|
USE_GROFF = Yes
|
2005-10-04 21:58:54 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu old
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--sysconfdir=${SYSCONFDIR} \
|
2008-12-23 19:09:32 +00:00
|
|
|
--enable-usb \
|
|
|
|
--with-daemon-user=_openct \
|
|
|
|
--with-daemon-groups=_openct
|
2010-09-14 10:31:50 +00:00
|
|
|
|
|
|
|
FAKE_FLAGS= mandir="${PREFIX}/man/"
|
2008-12-23 19:09:32 +00:00
|
|
|
|
|
|
|
CONFIGURE_ENV= PTHREAD_LIBS=-pthread \
|
|
|
|
LTLIB_CFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl"
|
2005-10-04 21:58:54 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openct
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/etc/openct.conf \
|
|
|
|
${PREFIX}/share/examples/openct
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|