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;
locks; strict;
comment	@# @;


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


desc
@@


1.1
log
@new port security/ssss - Shamir's Secret Sharing Scheme

	ssss is an implementation of Shamir's secret sharing scheme
	for UNIX/linux machines. It is free software, the code is
	licensed under the GNU GPL. ssss does both: the generation
	of shares for a known secret and the reconstruction of a
	secret using user provided shares. The software was written
	in 2006 by B. Poettering, it links against the GNU libgmp
	multiprecision library (version 4.1.4 works well) and
	requires the /dev/random entropy source.

PR:		ports/115949
Submitted by:	Lukasz Komsta <luke@@novum.am.lublin.pl>
@
text
@--- Makefile.orig	Thu Aug 30 17:28:27 2007
+++ Makefile	Thu Aug 30 18:06:38 2007
@@@@ -1,17 +1,19 @@@@
-all: ssss-split ssss-combine ssss.1 ssss.1.html
+DESTDIR=/usr/local
+
+all: ssss-split ssss-combine 
 
 ssss-split: ssss.c
-	$(CC) -W -Wall -O2 -lgmp -o ssss-split ssss.c
+	$(CC) -W -Wall -O2 -I/usr/local/include -L/usr/local/lib -lgmp -o ssss-split ssss.c
 	strip ssss-split
+	mv ssss.manpage.xml ssss.1
 
 ssss-combine: ssss-split
 	ln -f ssss-split ssss-combine
 
-ssss.1: ssss.manpage.xml
-	xmltoman ssss.manpage.xml > ssss.1
-
-ssss.1.html: ssss.manpage.xml
-	xmlmantohtml ssss.manpage.xml > ssss.1.html
-
 clean:
-	rm -rf ssss-split ssss-combine ssss.1 ssss.1.html
+	rm -rf ssss-split ssss-combine ssss.1 
+
+install: all
+	install -m0755 ssss-split $(DESTDIR)/bin
+	install -m0755 ssss-combine $(DESTDIR)/bin
+	install -m0644 ssss.1 $(DESTDIR)/man/man1
@
