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


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


desc
@@


1.1
log
@New port: security/sectok

PR:		ports/39778
@
text
@--- Makefile.orig	Thu Jan  3 21:16:01 2002
+++ Makefile	Mon Sep 29 01:00:21 2003
@@@@ -1,13 +1,19 @@@@
 # Standard installation:
-INCLUDES=	
-LIBS=		-lsectok -lcrypto
+#INCLUDES=	
+#LIBS=		-lsectok -lcrypto
+
+# FreeBSD
+#PREFIX?=	${PREFIX}
+#LOCALBASE?=	${LOCALBASE}
+INCLUDES=	-I$(LOCALBASE)/include
+LIBS=		-L$(LOCALBASE)/lib -lsectok -lcrypto
 
 # For building locally (libsectok not installed)
 #INCLUDES=	-I../libsectok
 #LIBS=		../libsectok/libsectok.a -lcrypto
 
 # If crypto is included with openssl you might need this
-#INCLUDES=	-I/usr/include/openssl
+INCLUDES+=	-I${OPENSSLINC}
 
 # You shouldn't have to change anything below this line
 
@@@@ -17,7 +23,6 @@@@
 CC=		gcc
 CFLAGS=		-g -Wall
 INSTALL=	install
-PREFIX=		/usr/local
 RELEASE=	sectok-`date "+%Y%m%d"`
 
 all :	$(TARGETS)
@@@@ -30,6 +35,7 @@@@
 
 install :
 	$(INSTALL) $(TARGETS) $(PREFIX)/bin
+	$(INSTALL) sectok.1 $(PREFIX)/man/man1
 
 release :
 	rm -rf $(RELEASE)
@
