aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2002-10-28 07:15:10 +0800
committeradamw <adamw@FreeBSD.org>2002-10-28 07:15:10 +0800
commitafef0bda01a479214625e110cb5f8b26482fdc53 (patch)
tree7241c073e744a22a7175a04aa083b415a2d34a7d /security
parent7ae3a5fd6aa2ffed05e6e6b5c329d90c0628bc34 (diff)
downloadfreebsd-ports-gnome-afef0bda01a479214625e110cb5f8b26482fdc53.tar.gz
freebsd-ports-gnome-afef0bda01a479214625e110cb5f8b26482fdc53.tar.zst
freebsd-ports-gnome-afef0bda01a479214625e110cb5f8b26482fdc53.zip
Fix MASTER_SITES, add CFLAGS support, and allow use of the INSTALL*
macros. PR: 44488 Submitted by: KATO Tsuguru <tkato@prontomail.com> Approved by: pat
Diffstat (limited to 'security')
-rw-r--r--security/tea-total/Makefile3
-rw-r--r--security/tea-total/files/patch-Makefile32
2 files changed, 28 insertions, 7 deletions
diff --git a/security/tea-total/Makefile b/security/tea-total/Makefile
index 001b4b1bf973..22f20f0834fd 100644
--- a/security/tea-total/Makefile
+++ b/security/tea-total/Makefile
@@ -7,9 +7,10 @@
PORTNAME= tea-total
PORTVERSION= 0.4
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.linuxhacker.org/pub/tea-total/ \
- http://www.linuxhacker.org/tea-total/
+ http://www.linuxhacker.org/pub/tea-total/
MAINTAINER= ports@FreeBSD.org
diff --git a/security/tea-total/files/patch-Makefile b/security/tea-total/files/patch-Makefile
index 9d773c203365..2d8a941a7a9f 100644
--- a/security/tea-total/files/patch-Makefile
+++ b/security/tea-total/files/patch-Makefile
@@ -1,20 +1,24 @@
---- Makefile.orig Tue Jan 2 05:04:34 2001
-+++ Makefile Fri Jan 12 02:18:24 2001
-@@ -1,5 +1,5 @@
+--- Makefile.orig Tue Jan 2 22:04:34 2001
++++ Makefile Fri Oct 25 03:32:00 2002
+@@ -1,6 +1,6 @@
include config.inc
-CC = $(CROSS_PREFIX)gcc
+#CC = $(CROSS_PREFIX)gcc
CP = cp -f
RM = rm -f
-@@ -9,5 +9,5 @@
+ LN = ln -sf
+@@ -8,7 +8,7 @@
+ CD = cd
MKDIR = mkdir -p
CMP = cmp
-CFLAGS = -O2 -Wall -DARCH_$(ARCH)
-+CFLAGS += -O2 -Wall -DARCH_$(ARCH)
++CFLAGS += -DARCH_$(ARCH)
LDFLAGS =
BINDIR = $(PREFIX)/bin
-@@ -27,4 +27,9 @@
+ TEATOTAL = teatotal
+@@ -26,6 +26,11 @@
+ ifeq ($(ARCH), OPENBSD)
MANDIR = $(PREFIX)/share/man/man1
RANDOM_DEVICE = \"/dev/srandom\"
+else
@@ -24,3 +28,19 @@
+endif
endif
endif
+
+@@ -115,12 +120,12 @@
+
+ install: all
+ $(MKDIR) $(BINDIR)
+- $(CP) $(TEATOTAL) $(BINDIR)
++ ${BSD_INSTALL_PROGRAM} $(TEATOTAL) $(BINDIR)
+ $(LN) $(TEATOTAL) $(BINDIR)/$(TEA)
+ $(LN) $(TEATOTAL) $(BINDIR)/$(UNTEA)
+ $(LN) $(TEATOTAL) $(BINDIR)/$(TEA-KGEN)
+ $(MKDIR) $(MANDIR)
+- $(CP) $(MANPAGES) $(MANDIR)
++ ${BSD_INSTALL_MAN} $(MANPAGES) $(MANDIR)
+
+ clean:
+ $(RM) core *.o $(PROGRAMS) testout.tea test.out test2.key test3.key \