head	1.34;
access;
symbols
	RELEASE_8_3_0:1.33
	RELEASE_9_0_0:1.33
	RELEASE_7_4_0:1.33
	RELEASE_8_2_0:1.33
	RELEASE_6_EOL:1.32
	RELEASE_8_1_0:1.32
	RELEASE_7_3_0:1.32
	RELEASE_8_0_0:1.30
	RELEASE_7_2_0:1.24
	RELEASE_7_1_0:1.22
	RELEASE_6_4_0:1.22
	RELEASE_5_EOL:1.17
	RELEASE_7_0_0:1.16
	RELEASE_6_3_0:1.16
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.12
	RELEASE_6_2_0:1.10
	RELEASE_6_1_0:1.5
	RELEASE_5_5_0:1.5
	RELEASE_6_0_0:1.2;
locks; strict;
comment	@# @;


1.34
date	2012.11.17.06.01.09;	author svnexp;	state Exp;
branches;
next	1.33;

1.33
date	2010.12.04.07.33.29;	author ade;	state Exp;
branches;
next	1.32;

1.32
date	2010.02.16.11.22.05;	author ale;	state Exp;
branches;
next	1.31;

1.31
date	2010.01.07.11.38.52;	author ale;	state Exp;
branches;
next	1.30;

1.30
date	2009.09.25.10.40.27;	author ale;	state Exp;
branches;
next	1.29;

1.29
date	2009.08.02.19.35.31;	author mezz;	state Exp;
branches;
next	1.28;

1.28
date	2009.07.29.07.46.06;	author ale;	state Exp;
branches;
next	1.27;

1.27
date	2009.05.13.06.23.58;	author ale;	state Exp;
branches;
next	1.26;

1.26
date	2009.05.13.05.22.16;	author ale;	state Exp;
branches;
next	1.25;

1.25
date	2009.05.12.06.25.13;	author ale;	state Exp;
branches;
next	1.24;

1.24
date	2009.04.10.13.31.17;	author ale;	state Exp;
branches;
next	1.23;

1.23
date	2009.03.24.11.17.53;	author ale;	state Exp;
branches;
next	1.22;

1.22
date	2008.08.28.06.21.39;	author ale;	state Exp;
branches;
next	1.21;

1.21
date	2008.08.27.21.15.18;	author ale;	state Exp;
branches;
next	1.20;

1.20
date	2008.08.26.15.46.41;	author ale;	state Exp;
branches;
next	1.19;

1.19
date	2008.08.26.14.58.16;	author ale;	state Exp;
branches;
next	1.18;

1.18
date	2008.08.26.13.33.24;	author ale;	state Exp;
branches;
next	1.17;

1.17
date	2008.04.19.17.53.27;	author miwi;	state Exp;
branches;
next	1.16;

1.16
date	2007.10.28.08.11.25;	author ale;	state Exp;
branches;
next	1.15;

1.15
date	2007.08.28.06.07.22;	author ale;	state Exp;
branches;
next	1.14;

1.14
date	2007.07.23.09.36.31;	author rafan;	state Exp;
branches;
next	1.13;

1.13
date	2007.07.17.09.21.16;	author ale;	state Exp;
branches;
next	1.12;

1.12
date	2006.11.26.10.14.53;	author ale;	state Exp;
branches;
next	1.11;

1.11
date	2006.11.15.06.51.23;	author ale;	state Exp;
branches;
next	1.10;

1.10
date	2006.09.22.16.58.30;	author ale;	state Exp;
branches;
next	1.9;

1.9
date	2006.06.19.19.48.18;	author ale;	state Exp;
branches;
next	1.8;

1.8
date	2006.06.13.08.31.20;	author ale;	state Exp;
branches;
next	1.7;

1.7
date	2006.06.12.16.53.46;	author ale;	state Exp;
branches;
next	1.6;

1.6
date	2006.03.31.03.49.24;	author ijliao;	state Exp;
branches;
next	1.5;

1.5
date	2006.02.23.10.39.02;	author ade;	state Exp;
branches;
next	1.4;

1.4
date	2005.11.15.06.51.02;	author ade;	state Exp;
branches;
next	1.3;

1.3
date	2005.10.11.17.30.43;	author garga;	state Exp;
branches;
next	1.2;

1.2
date	2005.07.31.12.06.25;	author sem;	state Exp;
branches;
next	1.1;

1.1
date	2005.07.06.14.35.12;	author pav;	state Exp;
branches;
next	;


desc
@@


1.34
log
@Switch exporter over
@
text
@# New ports collection makefile for:	openct
# Date created:		2004-09-08
# Whom:			Janos Mohacsi <janos.mohacsi@@bsd.hu>
#
# $FreeBSD: head/security/openct/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	openct
PORTVERSION=	0.6.20
CATEGORIES=	security
MASTER_SITES=	http://www.opensc-project.org/files/${PORTNAME}/ \
		http://www.opensc-project.org/files/${PORTNAME}/testing/

