- Chase x11-toolkits/fltk update

This commit is contained in:
Pietro Cerutti 2010-03-23 21:14:39 +00:00
parent ea074376d3
commit c6a2501ef2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=251412
51 changed files with 206 additions and 132 deletions

View file

@ -6,10 +6,9 @@
#
PORTNAME= csound
PORTVERSION= 5.11.1
PORTREVISION= 3
PORTVERSION= 5.12.1
CATEGORIES= audio lang
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}5/${PORTNAME}5.11/:src \
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}5/${PORTNAME}5.12/:src \
SF/${PORTNAME}/${PORTNAME}5/${PORTNAME}5.10/:manual
# Developer does not include a newer version of the manual.
MASTER_SITE_SUBDIR= ${PORTNAME:S/$/:src/}
@ -21,7 +20,7 @@ MAINTAINER= chris@officialunix.com
COMMENT= Sound synthesizer
LIB_DEPENDS= sndfile:${PORTSDIR}/audio/libsndfile \
fltk.1:${PORTSDIR}/x11-toolkits/fltk-threads
fltk.1:${PORTSDIR}/x11-toolkits/fltk
BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
WRKSRC= ${WRKDIR}/${DISTNAME}/
@ -47,10 +46,6 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
DISTFILES+= Csound5.10_manual_html.zip:manual
.endif
.if ${ARCH} == "sparc64"
BROKEN= Fails to link
.endif
post-patch: apply-slist
@${SETENV} LOCALBASE=${LOCALBASE} ${SH} ${SCRIPTDIR}/check-fltk-threads.sh
@${MV} ${WRKDIR}/custom.py ${WRKSRC}

View file

@ -1,6 +1,6 @@
MD5 (csound/Csound5.11.1.tar.gz) = 12d56dcead29004b4d0d052c2a1fbdb8
SHA256 (csound/Csound5.11.1.tar.gz) = e011c47c067df6d020f7927dc1cb951e8ea4ca81a8f058fdf74e3b827ae202d8
SIZE (csound/Csound5.11.1.tar.gz) = 6073214
MD5 (csound/Csound5.12.1.tar.gz) = 70b0c4a159c4960a09719674657949c9
SHA256 (csound/Csound5.12.1.tar.gz) = 89173d666df4e109e6bbbd9232e68f7710711fa0e853a29f7704aa01d502360d
SIZE (csound/Csound5.12.1.tar.gz) = 6121581
MD5 (csound/Csound5.10_manual_html.zip) = e1eba0da11cfc1d85ef2113a81af91eb
SHA256 (csound/Csound5.10_manual_html.zip) = 2c544a1bda8897a8364fa806109bdfca6f9e01495bace014d207db145f8324b1
SIZE (csound/Csound5.10_manual_html.zip) = 5381988

View file

@ -7,7 +7,7 @@
PORTNAME= raop_play
PORTVERSION= 0.5.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= SF/raop-play/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@ -23,17 +23,11 @@ RUN_DEPENDS= mpg321:${PORTSDIR}/audio/mpg321 \
flac:${PORTSDIR}/audio/flac
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ENV= LDFLAGS="`fltk-config --ldflags`"
USE_GMAKE= yes
USE_GNOME= glib20
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800000 && ( ${ARCH} == "amd64" || ${ARCH} == "sparc64" )
BROKEN= incomplete build
.endif
pre-build:
${CP} ${FILESDIR}/getline.c ${FILESDIR}/getline.h ${WRKSRC}/rendezvous/
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -11,6 +11,7 @@
#define GETLINE_NO_LIMIT -1
#ifndef _WITH_GETLINE
int
getline __PROTO ((char **_lineptr, size_t *_n, FILE *_stream));
int
@ -19,5 +20,5 @@ int
int
getstr __PROTO ((char **_lineptr, size_t *_n, FILE *_stream,
int _terminator, int _offset, int limit));
#endif
#endif /* _getline_h_ */

View file

@ -7,7 +7,7 @@
PORTNAME= spiralloops
PORTVERSION= 2.0.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://www.pawfal.org/Software/SpiralLoops/dload/
DISTNAME= SpiralLoops-${PORTVERSION}

View file

@ -7,7 +7,7 @@
PORTNAME= spiralsynth
PORTVERSION= 0.1.7
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://www.pawfal.org/Software/SpiralSynth/dload/
DISTNAME= SpiralSynth-${PORTVERSION}

