2009-03-13 17:33:43 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2009/03/13 21:33:43 jasper 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
|
|
|
|
2008-12-23 14:09:32 -05:00
|
|
|
DISTNAME= openct-0.6.15
|
2009-03-13 17:33:43 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2005-10-04 17:58:54 -04:00
|
|
|
CATEGORIES= security
|
2008-12-23 14:09:32 -05:00
|
|
|
SHARED_LIBS= openct 1.1
|
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
|
|
|
|
|
|
|
WANTLIB= c pthread
|
2006-08-03 19:55:10 -04:00
|
|
|
LIB_DEPENDS= usb.>=8::devel/libusb \
|
|
|
|
ltdl.>=4::devel/libtool,-ltdl
|
2005-10-04 17:58:54 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu old
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--sysconfdir=${SYSCONFDIR} \
|
2008-12-23 14:09:32 -05:00
|
|
|
--with-common-dir=${LOCALBASE} \
|
|
|
|
--enable-usb \
|
|
|
|
--with-daemon-user=_openct \
|
|
|
|
--with-daemon-groups=_openct
|
|
|
|
|
|
|
|
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>
|