MAINTAINER=	ale@@FreeBSD.org
COMMENT=	A middleware framework for smart card terminals

OPTIONS=	PCSC "Enable PC/SC support" off

USE_AUTOTOOLS=	libltdl
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_GNOME=	pkgconfig
USE_LDCONFIG=	yes
USE_RC_SUBR=	openct
SUB_FILES=	etoken.conf

CONFIGURE_ENV=	LTLIB_CFLAGS="-I${LOCALBASE}/include" \
		LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl"

CONFIGURE_ARGS=	--localstatedir=/var

MAN1=		openct-tool.1

PORTDOCS=	*

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 800069
CONFIGURE_ENV+=	LIBUSB_CFLAGS="-I/usr/include" \
		LIBUSB_LIBS="-lusb"

CONFIGURE_ARGS+=--enable-usb
.endif

.if defined(WITH_PCSC)
LIB_DEPENDS+=	pcsclite.1:${PORTSDIR}/devel/pcsc-lite
CONFIGURE_ARGS+=--enable-pcsc
PLIST_SUB+=	PCSC=""
.else
PLIST_SUB+=	PCSC="@@comment "
.endif

.ifndef(NOPORTDOCS)
CONFIGURE_ARGS+=--enable-doc
.endif

post-patch:
	@@${REINPLACE_CMD} 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \
		${WRKSRC}/configure
.ifndef(NOPORTDOCS)
	@@${REINPLACE_CMD} 's|install-data-am: install-dist_apidocDATA install-dist_docDATA|install-data-am: install-dist_docDATA|' \
		${WRKSRC}/doc/Makefile.in
.else
	@@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \
		${WRKSRC}/Makefile.in
	@@${REINPLACE_CMD} 's|install-data-am: install-dist_apidocDATA install-dist_docDATA|install-data-am:|' \
		${WRKSRC}/doc/Makefile.in
.endif

post-install:
	@@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA}	${WRKDIR}/etoken.conf ${EXAMPLESDIR}
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.33
log
@Sync to new bsd.autotools.mk
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.32
log
@Update to 0.6.20 release.

Feature safe:	yes
@
text
@d19 1
a19 1
USE_AUTOTOOLS=	libltdl:22
@


1.31
log
@Update to 0.6.19 release.
@
text
@d9 1
a9 1
PORTVERSION=	0.6.19
@


1.30
log
@Update to 0.6.18 release.

Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	0.6.18
@


1.29
log
@-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
@
text
@d9 1
a9 2
PORTVERSION=	0.6.17
PORTREVISION=	1
@


1.28
log
@Update to 0.6.17 release.
@
text
@d10 1
d20 1
a20 1
USE_AUTOTOOLS=	libltdl:15
@


1.27
log
@Really fix NOPORTDOCS.
@
text
@d9 1
a9 1
PORTVERSION=	0.6.16
@


1.26
log
@Fix NOPORTDOCS.
@
text
@d66 1
a66 1
	@@${REINPLACE_CMD} 's|install-data-am: install-apidocDATA install-dist_docDATA|install-data-am:|' \
@


1.25
log
@Update to 0.6.16 release.
@
text
@d61 1
a61 1
	@@${REINPLACE_CMD} 's|install-data-am: install-apidocDATA install-dist_docDATA|install-data-am: install-dist_docDATA|' \
@


1.24
log
@Really fix build on -CURRENT.
@
text
@d9 1
a9 2
PORTVERSION=	0.6.15
PORTREVISION=	2
@


1.23
log
@Fix build with -CURRENT USB code.

Submitted by:	thompsa
@
text
@d40 3
@


1.22
log
@Cosmetic fixes.
@
text
@d39 4
@


1.21
log
@The status file is now automatically removed on shutdown.
@
text
@d31 1
a31 2
CONFIGURE_ARGS=	--with-ifddir=${PREFIX}/lib/ifd \
		--localstatedir=/var
@


1.20
log
@Use the correct way (and path) to install documentation (and bump PORTREVISION).
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.19
log
@Fix plist when NOPORTDOCS is defined.
@
text
@d10 1
a35 2
DOC_FILES=	trac.css *.html

d48 4
a67 3
.ifndef(NOPORTDOCS)
	@@(cd ${WRKSRC}/doc/nonpersistent/wiki.out/ && ${CP} -R ${DOC_FILES} ${DOCSDIR})
.endif
@


1.18
log
@Update to 0.6.15 release.
@
text
@d52 9
a65 1
	@@${MKDIR} ${DOCSDIR}
@


1.17
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
DISTVERSION=	0.6.14
d17 1
a17 2
OPTIONS=	USB "Install libusb for USB tokens/readers support" on \
		PCSC "Install pcsc-lite to build the PC/SC->OpenCT frontend" off
d22 1
a22 1
USE_GNOME=	gnomehack pkgconfig
d27 5
a31 2
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
d35 1
a35 1
DOC_FILES=	README export-wiki.sh export-wiki.xsl trac.css *.html api
d41 1
a41 5
.if !defined(WITHOUT_USB) || exists(${LOCALBASE}/lib/libusb-0.1.so)
LIB_DEPENDS+=	usb-0.1.8:${PORTSDIR}/devel/libusb
.endif