View file

@ -7,7 +7,7 @@
PORTNAME= spiralsynthmodular
PORTVERSION= 0.2.2a
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= SF/spiralmodular/spiralmodular/${PORTVERSION}%20%28Latest%20Version%29
DISTNAME= spiralmodular-${PORTVERSION}

View file

@ -7,7 +7,7 @@
PORTNAME= zynaddsubfx
PORTVERSION= 2.2.1
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= SF
DISTNAME= ZynAddSubFX-${PORTVERSION}

View file

@ -8,7 +8,7 @@
PORTNAME= seaview
PORTVERSION= 2006.02.13
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= biology
MASTER_SITES= ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}

View file

@ -1,5 +1,5 @@
--- Makefile.orig Mon Apr 3 16:30:03 2006
+++ Makefile Mon Apr 3 16:35:59 2006
--- Makefile.orig 2010-01-08 13:42:25.000000000 +0100
+++ Makefile 2010-01-08 13:42:24.000000000 +0100
@@ -1,18 +1,15 @@
-FLTK = ../fltk
-PDF = ../PDFlib-Lite-6.0.1/libs/pdflib
@ -7,7 +7,7 @@
CXX = g++
-CFLAGS = -Dunix -U__APPLE__ -c $(OPT) -I$(FLTK) -I$(PDF) -I$(X11)/include
+CFLAGS+= -Dunix -U__APPLE__ -c $(OPT) -I$(LOCALBASE)/include
+CFLAGS+= -Dunix -U__APPLE__ -c $(OPT) `fltk-config --cflags`
OBJECTS = seaview.o pdf.o custom.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o chooser_plus.o resource.o nexus.o
@ -17,7 +17,7 @@
- $(CXX) -o $@ $(OBJECTS) -L$(FLTK)/lib -lfltk \
- -Xlinker -Bstatic -L$(PDF)/.libs -lpdf -Xlinker -Bdynamic \
- -L$(X11)/lib -lX11 -lm
+ $(CXX) -o $@ $(OBJECTS) -L$(LOCALBASE)/lib -lfltk \
+ $(CXX) -o $@ $(OBJECTS) `fltk-config --ldflags` \
+ -Xlinker -Bstatic -lpdf -Xlinker -Bdynamic \
+ -L$(LOCALBASE)/lib -lX11 -lm
strip $@

View file

@ -7,7 +7,7 @@
PORTNAME= gmsh
PORTVERSION= 2.4.2
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= cad
MASTER_SITES= http://www.geuz.org/gmsh/src/ \
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/
@ -34,7 +34,9 @@ ALL_TARGET= all
MAN1= gmsh.1
CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=YES
CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=YES \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=YES \
-DCMAKE_USE_PTHREADS:BOOL=YES
.if !defined(WITHOUT_STATIC_LIB)
ALL_TARGET+= lib

View file

@ -7,7 +7,7 @@
PORTNAME= opencascade
PORTVERSION= 6.3
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= cad science
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= thierry

View file

@ -7,7 +7,7 @@
PORTNAME= fldigi
PORTVERSION= 3.11
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= comms hamradio
MASTER_SITES= http://www.w1hkj.com/fldigi-distro/ \
${MASTER_SITE_LOCAL}
@ -16,12 +16,13 @@ MASTER_SITE_SUBDIR= db
MAINTAINER= db@FreeBSD.org
COMMENT= Digital decoder for psk, cw, psk31, olivia
BUILD_DEPENDS= ${LOCALBASE}/lib/portaudio2/libportaudio.so:${PORTSDIR}/audio/portaudio2 \
fltk-threads>=0:${PORTSDIR}/x11-toolkits/fltk-threads
BUILD_DEPENDS= ${LOCALBASE}/lib/portaudio2/libportaudio.so:${PORTSDIR}/audio/portaudio2
LIB_DEPENDS= hamlib:${PORTSDIR}/comms/hamlib \
sndfile:${PORTSDIR}/audio/libsndfile \
boost_wave:${PORTSDIR}/devel/boost-libs \
pulse:${PORTSDIR}/audio/pulseaudio
pulse:${PORTSDIR}/audio/pulseaudio \
fltk.1:${PORTSDIR}/x11-toolkits/fltk
LIB_DEPENDS= hamlib:${PORTSDIR}/comms/hamlib \
USE_DOS2UNIX= yes
USE_GMAKE= yes

