head	1.7;
access;
symbols
	RELEASE_8_3_0:1.7
	RELEASE_9_0_0:1.7
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.7
	RELEASE_7_3_0:1.7
	RELEASE_8_0_0:1.7
	RELEASE_7_2_0:1.7
	RELEASE_7_1_0:1.7
	RELEASE_6_4_0:1.7
	RELEASE_5_EOL:1.7
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7
	PRE_XORG_7:1.7
	RELEASE_4_EOL:1.7
	RELEASE_6_2_0:1.6
	RELEASE_6_1_0:1.6
	RELEASE_5_5_0:1.6
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.1;
locks; strict;
comment	@# @;


1.7
date	2007.01.09.21.33.56;	author miwi;	state Exp;
branches;
next	1.6;

1.6
date	2005.12.03.19.30.14;	author tdb;	state Exp;
branches;
next	1.5;

1.5
date	2005.08.29.14.58.21;	author pav;	state Exp;
branches;
next	1.4;

1.4
date	2005.05.22.16.43.56;	author jylefort;	state dead;
branches;
next	1.3;

1.3
date	2005.01.13.20.54.12;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2004.08.09.13.53.10;	author vs;	state Exp;
branches;
next	1.1;

1.1
date	2004.04.10.23.16.07;	author thierry;	state Exp;
branches;
next	;


desc
@@


1.7
log
@- Update to 1.16

PR:		ports/107627
Submitted by:	Wesley Shields <wxs@@csh.rit.edu> (maintainer)
@
text
@--- makefile.orig	Thu Nov 24 12:55:28 2005
+++ makefile	Fri Dec  2 22:38:47 2005
@@@@ -24,7 +24,7 @@@@
 endif
 
 # Compilation flags. Note the += does not write over the user's CFLAGS!
-CFLAGS += -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -Wno-unused-parameter -DLTC_SOURCE
+CFLAGS += -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE -D_WCHAR_T
 
 # additional warnings (newer GCC 3.4 and higher)
 ifdef GCC_34
@@@@ -35,10 +35,10 @@@@
 ifndef IGNORE_SPEED
 
 # optimize for SPEED
-CFLAGS += -O3 -funroll-loops
+#CFLAGS += -O3 -funroll-loops
 
 # add -fomit-frame-pointer.  hinders debugging!
-CFLAGS += -fomit-frame-pointer
+#CFLAGS += -fomit-frame-pointer
 
 # optimize for SIZE
 #CFLAGS += -Os -DLTC_SMALL_CODE
@@@@ -275,11 +275,11 @@@@
 endif
 	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
 	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
-	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(DATAPATH)
 	install -g $(GROUP) -o $(USER) $(LIBNAME) $(DESTDIR)$(LIBPATH)
 	install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
 ifndef NODOCS
-	install -g $(GROUP) -o $(USER) doc/crypt.pdf $(DESTDIR)$(DATAPATH)
+	install -d -g $(GROUP) -o $(USER) $(DATAPATH)
+	install -g $(GROUP) -o $(USER) doc/crypt.pdf $(DATAPATH)
 endif
 
 install_test: testprof/$(LIBTEST)
@@@@ -333,7 +333,7 @@@@
 	latex crypt > /dev/null
 	makeindex crypt.idx > /dev/null
 	latex crypt > /dev/null
-	dvipdf crypt
+	dvipdft crypt
 	mv -ivf crypt.pdf doc/crypt.pdf
 	rm -f $(LEFTOVERS)
 
@


1.6
log
@- Update to 1.08

PR:		89861
Submitted by:	Wesley Shields <wxs@@csh.rit.edu> (maintainer)
Approved by:	clement (mentor)
@
text
@d8 1
a8 1
+CFLAGS += -c -I./testprof/ -I./src/headers/ -Wall -Wsign-compare -W -Wshadow -DLTC_SOURCE
@


1.5
log
@- Update to 1.06
- Provide options for new mathematical backends
- Transfer maintainership to submitter

PR:		ports/83040
Submitted by:	Wesley Shields <wxs@@csh.rit.edu>
Approved by:	Afarsec <afarsec@@012.net.il> (maintainer)
@
text
@d1 4
a4 4
--- makefile.orig	Thu Aug 18 13:07:13 2005
+++ makefile	Thu Aug 18 13:10:14 2005
@@@@ -15,7 +15,7 @@@@
 #ARFLAGS=r
d11 2
a12 2
 #CFLAGS += -Wsystem-headers -Wdeclaration-after-statement -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wmissing-prototypes \
@@@@ -24,10 +24,10 @@@@
d25 2
a26 2
@@@@ -249,10 +249,16 @@@@
 install: library docs
a29 8
+	install -d -g $(GROUP) -o $(USER) $(DATAPATH)
+	install -g $(GROUP) -o $(USER) $(LIBNAME) $(DESTDIR)$(LIBPATH)
+	install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH)
+	install -g $(GROUP) -o $(USER) doc/crypt.pdf $(DATAPATH)
+
+install_lib: library
+	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
+	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH)
d32 1
d34 3
d39 1
a39 2
 	install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH)
@@@@ -305,7 +311,7 @@@@
@


