diff options
-rw-r--r-- | games/xlines/Makefile | 2 | ||||
-rw-r--r-- | games/xlines/distinfo | 2 | ||||
-rw-r--r-- | games/xlines/files/patch-aa | 73 |
3 files changed, 28 insertions, 49 deletions
diff --git a/games/xlines/Makefile b/games/xlines/Makefile index 54cf147a3e49..01beb35f0508 100644 --- a/games/xlines/Makefile +++ b/games/xlines/Makefile @@ -8,7 +8,7 @@ PORTNAME= xlines PORTVERSION= 1.1 CATEGORIES= games -MASTER_SITES= ftp://ftp.trolltech.com/contrib/ +#MASTER_SITES= ftp://ftp.trolltech.com/contrib/ DISTNAME= ${PORTNAME} MAINTAINER= ports@FreeBSD.org diff --git a/games/xlines/distinfo b/games/xlines/distinfo index e49bed33b515..87bb1a6bc833 100644 --- a/games/xlines/distinfo +++ b/games/xlines/distinfo @@ -1 +1 @@ -MD5 (xlines.tar.gz) = 9e456bb7419b8cda6bc44ac9940913e4 +MD5 (xlines.tar.gz) = dd7ca76975023a5923e3adbfa8136995 diff --git a/games/xlines/files/patch-aa b/games/xlines/files/patch-aa index 5d87957f264c..7f4c05076817 100644 --- a/games/xlines/files/patch-aa +++ b/games/xlines/files/patch-aa @@ -1,52 +1,31 @@ ---- Makefile.orig Sat Jan 17 05:11:10 1998 -+++ Makefile Wed Jul 12 18:39:12 2000 -@@ -1,25 +1,24 @@ --INCDIR=/usr/local/qt/include
--CFLAGS=-O2 -I/usr/X11/include
--LFLAGS=-L/usr/local/qt/lib -lqt -L/usr/X11/lib -lX11
--CC=gcc
--MOC=/usr/local/qt/bin/moc
--
--SRC=lines.cpp lines.moc
--OBJECTS=lines.o
--MOCFILES=lines.moc
--
--
--TARGET=xlines
--
--.SUFFIXES: .cpp
--
--.cpp.o:
-- $(CC) -c $(CFLAGS) -I$(INCDIR) $<
--
--all: $(TARGET)
--
--$(TARGET): $(MOCFILES) $(OBJECTS) lines.h
-- $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -I$(INCDIR)
--
--lines.moc: lines.h
-- $(MOC) lines.h -o lines.moc
+--- Makefile.orig Mon Apr 27 16:47:35 1998 ++++ Makefile Sun Jul 16 19:47:51 2000 +@@ -1,8 +1,8 @@ +-INCDIR=/usr/local/qt/include +-CFLAGS=-O2 -I/usr/X11/include -DSHOW_NEXT_COLORS +-LFLAGS=-L/usr/local/qt/lib -lqt -L/usr/X11/lib -lX11 +-CC=gcc +-MOC=/usr/local/qt/bin/moc +INCDIR=${X11BASE}/include/X11/qt -+CXXFLAGS+=-I${X11BASE}/include ++CXXFLAGS+=-I${X11BASE}/include -DSHOW_NEXT_COLORS +LFLAGS=-L${X11BASE}/lib -lqt -lX11 ++CC?=gcc +MOC=${X11BASE}/bin/moc -+ -+SRC=lines.cpp lines.moc -+OBJECTS=lines.o -+MOCFILES=lines.moc -+ -+ -+TARGET=xlines -+ -+.SUFFIXES: .cpp -+ -+.cpp.o: + + SRC=lines.cpp lines.moc + OBJECTS=lines.o +@@ -14,12 +14,12 @@ + .SUFFIXES: .cpp + + .cpp.o: +- $(CC) -c $(CFLAGS) -I$(INCDIR) $< + $(CXX) -c $(CXXFLAGS) -I$(INCDIR) $< -+ -+all: $(TARGET) -+ -+$(TARGET): $(MOCFILES) $(OBJECTS) lines.h + + all: $(TARGET) + + $(TARGET): $(MOCFILES) $(OBJECTS) lines.h +- $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -I$(INCDIR) + $(CXX) $(OBJECTS) -o $(TARGET) $(LFLAGS) -I$(INCDIR) -+ -+lines.moc: lines.h -+ $(MOC) lines.h -o lines.moc + + lines.moc: lines.h + $(MOC) lines.h -o lines.moc |