head	1.2;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	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.2
	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;
locks; strict;
comment	@# @;


1.2
date	2005.01.14.13.05.30;	author bms;	state Exp;
branches;
next	1.1;

1.1
date	2003.09.29.00.05.14;	author bms;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Fix package.
@
text
@--- Makefile.orig	Thu Jun 19 22:02:19 2003
+++ Makefile	Fri Jan 14 12:58:03 2005
@@@@ -1,10 +1,10 @@@@
-VERSION=	3.1
+VERSION=	3
 TARGETS=	libsectok.a libsectok.so.$(VERSION) 
-PREFIX=		/usr/local
+PREFIX?=	/usr/local
 
 # You might have to add -I/usr/include/openssl to CFLAGS
 CFLAGS=		-g -Wall -DDL_READERS
-LDFLAGS=	-x -Bshareable -Bforcearchive -shared
+LDFLAGS=	-shared -x --whole-archive
 
 # You may have to add getopt.c to SRC if your getopt doesn't have optreset
 SRC=		atr.c cmdtab.c cyberflex.c ifdwrapper.c input.c r1r2.c \
@


1.1
log
@New port: security/libsectok

PR:		ports/39777
@
text
@d1 2
a2 2
--- Makefile.orig	Thu Jan  3 20:26:00 2002
+++ Makefile	Fri Aug 23 13:12:59 2002
d4 2
a5 1
 VERSION=	3.1
d16 1
a16 10
 SRC=		atr.c cmdtab.c cyberflex.c input.c r1r2.c readers.c sc7816.c sectok.c
@@@@ -47,6 +47,8 @@@@
 install :
 	$(INSTALL) -m 755 sectok.h $(PREFIX)/include
 	$(INSTALL) -m 755 $(TARGETS) $(PREFIX)/lib
+	ln -s $(PREFIX)/lib/libsectok.so.${VERSION} $(PREFIX)/lib/libsectok.so.3
+	$(INSTALL) -m 644 sectok.3 $(PREFIX)/man/man3
 
 release :
 	rm -rf $(RELEASE)
@