View file

@ -7,7 +7,7 @@
PORTNAME= geoid
PORTVERSION= 1.0
PORTREVISION= 3
PORTREVISION= 4
DISTVERSIONSUFFIX= .src
CATEGORIES= comms hamradio
MASTER_SITES= http://www.w1hkj.com/LinuxApps/ \
@ -19,7 +19,7 @@ EXTRACT_SUFX= .src.tar.gz
MAINTAINER= db@FreeBSD.org
COMMENT= Geodetic computer for amateur radio use
LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk-threads
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
USE_GMAKE= yes
MAKEFILE= makefile

View file

@ -7,7 +7,7 @@
PORTNAME= xmorse
PORTVERSION= 20041125
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= comms hamradio
MASTER_SITES= http://c2.com/morse/files/SourceCode/ \
http://www.525183.com/freebsd/xmorse/ \

View file

@ -7,7 +7,7 @@
PORTNAME= xtrader
PORTVERSION= 0.99.9
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= finance
MASTER_SITES= SF/${PORTNAME}/OldFiles

View file

@ -8,7 +8,7 @@
PORTNAME= burrtools
PORTVERSION= 0.5.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF
@ -23,8 +23,8 @@ USE_XORG= x11 xt xext xmu xi
USE_GL= glu
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ENV= CPPFLAGS="`fltk-config --cxxflags`" \
LDFLAGS="`fltk-config --ldflags`"
PORTDOCS= *
PORTEXAMPLES= *

View file

