aboutsummaryrefslogtreecommitdiff
path: root/ftp/IglooFTP
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2006-02-14 15:25:52 +0000
committerVolker Stolz <vs@FreeBSD.org>2006-02-14 15:25:52 +0000
commit8b9bfb6b47508989c54d15895e409b77de5a1694 (patch)
tree04bade0a85832a0ada6ee351b2ade835ab67ad8c /ftp/IglooFTP
parentfb14eed0c1c66d270d9c8358328281e760e30ae4 (diff)
downloadports-8b9bfb6b47508989c54d15895e409b77de5a1694.tar.gz
ports-8b9bfb6b47508989c54d15895e409b77de5a1694.zip
Notes
Diffstat (limited to 'ftp/IglooFTP')
-rw-r--r--ftp/IglooFTP/Makefile10
-rw-r--r--ftp/IglooFTP/files/patch-Makefile32
2 files changed, 16 insertions, 26 deletions
diff --git a/ftp/IglooFTP/Makefile b/ftp/IglooFTP/Makefile
index b9b673aa52be..1dd7773dd0b1 100644
--- a/ftp/IglooFTP/Makefile
+++ b/ftp/IglooFTP/Makefile
@@ -21,6 +21,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_X_PREFIX= yes
USE_GNOME= gtk12
+ALL_TARGET= # empty
+MAKE_ARGS= CC=${CC} C_FLAGS="${CFLAGS}" DESTDIR=${PREFIX}
+
+.include <bsd.port.pre.mk>
+
+.if (${OSVERSION} < 500000)
+BROKEN= Requires more recent libc
+.endif
post-extract:
@${RM} ${WRKSRC}/../share/docs/LICENSE~
@@ -32,4 +40,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/ftp/IglooFTP/files/patch-Makefile b/ftp/IglooFTP/files/patch-Makefile
index f2fb956b61fc..35cb9d0f000e 100644
--- a/ftp/IglooFTP/files/patch-Makefile
+++ b/ftp/IglooFTP/files/patch-Makefile
@@ -1,37 +1,19 @@
---- Makefile.orig Thu Apr 15 11:05:15 1999
-+++ Makefile Fri May 28 18:43:37 1999
-@@ -1,14 +1,15 @@
+--- Makefile.orig Thu Apr 15 18:05:15 1999
++++ Makefile Tue Feb 14 16:19:17 2006
+@@ -1,9 +1,9 @@
SHELL=/bin/sh
--CC = gcc
--C_FLAGS = -Wall -g -O2 -m486 -fno-strength-reduce
+ CC = gcc
+ C_FLAGS = -Wall -g -O2 -m486 -fno-strength-reduce
-GTK_CFLAGS = `gtk-config --cflags`
-GTK_LIBS = `gtk-config --libs`
-LFLAGS = $(GTK_LIBS) -lresolv -lXmu -lXt -lSM -lICE
-+CC?= gcc
-+C_FLAGS = $(CFLAGS)
-+# -Wall -g -O2 -m486 -fno-strength-reduce
+GTK_CFLAGS = `$(GTK_CONFIG) --cflags`
+GTK_LIBS = `$(GTK_CONFIG) --libs`
+LFLAGS = $(GTK_LIBS) -lXmu -lXt -lSM -lICE
PROGNAME = IglooFTP
PROGNAME-STATIC = IglooFTP-static
VERSION = 0.6.1
- VERSION_DATE = 1999
--DESTDIR = /usr/local
-+DESTDIR?= ${PREFIX}
- BIN_PATH = $(DESTDIR)/bin
- MAN_PATH = $(DESTDIR)/man
- SHARE_PATH = $(DESTDIR)/share/$(PROGNAME)
-@@ -16,6 +17,8 @@
- RPM_BUILDPATH = /usr/src/redhat
- CODE_LINES = `cat *.c *.h | grep -ch -e "[[:alpha:]|[:punct:]]"`
-
-+all: $(PROGNAME)
-+
- $(PROGNAME): main.o GTKmisc.o menu.o toolbar.o connectbar.o statusbar.o\
- dirlist.o ftplist.o queue.o log.o console.o dialog.o chmod.o\
- version.o custom.o string.o pixmaps.o color.o cursor.o\
-@@ -50,14 +53,14 @@
+@@ -50,14 +50,14 @@
@if ! test -e $(SHARE_PATH)/app_ass; then \
echo "Making $(SHARE_PATH)/app_ass directory ..."; mkdir -m 0755 $(SHARE_PATH)/app_ass; \
else :; fi;
@@ -54,7 +36,7 @@
-@@ -111,7 +114,7 @@
+@@ -111,7 +111,7 @@
@echo "#define COMPILE_TIME \"`date +%T`\"" >> version.h
@echo "#define COMPILE_BY \"`whoami`\"" >> version.h
@echo "#define COMPILE_HOST \"`hostname`\"" >> version.h