head	1.3;
access;
symbols
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1;
locks; strict;
comment	@# @;


1.3
date	2007.01.05.18.42.55;	author miwi;	state dead;
branches;
next	1.2;

1.2
date	2005.04.20.12.42.04;	author arved;	state Exp;
branches;
next	1.1;

1.1
date	2003.01.20.07.00.02;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.3
log
@2007-01-01 graphics/teddy: No new releases in the past 4 years
2007-01-01 net/arla: "does not compile"
2007-01-02 sysutils/lsmlib: distfile and homepage disappeared
2007-01-02 security/ifd-gpr400: distfile and homepage disappeared
2007-01-04 science/mmtk: distfile and homepage disappeared
2007-01-04 print/xtem: distfile and homepage disappeared
2007-01-04 net/mrt: distfile and homepage disappeared
@
text
@--- Makefile.orig	Thu Aug  9 07:14:42 2001
+++ Makefile	Mon Apr 11 21:07:03 2005
@@@@ -1,36 +1,39 @@@@
-# GPR400 IFD Handler Makefile
-# 
-# Author: Joe Phillips <joe.phillips@@innovationsw.com>
-# Based on the IFD Devkit Makefile by David Corcoran and MUSCLE
 #
-# $Id: Makefile,v 1.2 2001/08/09 05:14:42 jaiger Exp $
+# BSD makefile for ifd-gpr400
 #
 
-CC       = cc
-CFLAGS   = -g -fpic -w
-LD       = ld
-LEX      = flex
-OBJ     := $(filter-out test.o, $(patsubst %.c,%.o,$(wildcard *.c)))
-INCLUDE  = -I.
+DESTDIR?=	${PREFIX}
 
-MAKEXE   = make
-LIBNAME  = libgpr400_ifd.so
-PREFIX   = /usr/local/pcsc
+# XXX
+LIBDIR=		/lib
+#LIBDIR=		/pcsc
+INCSDIR=	/include
 
-DEFS     = -DPCSC_DEBUG=1 #-DATR_DEBUG=1
+SHLIB_NAME=	libgpr400_ifd.so
+SHLIB_MAJOR=	0
+SHLIB_MINOR=	3
 
-all: unix
+NOMAN=		1
+NOPROFILE=	1
 
-clean:
-	rm -f *.o $(LIBNAME) core
+.if !defined(NO_DEBUG)
+CFLAGS+=	-g -Wall
+.endif
 
-osx: $(OBJ)
-	$(CC) -dynamiclib $(OBJ) -o $(LIBNAME)
+GPRDEVNAME?=	/dev/gprsc0
 
-unix: $(OBJ)
-	$(LD) -shared $(OBJ) -o $(LIBNAME)
+CFLAGS+=	-I. -I${DESTDIR}${INCSDIR}/PCSC -I${DESTDIR}${INCSDIR} -DGPRDEVNAME=\"${GPRDEVNAME}\"
+LDFLAGS+=	-L${DESTDIR}/lib
+LDADD+=		-lpcsclite
 
-$(patsubst %.c,%.o,$(wildcard *.c)) : %.o : %.c
-	$(CC) $(CFLAGS) -c $< $(INCLUDE) $(DEFS)
+.if !defined(NO_PCSC_DEBUG)
+CFLAGS+=	-DPCSC_DEBUG=1
+.if defined(PCSC_ATR_DEBUG)
+CFLAGS+=	-DATR_DEBUG=1
+.endif
+.endif
 
-##
+SRCS=	gpr400_ifd.c
+INCS=	gpr400.h
+
+.include <bsd.lib.mk>
@


1.2
log
@pcsc-lite:
- Upgrade to 1.2.9.b.7
- Use libtool15
- make hier(7)-compliant by moving the pcsc/drivers to lib/pcsc/drivers
- Compile with USB support per default. Use WITHOUT_USB to disable usb
  support
- Chase libusb shared library version (Forgotten by leeym)

Based on:	PR 76068
Reviewed by:	maintainer, sem (earlier patch)

ifd-devkit:
- Chase pcsclite sharedlibrary version

ifd-gempc410:
- Unbreak by updating to 0.9.3
- Move library to lib/pcsc/drivers
- Chase pcsclite sharedlibrary version
  NOTE: This was not tested, I don't own the specific hardware

ifd-gpr400:
- Chase pcsclite sharedlibrary version
- Fix build with new pcsc-lite
- Chase new pcsclite drivers location

ifd-slb_rf60:
- Chase pcsclite sharedlibrary version

ifd-test:
- Chase pcsclite sharedlibrary version
- Fix build with new pcsclite

libchipcard:
- Update to 0.9.1[1]
- Chase pcsclite shared library version
- Fix build with new pcsclite

[1]PR:			78815
[1]Submitted by:	lofi

opensc:
- Chase pcsclite shared library version
- Fix build on CURRENT

opensc-esteid
- Chase pcsclite shared library version
- Fix build with new pcsclite

p5-PCSC-Card:
- Update to 1.4.2
- Chase pcsclite shared library version
- Fix build with new pcsclite

ruby-pcsc-lite
- Mark broken, does not compile with new pcsc-lite
  Maintainer will work on new version

Submitted by:	maintainer
@
text
@@


1.1
log
@New port: security/ifd-gpr400: PC/SC Lite IFD for Gemplus GPR400

	This is the user-space IFD driver to support the Gemplus
	GPR400 PCMCIA Smart Card Reader under PC/SC Lite.

PR:		ports/42697
Submitted by:	Bruce M Simpson <bms@@spc.org>
@
text
@d1 3
a3 3
--- Makefile.orig	Thu Aug  9 06:14:42 2001
+++ Makefile	Sun Sep  8 18:11:11 2002
@@@@ -1,36 +1,41 @@@@
a18 2
+#XXX
+PREFIX?=	/usr/local
d20 4
a23 1
+
d28 2
a29 1
+
d33 2
a34 1
+
d37 3
a39 1
+
d43 3
a45 1
+
d47 4
a50 2
+
+CFLAGS+=	-I. -I${DESTDIR}${INCSDIR} -DGPRDEVNAME=\"${GPRDEVNAME}\"
d53 3
a55 1
+
d63 1
a63 3
-MAKEXE   = make
-LIBNAME  = libgpr400_ifd.so
-PREFIX   = /usr/local/pcsc
d66 1
a66 18
 
-DEFS     = -DPCSC_DEBUG=1 #-DATR_DEBUG=1
-
-all: unix
-
-clean:
-	rm -f *.o $(LIBNAME) core
-
-osx: $(OBJ)
-	$(CC) -dynamiclib $(OBJ) -o $(LIBNAME)
-
-unix: $(OBJ)
-	$(LD) -shared $(OBJ) -o $(LIBNAME)
-
-$(patsubst %.c,%.o,$(wildcard *.c)) : %.o : %.c
-	$(CC) $(CFLAGS) -c $< $(INCLUDE) $(DEFS)
-
-##
@