@ -7,7 +7,7 @@
PORTNAME= edge
PORTVERSION= 1.29
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/EDGE%20Source%20Code/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
@ -28,6 +28,7 @@ SCONS_ARGS= release=true
post-patch:
@${REINPLACE_CMD} -e 's|%%DMDIR%%|${DMDIR}|;' ${WRKSRC}/src/e_main.cc
@${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|;' ${WRKSRC}/SConstruct
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gledge32 ${PREFIX}/bin/${PORTNAME}

View file

@ -1,5 +1,5 @@
--- ./SConstruct.orig Wed Jun 6 10:07:47 2007
+++ ./SConstruct Wed Dec 5 23:19:09 2007
--- SConstruct.orig 2007-06-06 15:07:47.000000000 +0200
+++ SConstruct 2010-03-12 11:00:55.000000000 +0100
@@ -27,6 +27,14 @@
if build_info['cross']:
base_env.Tool('crossmingw', toolpath=['build'])
@ -15,3 +15,11 @@
# warnings
base_env.Append(CCFLAGS = ['-Wall'])
@@ -100,6 +108,7 @@
env.ParseConfig('#linux_lib/fltk-1.1.7/fltk-config --cflags')
env.Append(LIBPATH = ['#linux_lib/fltk-1.1.7/lib'])
env.Append(LIBS = ['fltk', 'fltk_images'])
+ env.Append(LINKFLAGS = ['%%PTHREAD_LIBS%%'])
# HawkNL
if 0:

View file

@ -13,11 +13,10 @@ MASTER_SITES= SF
MAINTAINER= buganini@gmail.com
COMMENT= A graphical frontend to run FlightGear Flight Simulator
BUILD_DEPENDS= fltk-threads>=1.1.9:${PORTSDIR}/x11-toolkits/fltk-threads \
SimGear>=2.0.0:${PORTSDIR}/devel/simgear \
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
BUILD_DEPENDS= SimGear>=2.0.0:${PORTSDIR}/devel/simgear \
plib>=1.8.5:${PORTSDIR}/x11-toolkits/plib
RUN_DEPENDS= fltk-threads>=1.1.9:${PORTSDIR}/x11-toolkits/fltk-threads \
SimGear>=2.0.0:${PORTSDIR}/devel/simgear \
RUN_DEPENDS= SimGear>=2.0.0:${PORTSDIR}/devel/simgear \
fgfs:${PORTSDIR}/games/flightgear \
plib>=1.8.5:${PORTSDIR}/x11-toolkits/plib

View file

@ -7,6 +7,7 @@
PORTNAME= glbsp
PORTVERSION= 2.20
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
DISTNAME= ${PORTNAME}_src_${PORTVERSION:S/.//}

View file

@ -1,26 +1,25 @@
--- GUI_unx.mak.orig
+++ GUI_unx.mak
@@ -8,16 +8,16 @@
--- GUI_unx.mak.orig 2005-09-16 07:29:39.000000000 +0200
+++ GUI_unx.mak 2010-01-08 15:40:37.000000000 +0100
@@ -8,16 +8,15 @@
PROGNAME=glBSPX
-FLTK_PREFIX=../fltk-1.1.6
-FLTK_CFLAGS=-I$(FLTK_PREFIX) -I$(FLTK_PREFIX)/zlib
-FLTK_LIBS=-L$(FLTK_PREFIX)/lib -lfltk_images -lfltk_png -lfltk_z -lfltk_jpeg \
- -lfltk -lX11 -lXext
+FLTK_PREFIX=${LOCALBASE}
+FLTK_CFLAGS=-I$(FLTK_PREFIX)/include
+FLTK_LIBS=-L$(FLTK_PREFIX)/lib -lfltk_images \
-lfltk -lX11 -lXext
+FLTK_CFLAGS=`fltk-config --use-images --cflags`
+FLTK_LIBS=`fltk-config --use-images --ldflags`
-CC=gcc
-CXX=g++
-CFLAGS=-O2 -Wall -DGLBSP_GUI -DUNIX -DINLINE_G=inline $(FLTK_CFLAGS)
+CC?=gcc
+CXX?=g++
+CFLAGS+=-O2 -Wall -DGLBSP_GUI -DUNIX -DINLINE_G=inline $(FLTK_CFLAGS)
CFLAGS=-O2 -Wall -DGLBSP_GUI -DUNIX -DINLINE_G=inline $(FLTK_CFLAGS)
CXXFLAGS=$(CFLAGS)
-LDFLAGS=-L/usr/X11R6/lib
+LDFLAGS=-L${LOCALBASE}/lib
+LDFLAGS?=-L/usr/X11R6/lib
LIBS=-lm $(FLTK_LIBS)
OBJS=$(SYSDIR)/main.o \

View file

@ -7,7 +7,7 @@
PORTNAME= palomino
PORTVERSION= 20090615
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}-sim/release_src/${PORTVERSION} \
ftp://ftp.palomino3d.org/sim/

View file

@ -7,7 +7,7 @@
PORTNAME= toycars
PORTVERSION= 0.3.10
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= SF

View file

@ -7,7 +7,7 @@
PORTNAME= tuxpaint-config
PORTVERSION= 0.0.11
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= SF/tuxpaint/${PORTNAME}/${PORTVERSION}

View file

@ -7,7 +7,7 @@
PORTNAME= cinepaint
PORTVERSION= 0.22
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/CinePaint/CinePaint-${PORTVERSION}-1
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
@ -43,9 +43,8 @@ LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if defined(WITH_OPENEXR)
LIB_DEPENDS+= IlmImf.6:${PORTSDIR}/graphics/OpenEXR
BUILD_DEPENDS+= fltk-threads>0:${PORTSDIR}/x11-toolkits/fltk-threads
RUN_DEPENDS+= fltk-threads>0:${PORTSDIR}/x11-toolkits/fltk-threads
LIB_DEPENDS+= IlmImf.6:${PORTSDIR}/graphics/OpenEXR \
fltk.1:${PORTSDIR}/x11-toolkits/fltk
CONFIGURE_ARGS+= --with-openexr-prefix=${LOCALBASE}
CFLAGS+= -I${LOCALBASE}/include/openEXR
PLIST_SUB+= OPENEXR:=""

View file

@ -7,7 +7,7 @@
PORTNAME= flphoto
PORTVERSION= 1.3.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= graphics
MASTER_SITES= SF/fltk/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-source

View file

@ -7,7 +7,7 @@
PORTNAME= libgfx
DISTVERSION= 1.1.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://graphics.cs.uiuc.edu/~garland/dist/ CENKES
@ -37,6 +37,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|\.a|.so|g;/RANLIB/d;s|[(]AR[)] cru|{CC} \
${CFLAGS} ${LDFLAGS} -shared $${GUI_LIBS} -lgzstream -o|'\
${WRKSRC}/src/${MAKEFILE}
@${REINPLACE_CMD} -e '6115s|-lfltk|`fltk-config --ldflags`|' \
${WRKSRC}/configure
do-install:
@cd ${WRKSRC}/include/gfx/&&${COPYTREE_SHARE} . ${PREFIX}/include/gfx/

View file

@ -7,7 +7,7 @@
PORTNAME= pixie
PORTVERSION= 2.2.6
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Pixie%20${PORTVERSION}
DISTNAME= Pixie-src-${PORTVERSION}

View file

@ -7,7 +7,7 @@
PORTNAME= quat
PORTVERSION= 1.20
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= graphics
MASTER_SITES= http://www.physcip.uni-stuttgart.de/phy11733/download/
PKGNAMESUFFIX= -gui

View file

@ -7,7 +7,7 @@
PORTNAME= mbasecalc
PORTVERSION= 1.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= math
MASTER_SITES= http://www.muquit.com/muquit/software/mbasecalc/
DISTNAME= ${PORTNAME}
@ -17,8 +17,8 @@ COMMENT= Simple calculator program inspired by basecalc
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
MAKE_ARGS= INCLUDES="-I${LOCALBASE}/include -I." \
LIBS="-L${LOCALBASE}/lib -lfltk -lX11"
MAKE_ARGS= INCLUDES="`fltk-config --cflags` -I." \
LIBS="`fltk-config --ldflags`"
PLIST_FILES= bin/mbasecalc

View file

@ -7,7 +7,7 @@
PORTNAME= octave
PORTVERSION= 3.2.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= ftp://ftp.octave.org/pub/octave/ \
ftp://ftp.u-aizu.ac.jp/pub/SciEng/numanal/Octave/bleeding-edge/
@ -31,7 +31,7 @@ LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \
fftw3f:${PORTSDIR}/math/fftw3-float \
fftw3:${PORTSDIR}/math/fftw3 \
ftgl:${PORTSDIR}/graphics/ftgl \
fltk:${PORTSDIR}/x11-toolkits/fltk \
fltk.1:${PORTSDIR}/x11-toolkits/fltk \
GraphicsMagick.1:${PORTSDIR}/graphics/GraphicsMagick
USE_BZIP2= yes

View file

@ -7,7 +7,7 @@
PORTNAME= openmovieeditor
PORTVERSION= 0.0.20090105
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= SF
@ -33,7 +33,7 @@ USE_GMAKE= yes
USE_GL= yes
USE_GNOME= glib20
CONFIGURE_ARGS= CPPFLAGS="-I${WRKSRC}/src/tinyxml -I${LOCALBASE}/include/portaudio2 -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib/portaudio2 -L${LOCALBASE}/lib"
LDFLAGS="-L${LOCALBASE}/lib/portaudio2 -L${LOCALBASE}/lib `fltk-config --ldflags`"
PORTDOCS= *

View file

@ -7,7 +7,7 @@
PORTNAME= pose
PORTVERSION= 3.5
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= palm emulators
MASTER_SITES= http://www.palmos.com/dev/tools/emulator/sources/ \
http://www.palmos.com/dev/tools/emulator/:skins

View file

@ -7,7 +7,7 @@
PORTNAME= cupsddk
PORTVERSION= 1.2.3
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= print devel
MASTER_SITES= EASYSW
MASTER_SITE_SUBDIR= ${PORTNAME}/${DISTVERSION}

View file

@ -7,7 +7,7 @@
PORTNAME= xpp
PORTVERSION= 1.5
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= print
MASTER_SITES= SF/cups/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}

