freebsd-ports/security/openct/Makefile
Pav Lucistnik 7ea7c22500 OpenCT, a middleware framework for smart card terminals.
It all started with a reader driver library to provide a framework for people
writing drivers for smart card readers. The idea was to provide all the usual
stuff (T=0, T=1, serial vs. USB device handling, etc) in a single place, and
reduce driver writing to interaction with the device itself.

OpenCT provides a native OpenCT, CT-API and PC/SC Lite IFD interface with an
OpenCT ifdhandler resource manager.

PR:		ports/82990
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu>
2005-07-06 14:35:12 +00:00

51 lines
1.4 KiB
Makefile

# New ports collection makefile for: openct
# Date created: 2004-09-08
# Whom: Janos Mohacsi <janos.mohacsi@bsd.hu>
#
# $FreeBSD$
#
PORTNAME= openct
PORTVERSION= 0.6.5
CATEGORIES= security
MASTER_SITES= http://www.opensc.org/files/
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= A middleware framework for smart card terminals
USE_LIBTOOL_VER= 15
USE_GMAKE= yes
USE_GNOME= pkgconfig
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
MAN1= openct-tool.1
DOC_FILES= README export-wiki.sh export-wiki.xsl ${HTML_FILES}
HTML_FILES= AuthorsAndCredits.html FilesTools.html LicenseText.html \
OperatingSystems.html QuickStart.html RecentResults.html \
RemoteAccess.html SecureSetup.html SupportedReaders.html \
TroubleShooting.html cardman.html ccid.html egate.html \
etoken.html eutron.html gempc.html ikey2032.html \
ikey3000.html index.html kaan.html smartboard.html \
towitoko.html trac.css
.if !defined(WITHOUT_PCSC_LITE)
LIB_DEPENDS+= pcsclite.1:${PORTSDIR}/devel/pcsc-lite
.endif
post-install:
#run files
${MKDIR} /var/run/${PORTNAME}
#sample config file
${INSTALL_DATA} ${WRKSRC}/etc/openct.conf ${PREFIX}/etc/openct.conf-sample
#start daemons script
${INSTALL_SCRIPT} ${WRKSRC}/etc/init-script ${PREFIX}/etc/rc.d/openct.sh
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOC_FILES} ${DOCSDIR}
.endif
.include <bsd.port.mk>