openbsd-ports/security/openct/Makefile
ajacoutot fcbe5f3ae2 Sync dependencies after move from libusb to libusb-compat and fix a
couple of fallouts. Note that these ports are only the ones that used to
have a direct dependency on devel/libusb so there may be some other
hidden ports that may break because of the switch. If that's the case,
no need to start ranting all over but instead tell me which one(s)
break. Thanks.

Note: sysutils/nut hasn't been fixed yet but will be today.
2011-11-13 13:54:04 +00:00

51 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.19 2011/11/13 13:54:04 ajacoutot Exp $
COMMENT= drivers for several smart card readers
DISTNAME= openct-0.6.20
CATEGORIES= security
SHARED_LIBS= openct 1.1
REVISION= 1
HOMEPAGE= http://www.opensc-project.org/openct/
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= http://www.opensc-project.org/files/openct/
WANTLIB += c ltdl pthread usb usb-1.0
LIB_DEPENDS= devel/libusb-compat \
devel/libtool,-ltdl
USE_GMAKE= Yes
USE_LIBTOOL= Yes
USE_GROFF = Yes
CONFIGURE_STYLE=gnu old
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-static \
--sysconfdir=${SYSCONFDIR} \
--enable-usb \
--with-daemon-user=_openct \
--with-daemon-groups=_openct
FAKE_FLAGS= mandir="${PREFIX}/man/"
CONFIGURE_ENV= PTHREAD_LIBS=-pthread \
LTLIB_CFLAGS="-I${LOCALBASE}/include" \
LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openct
${INSTALL_DATA} ${WRKSRC}/etc/openct.conf \
${PREFIX}/share/examples/openct
.include <bsd.port.mk>