View file

@ -8,7 +8,7 @@
PORTNAME= flounder
PORTVERSION= 0.40
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= science
MASTER_SITES= http://www2.enel.ucalgary.ca/~vigmond/flounder/
EXTRACT_SUFX= .tgz
@ -16,7 +16,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A quick way to visualize regularly spaced 4D data
LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk \
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk \
ungif:${PORTSDIR}/graphics/libungif \
png:${PORTSDIR}/graphics/png

View file

@ -7,7 +7,7 @@
PORTNAME= peekabot
PORTVERSION= 0.7.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.7.x/ \
http://distfiles.officialunix.com/
@ -20,17 +20,11 @@ LIB_DEPENDS= boost_regex.4:${PORTSDIR}/devel/boost-libs \
fltk.1:${PORTSDIR}/x11-toolkits/fltk
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ENV= LDFLAGS="`fltk-config --ldflags`" \
CPPFLAGS="`fltk-config --cflags`"
USE_LDCONFIG= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GCC= 4.2+
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -7,6 +7,7 @@
PORTNAME= vmd
PORTVERSION= 1.8.7
PORTREVISION= 1
CATEGORIES= science graphics python tcl tk
MASTER_SITES= http://jedi.ks.uiuc.edu/~johns/raytracer/files/0.98.7/:tachyon \
http://www.ks.uiuc.edu/Research/vmd/extsrcs/:stride
@ -21,7 +22,7 @@ BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \
${PYNUMERIC}
LIB_DEPENDS= tcl85:${PORTSDIR}/lang/tcl85 \
tk85:${PORTSDIR}/x11-toolkits/tk85 \
fltk:${PORTSDIR}/x11-toolkits/fltk \
fltk.1:${PORTSDIR}/x11-toolkits/fltk \
netcdf:${PORTSDIR}/science/netcdf
RUN_DEPENDS= ${PYNUMERIC}

