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