747492387e
from Douglas Santos (MAINTAINER), with cleanups and tweaks by me
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.11 2008/12/23 19:09:32 jasper Exp $
|
|
|
|
COMMENT= drivers for several smart card readers
|
|
|
|
DISTNAME= openct-0.6.15
|
|
CATEGORIES= security
|
|
SHARED_LIBS= openct 1.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 pthread
|
|
LIB_DEPENDS= usb.>=8::devel/libusb \
|
|
ltdl.>=4::devel/libtool,-ltdl
|
|
|
|
USE_GMAKE= Yes
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE=gnu old
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
--enable-static \
|
|
--sysconfdir=${SYSCONFDIR} \
|
|
--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"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/openct
|
|
${INSTALL_DATA} ${WRKSRC}/etc/openct.conf \
|
|
${PREFIX}/share/examples/openct
|
|
|
|
.include <bsd.port.mk>
|