View file

@ -7,7 +7,7 @@
PORTNAME= fldiff
PORTVERSION= 1.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= http://www.easysw.com/~mike/fldiff/ \
CRITICAL

View file

@ -7,7 +7,7 @@
PORTNAME= xdiskusage
PORTVERSION= 1.48
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= x11-fm
MASTER_SITES= http://xdiskusage.sourceforge.net/
EXTRACT_SUFX= .tgz
@ -17,32 +17,19 @@ COMMENT= Show where disk space is taken up
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
MAN1= xdiskusage.1
USE_GMAKE= yes
OPTIONS= THREADS "Threads support, necessary with threaded fltk" off
.include <bsd.port.pre.mk>
PLIST_FILES= bin/xdiskusage
MAN1= xdiskusage.1
.if defined(WITH_THREADS)
CXXFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
.endif
post-patch:
${REINPLACE_CMD} -e '22,24d' ${WRKSRC}/Makefile
do-build:
.for i in panels xdiskusage
${CXX} ${CXXFLAGS} -I${LOCALBASE}/include -c \
${WRKSRC}/${i}.C -o ${WRKSRC}/${i}.o
.endfor
${CXX} ${CXXFLAGS} -L${LOCALBASE}/lib -o \
${WRKSRC}/xdiskusage ${WRKSRC}/panels.o \
${WRKSRC}/xdiskusage.o -lfltk -lm -lXext -lX11 ${LDFLAGS}
cd ${WRKSRC} && ${GMAKE} CXXFLAGS="`fltk-config --cxxflags`" LDFLAGS="`fltk-config --ldflags`"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xdiskusage ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xdiskusage.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,3 +0,0 @@
bin/xdiskusage
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View file

@ -7,7 +7,7 @@
PORTNAME= fl_editor
PORTVERSION= 0.4.5
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= x11-toolkits
MASTER_SITES= http://robertk.com/source/fl_editor/
EXTRACT_SUFX= .tgz

View file