1.4
log
@- Update to 1.02 [1]
- Do not use optimization CFLAGS
- OPTIONSify
- When WITH_DOCS is defined, do not run-depend on ghostscript-gnu (the
  user is free to use his favorite pdf viewer)
- Sort pkg-plist

PR:		ports/81356 [1]
Submitted by:	maintainer [1]
@
text
@d1 4
a4 17
--- makefile.orig	Thu Dec 30 19:55:17 2004
+++ makefile	Tue Jan 11 12:10:05 2005
@@@@ -50,13 +50,13 @@@@
 #INCPATH-The directory to install the header files for libtomcrypt.
 #DATAPATH-The directory to install the pdf docs.
 DESTDIR=
-LIBPATH=/usr/lib
-INCPATH=/usr/include
-DATAPATH=/usr/share/doc/libtomcrypt/pdf
+LIBPATH=$(PREFIX)/lib
+INCPATH=$(PREFIX)/include
+DATAPATH=$(PREFIX)/share/doc/libtomcrypt/pdf
 
 #Who do we install as?
 USER=root
-GROUP=root
+GROUP=wheel
d6 3
a8 1
 #List of objects to compile.
d10 35
a44 1
@@@@ -251,7 +251,7 @@@@
@


1.3
log
@- Update to 1.0

PR:		ports/76185
Submitted by:	Wesley Shields <wxs@@csh.rit.edu>
Approved by:	Jonatan B <onatan@@gmail.com> (maintained)
@
text
@@


1.2
log
@Update to 0.98

Closes PR:	ports/68496
Submitted by:	Wesley Shields, Yonatan Bokovza (maintainer)
@
text
@d1 3
a3 4
--- makefile.orig	Mon Aug  9 11:52:40 2004
+++ makefile	Mon Aug  9 12:03:56 2004
@@@@ -43,10 +43,10 @@@@
 #LIBPATH-The directory for libtomcrypt to be installed to.
d6 1
a6 1
-DESTDIR=
d10 8
a17 4
+DESTDIR=$(PREFIX)
+LIBPATH=/lib
+INCPATH=/include
+DATAPATH=/share/doc/libtomcrypt/pdf
d21 8
a28 20
@@@@ -179,13 +179,15 @@@@
 #This rule installs the library and the header files. This must be run
 #as root in order to have a high enough permission to write to the correct
 #directories and to set the owner and group to root.
-install: library docs
-	install -d -g root -o root $(DESTDIR)$(LIBPATH)
-	install -d -g root -o root $(DESTDIR)$(INCPATH)
-	install -d -g root -o root $(DESTDIR)$(DATAPATH)
-	install -g root -o root $(LIBNAME) $(DESTDIR)$(LIBPATH)
-	install -g root -o root $(HEADERS) $(DESTDIR)$(INCPATH)
-	install -g root -o root doc/crypt.pdf $(DESTDIR)$(DATAPATH)
+install: docs install-nodocs
+	install -d -g wheel -o root $(DESTDIR)$(DATAPATH)
+	install -g wheel -o root doc/crypt.pdf $(DESTDIR)$(DATAPATH)
+
+install-nodocs: library
+	install -d -g wheel -o root $(DESTDIR)$(LIBPATH)
+	install -d -g wheel -o root $(DESTDIR)$(INCPATH)
+	install -g wheel -o root $(LIBNAME) $(DESTDIR)$(LIBPATH)
+	install -g wheel -o root $(HEADERS) $(DESTDIR)$(INCPATH)
a29 2
 #This rule cleans the source tree of all compiled code, not including the pdf
 #documentation.
@


1.1
log
@Add libtomcrypt 0.92, comprehensive, modular and portable
cryptographic toolkit.

PR:		62581
Submitted by:	Yonatan <Yonatan@@Xpert.com>
Approved by:	pav (mentor).
@
text
@d1 3
a3 3
--- makefile.orig	Wed Dec 24 20:59:55 2003
+++ makefile	Sat Apr 10 23:01:52 2004
@@@@ -52,9 +52,9 @@@@
d10 1
d14 1
a14 1
 DATAPATH=/usr/share/doc/libtomcrypt/pdf
a16 1
@@@@ -106,6 +106,7 @@@@
d18 1
a18 7
 #This rule makes the test program included with libtomcrypt
 test: library $(TESTOBJECTS)
+	mv $(TEST).o demos
 	$(CC) $(TESTOBJECTS) $(LIBNAME) -o $(TEST) $(WARN)
 
 #This rule makes the hash program included with libtomcrypt
@@@@ -129,13 +130,19 @@@@
d28 4
a31 5
-	install -g root -o root crypt.pdf $(DESTDIR)$(DATAPATH)
+install: library docs install-nodocs
+	install -d -g wheel -o root $(DOCSDIR)
+	install -g wheel -o root crypt.pdf $(DOCSDIR)
+	install -g wheel -o root notes/* $(DOCSDIR)
d33 1
a33 1
+install-nodocs:
a35 1
+	install -d -g wheel -o root $(EXAMPLESDIR)
a37 2
+	install -g wheel -o root examples/* $(EXAMPLESDIR)
+	install -g wheel -o root demos/* $(EXAMPLESDIR)
@