.if defined(WITH_PCSC) || exists(${LOCALBASE}/lib/libpcsclite.so)
d43 1
d49 4
a53 1
	${INSTALL_DATA}	${WRKSRC}/etc/openct.conf ${PREFIX}/etc/openct.conf-sample
d58 1
a58 1
	@@(cd ${WRKSRC}/doc && ${CP} -R ${DOC_FILES} ${DOCSDIR})
@


1.16
log
@Update to 0.6.14 release.
@
text
@d24 1
a24 1
INSTALLS_SHLIB=	yes
@


1.15
log
@Update to 0.6.13 release.
@
text
@d9 1
a9 1
DISTVERSION=	0.6.13
@


1.14
log
@- Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
  supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
@
text
@d9 1
a9 1
DISTVERSION=	0.6.12
@


1.13
log
@Update to 0.6.12 final release.
@
text
@a30 2
CONFIGURE_ARGS=	--mandir=${PREFIX}/man

@


1.12
log
@Update to 0.6.12-pre1 release.
@
text
@d9 1
a9 1
DISTVERSION=	0.6.12-pre1
@


1.11
log
@Update to 0.6.11-pre1 release (it's 0.6.10 + a few BSD fixes).
@
text
@d9 1
a9 1
DISTVERSION=	0.6.11-pre1
@


1.10
log
@Update to 0.6.9 release.
@
text
@d9 1
a9 1
PORTVERSION=	0.6.9
d11 2
a12 1
MASTER_SITES=	http://www.opensc-project.org/files/${PORTNAME}/
d31 2
@


1.9
log
@Update to 0.6.8 release.
@
text
@d9 1
a9 1
PORTVERSION=	0.6.8
@


1.8
log
@Shorten option description to fit in window.
@
text
@d9 1
a9 1
PORTVERSION=	0.6.7
@


1.7
log
@Update to 0.6.7 release:
- OPTIONS'ify
- convert startup script to rcNG
- take maintainership
- add sample script for hot-plug support

Approved by:	maintainer timeout
@
text
@d17 1
a17 1
		PCSC "Install pcsc-lite to build the PC/SC -> openCT frontend" off
@


1.6
log
@change master site

PR:		95034
Submitted by:	maintainer
@
text
@d9 1
a9 2
PORTVERSION=	0.6.6
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	http://www.opensc-project.org/files/openct/
d13 1
a13 1
MAINTAINER=	janos.mohacsi@@bsd.hu
d16 3
d22 1
a22 1
USE_GNOME=	pkgconfig
d24 2
d27 2
a28 1
CONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib"
d32 3
a34 1
DOC_FILES=	README export-wiki.sh export-wiki.xsl ${HTML_FILES}
d36 5
a40 8
HTML_FILES=	AuthorsAndCredits.html DevelopmentPolicy.html FilesTools.html \
	 	LicenseText.html MailingLists.html OperatingSystems.html \
 		OverView.html QuickStart.html RemoteAccess.html \
	 	ResourcesLinks.html SecureSetup.html \
 	 	TroubleShooting.html cardman.html ccid.html egate.html \
 	 	etoken.html eutron.html gempc.html ikey2032.html \
	 	ikey3000.html index.html kaan.html pertosmart1030.html smartboard.html \
 	 	towitoko.html trac.css
d42 1
a42 1
.if !defined(WITHOUT_PCSC_LITE)
d44 3
a49 3
	#run files
	${MKDIR} /var/run/${PORTNAME}
	#sample config file
d51 2
a52 2
	#start daemons script
	${INSTALL_SCRIPT} ${WRKSRC}/etc/init-script ${PREFIX}/etc/rc.d/openct.sh
d55 1
a55 1
	cd ${WRKSRC}/doc && ${INSTALL_DATA} ${DOC_FILES} ${DOCSDIR}
d57 1
d59 1
a59 1
.include <bsd.port.mk>
@


1.5
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@d12 1
a12 2
MASTER_SITES=	http://www.opensc.org/files/ \
		http://www.opensc.org/files/old/
@


1.4
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d10 1
d18 2
a19 1
USE_AUTOTOOLS=	libltdl:15 libtool:15
@


1.3
log
@- Update to 0.6.6

PR:		ports/87259
Submitted by:	maintainer
@
text
@d17 1
a17 2
USE_LIBTOOL_VER=	15
USE_LIBLTDL=	yes
@


1.2
log
@- Look for libraries in LOCALBASE

PR:		ports/83455
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	0.6.5
d11 2
a12 1
MASTER_SITES=	http://www.opensc.org/files/
d18 1
a22 1
CONFIGURE_ARGS=	--prefix=${PREFIX}
d29 8
a36 7
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
@


1.1
log
@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>
@
text
@d22 1
@