@ -7,7 +7,7 @@
PORTNAME= flu
PORTVERSION= 2.14
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= x11-toolkits
MASTER_SITES= http://www.osc.edu/archive/FLU/
DISTNAME= FLU_${PORTVERSION}
@ -15,7 +15,7 @@ DISTNAME= FLU_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A library containing extra widgets for FLTK
LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
USE_GL= gl
USE_LDCONFIG= yes
@ -39,10 +39,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
BROKEN= Does not compile with GCC 4.2
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -0,0 +1,51 @@
--- FLU/Flu_Tree_Browser.h.orig 2010-01-15 11:50:51.000000000 +0100
+++ FLU/Flu_Tree_Browser.h 2010-01-15 11:55:24.000000000 +0100
@@ -346,7 +346,7 @@
{ return rdata.insertionMode; }
//! \return whether the point \c (x,y) is inside the entry area (not on the scrollbars)
- bool Flu_Tree_Browser :: inside_entry_area( int x, int y );
+ bool inside_entry_area( int x, int y );
//! Set the title of the Tree (also the label for the root entry)
inline void label( const char *l )
@@ -436,23 +436,23 @@
//! Remove the entry identified by path \b fullpath from the tree
/*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */
- unsigned int remove( const char *fullpath );
+ unsigned long remove( const char *fullpath );
//! Remove entry \b name in path \b path from the tree
/*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */
- unsigned int remove( const char *path, const char *name );
+ unsigned long remove( const char *path, const char *name );
//! Remove the entry identified by unique id \b id from the tree
/*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */
- unsigned int remove( unsigned int id );
+ unsigned long remove( unsigned int id );
//! Remove the entry containing the widget \b w from the tree. Note that the widget is automatically destroyed
/*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */
- unsigned int remove( Fl_Widget *w );
+ unsigned long remove( Fl_Widget *w );
//! Remove Node \b n from the tree
/*! \return the id of \b n on successful removal, or \c 0 if \b n is not in the tree */
- inline unsigned int remove( Node* n )
+ inline unsigned long remove( Node* n )
{ if( !n ) return 0; else return remove( n->id() ); }
//! Override of Fl_Widget::resize
@@ -1077,8 +1077,8 @@
//! Remove the entry identified by path \b fullpath from this node
/*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */
- inline unsigned int remove( const char *fullpath )
- { return( (unsigned int)modify( fullpath, REMOVE, tree->rdata ) ); }
+ inline unsigned long remove( const char *fullpath )
+ { return( (unsigned long )modify( fullpath, REMOVE, tree->rdata ) ); }
//! Remove the entry identified by unique id \b id from this node
/*! \return the unique id of the removed entry, or \c 0 if no matching entry was found */

View file

@ -0,0 +1,11 @@
--- src/Flu_File_Chooser.cpp.orig 2010-01-15 11:52:23.000000000 +0100
+++ src/Flu_File_Chooser.cpp 2010-01-15 11:52:55.000000000 +0100
@@ -2773,7 +2773,7 @@
const Fl_Menu_Item *selection = entryPopup.popup();
if( selection )
{
- int handler = (int)selection->user_data();
+ long handler = (long)selection->user_data();
switch( handler )
{
case ACTION_NEW_FOLDER:

View file

@ -0,0 +1,36 @@
--- src/Flu_Tree_Browser.cpp.orig 2010-01-15 11:54:00.000000000 +0100
+++ src/Flu_Tree_Browser.cpp 2010-01-15 11:57:06.000000000 +0100
@@ -2981,12 +2981,12 @@
return add( path, p.c_str(), w, showLabel );
}
-unsigned int Flu_Tree_Browser :: remove( const char *fullpath )
+unsigned long Flu_Tree_Browser :: remove( const char *fullpath )
{
- return( (unsigned int)root.modify( fullpath, Node::REMOVE, rdata ) );
+ return( (unsigned long)root.modify( fullpath, Node::REMOVE, rdata ) );
}
-unsigned int Flu_Tree_Browser :: remove( const char *path, const char *text )
+unsigned long Flu_Tree_Browser :: remove( const char *path, const char *text )
{
// if the path does not end in '/', add it
FluSimpleString s = path;
@@ -2996,7 +2996,7 @@
return remove( s.c_str() );
}
-unsigned int Flu_Tree_Browser :: remove( unsigned int id )
+unsigned long Flu_Tree_Browser :: remove( unsigned int id )
{
return root.remove( id );
}
@@ -3028,7 +3028,7 @@
return 0;
}
-unsigned int Flu_Tree_Browser :: remove( Fl_Widget *w )
+unsigned long Flu_Tree_Browser :: remove( Fl_Widget *w )
{
return root.remove( w );
}

View file

@ -7,7 +7,7 @@
PORTNAME= flvw
PORTVERSION= 20000224
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= x11-toolkits
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Febrary%20beta
EXTRACT_SUFX= .tgz

View file

@ -7,7 +7,7 @@
PORTNAME= fltk
PORTVERSION= 1.1.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= x11-toolkits python
MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -7,7 +7,7 @@
PORTNAME= flwm
PORTVERSION= 1.02
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= x11-wm
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
@ -25,5 +25,6 @@ PLIST_FILES= bin/flwm
post-patch:
${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
${REINPLACE_CMD} -e 's|^LIBS =.*|LIBS = `fltk-config --ldflags`|' ${WRKSRC}/Makefile
.include <bsd.port.mk>

View file

@ -7,7 +7,7 @@
PORTNAME= wmanager
PORTVERSION= 0.2.1
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= x11-wm
MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL}
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig