summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--editors/fine/Makefile14
-rw-r--r--editors/fine/distinfo2
-rw-r--r--editors/fine/files/patch-aa38
-rw-r--r--editors/fine/files/patch-ab14
4 files changed, 33 insertions, 35 deletions
diff --git a/editors/fine/Makefile b/editors/fine/Makefile
index 13f5926cd525..ef2d969afcb2 100644
--- a/editors/fine/Makefile
+++ b/editors/fine/Makefile
@@ -6,8 +6,8 @@
# $FreeBSD$
#
-DISTNAME= fine
-PKGNAME= fine-2.1
+DISTNAME= fine2.3
+PKGNAME= fine-2.3
CATEGORIES= editors
MASTER_SITES= ftp://razor.fer.uni-lj.si/pub/software/bojank/fine/
@@ -15,15 +15,9 @@ MAINTAINER= cpiazza@FreeBSD.org
USE_NEWGCC= yes
USE_GMAKE= yes
-USE_QT= yes
+USE_QT2= yes
WRKSRC= ${WRKDIR}/fine
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 400004
-BROKEN= 'This program needs NEWGCC but links with QT, which is built with an old version.'
-.endif
-
do-install:
@${MKDIR} ${PREFIX}/share/fine
${INSTALL_DATA} ${WRKSRC}/.editor ${PREFIX}/share/fine/editor
@@ -32,4 +26,4 @@ do-install:
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/fine ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/editors/fine/distinfo b/editors/fine/distinfo
index ef11380ae1b4..a73181d5befb 100644
--- a/editors/fine/distinfo
+++ b/editors/fine/distinfo
@@ -1 +1 @@
-MD5 (fine.tar.gz) = 0a9e6db4c7f266ca470264e3475b4181
+MD5 (fine2.3.tar.gz) = 95e75bf5d9ad99497df7e0e98f0b6737
diff --git a/editors/fine/files/patch-aa b/editors/fine/files/patch-aa
index 05ee1bbf4bce..2b746ab88c59 100644
--- a/editors/fine/files/patch-aa
+++ b/editors/fine/files/patch-aa
@@ -1,28 +1,32 @@
---- Makefile.orig Tue Mar 16 09:14:22 1999
-+++ Makefile Tue Aug 17 16:15:41 1999
-@@ -1,14 +1,15 @@
--INCLUDE = -I$(QTDIR)/include -I. -I$(HOME)/include -I./icons
+--- Makefile.orig Fri Nov 26 13:11:08 1999
++++ Makefile Fri Nov 26 13:11:11 1999
+@@ -1,16 +1,17 @@
+-INCLUDE = -I. -I$(QTDIR)/include -I$(HOME)/include -I./icons
-DESTLIB = $(HOME)/lib # where to put library
-LIB = -L/usr/X11R6/lib -L$(QTDIR)/lib -L$(DESTLIB)
-+QTDIR = ${X11BASE}
-+INCLUDE = -I$(QTDIR)/include -I ${QTDIR}/include/X11/qt -I. -I$(HOME)/include -I./icons
-+DESTLIB = ${PREFIX}/lib
-+LIB = -L${LOCALBASE}/lib -L$(QTDIR)/lib -L$(DESTLIB) -L.
-
- MOC = $(QTDIR)/bin/moc
+-
+-MOC = $(QTDIR)/bin/moc
-CC = g++
-C = gcc
-+#CC = ${CX
-+#CXX = ${CXX}
++QTDIR= ${X11BASE}
++INCLUDE = -I. -I$(QTDIR)/include -I$(QTDIR)/include/qt2 -I$(HOME)/include -I./icons
++DESTLIB = ${PREFIX}/lib
++LIB = -L${X11BASE}/lib -L${LOCALBASE}/lib -L$(QTDIR)/lib -L$(DESTLIB) -L.
++
++MOC = $(QTDIR)/bin/moc2
++#CC = g++
++#C = gcc
AR = ar
M = moc_
+ RM = rm -f
+ KDOC = kdoc -H -d doc -e
-OPTIONS = -g -ansi -fguiding-decls
+OPTIONS = ${CFLAGS} -fguiding-decls -DFINEDIR=\""${PREFIX}/share/fine\""
OBJ = qsmartedit.o qcolormultilinedit.o undoredo.o qeditor.o qfontselect.o qcolordialog.o qcolorlistboxitem.o qkeyworddialog.o qhotkeydialog.o
METAOBJ = qsmartedit.mo qcolormultilinedit.mo qeditor.mo qfontselect.mo qcolordialog.mo qkeyworddialog.mo qhotkeydialog.mo
-@@ -27,14 +28,13 @@
+@@ -35,14 +36,13 @@
$(TARGET): $(OBJ) $(METAOBJ)
$(AR) r $(TARGET) $(OBJ) $(METAOBJ)
@@ -33,10 +37,10 @@
+ $(CXX) -c $(OPTIONS) $(INCLUDE) $<
%.mo: %.h
- $(MOC) $< -o $(subst .h,.C,m$<)
-- $(CC) -c $(OPTIONS) $(INCLUDE) $(subst .h,.C,m$<) -o $(subst .h,.mo,$<)
-+ $(CXX) -c $(OPTIONS) $(INCLUDE) $(subst .h,.C,m$<) -o $(subst .h,.mo,$<)
+ $(MOC) $< -o $(subst .h,.C,$(M)$<)
+- $(CC) -c $(OPTIONS) $(INCLUDE) $(subst .h,.C,$(M)$<) -o $(subst .h,.mo,$<)
++ $(CXX) -c $(OPTIONS) $(INCLUDE) $(subst .h,.C,$(M)$<) -o $(subst .h,.mo,$<)
fine: fine.o fine.mo
- $(CC) -g -ofine fine.o fine.mo $(OPTIONS) $(LIB) -lFine -lqt -lX11 -lXext
-+ $(CXX) -g -ofine fine.o fine.mo $(OPTIONS) $(LIB) -lFine -lqt -lX11 -lXext
++ $(CXX) -ofine fine.o fine.mo $(OPTIONS) $(LIB) -lFine -lqt2 -lX11 -lXext
diff --git a/editors/fine/files/patch-ab b/editors/fine/files/patch-ab
index 3b9291161975..35c27892fd39 100644
--- a/editors/fine/files/patch-ab
+++ b/editors/fine/files/patch-ab
@@ -1,6 +1,6 @@
---- fine.C.orig Fri May 7 03:08:12 1999
-+++ fine.C Tue Aug 17 17:46:57 1999
-@@ -172,7 +172,7 @@
+--- fine.C.orig Fri Oct 29 04:02:09 1999
++++ fine.C Fri Nov 26 13:12:09 1999
+@@ -227,7 +227,7 @@
if (sc == NULL)
{ sc = new QBinaryTree<Configuration>(shortcut);
@@ -9,7 +9,7 @@
f = fopen(s,"rt");
if (f != NULL)
{ while (!feof(f))
-@@ -181,7 +181,7 @@
+@@ -236,7 +236,7 @@
}
fclose(f);
} else QMessageBox::warning(ed,"Couldn't find main configuration file",
@@ -18,7 +18,7 @@
}
sysmenu = new QMenuBar(this,"Editor System Main Menu");
-@@ -370,7 +370,7 @@
+@@ -430,7 +430,7 @@
if (ptrsc != NULL)
{ sh = ptrsc->Element();
s = new char[strlen(getenv("HOME"))+strlen(sh.filename)+200];
@@ -27,7 +27,7 @@
w->editor()->readConfig(s);
delete [] s;
}
-@@ -410,7 +410,7 @@
+@@ -470,7 +470,7 @@
printf("\nTemplate file:%s, Compiler:%s, Previewer:%s",defsc.filename,
(defsc.compiler != NULL? defsc.compiler:"(null)"),
(defsc.previewer != NULL? defsc.previewer:"(null)"));
@@ -36,7 +36,7 @@
ed->readConfig(s);
ed->repaint();
fflush(stdout);
-@@ -461,14 +461,14 @@
+@@ -517,14 +517,14 @@
{ if (ptrsc != NULL) Delete(sc,ptrsc->Element());
sc->Insert(*scw);
ptrsc = sc->Locate(*scw);