diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2013-10-07 13:14:12 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2013-10-07 13:14:12 +0000 |
commit | 89fcfbcc74392b2b1c85d4f9c5f6e4f3b4e69827 (patch) | |
tree | 4bee338f9b8da87dc03724ffa3d33d0ece55e206 /x11-toolkits/fox16 | |
parent | e44105a5bbf9b80aa6a2bae8731e75da3847762a (diff) | |
download | ports-89fcfbcc74392b2b1c85d4f9c5f6e4f3b4e69827.tar.gz ports-89fcfbcc74392b2b1c85d4f9c5f6e4f3b4e69827.zip |
Notes
Diffstat (limited to 'x11-toolkits/fox16')
-rw-r--r-- | x11-toolkits/fox16/Makefile | 47 | ||||
-rw-r--r-- | x11-toolkits/fox16/pkg-plist | 152 |
2 files changed, 32 insertions, 167 deletions
diff --git a/x11-toolkits/fox16/Makefile b/x11-toolkits/fox16/Makefile index ff870680e728..7d27f9872ac7 100644 --- a/x11-toolkits/fox16/Makefile +++ b/x11-toolkits/fox16/Makefile @@ -2,42 +2,38 @@ # $FreeBSD$ PORTNAME= fox -PORTVERSION= ${MAJORVER}.${SHVER} +PORTVERSION= 1.6.49 CATEGORIES= x11-toolkits MASTER_SITES= ftp://ftp.fox-toolkit.org/pub/ \ http://ftp.fox-toolkit.org/pub/ +PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} MAINTAINER= gahr@FreeBSD.org COMMENT= Fast and extensive C++ GUI toolkit -- ver.1.6 -LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \ - png15:${PORTSDIR}/graphics/png \ - tiff:${PORTSDIR}/graphics/tiff \ - Xft:${PORTSDIR}/x11-fonts/libXft +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng15.so:${PORTSDIR}/graphics/png \ + libtiff.so:${PORTSDIR}/graphics/tiff -LATEST_LINK= fox16 +MAJORVER= ${PORTVERSION:R} +PLIST_SUB+= MAJORVER=${MAJORVER} -MAJORVER= 1.6 -SHVER= 49 -PLIST_SUB+= MAJORVER=${MAJORVER} SHVER=${SHVER} - -USE_GNOME= lthack gnomehack +USES+= pathfix +USE_AUTOTOOLS= libtool +USE_GNOME= lthack ltverhack USE_GL= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-opengl --with-x USE_LDCONFIG= yes - -MAN1= shutterbug.1 reswrap.1 +CONFIGURE_ARGS= --with-opengl --with-x +PORTDOCS= * CPPFLAGS+= -I${LOCALBASE}/include -fPIC LDFLAGS+= -L${LOCALBASE}/lib -OPTIONS_DEFINE= OPTIMIZED_CFLAGS CUPS DEBUG APPS PROFILE SHM XFT +OPTIONS_DEFINE= OPTIMIZED_CFLAGS CUPS DEBUG DOCS APPS PROFILE SHM XFT OPTIONS_DEFAULT=SHM XFT APPS_DESC= Install sample applications SHM_DESC= Shared Memory support -NO_STAGE= yes .include <bsd.port.options.mk> ## @@ -45,7 +41,8 @@ NO_STAGE= yes ## # .if ${PORT_OPTIONS:MXFT} -CONFIGURE_ARGS+= --with-xft=yes +CONFIGURE_ARGS+=--with-xft=yes +USE_XORG+= xft CPPFLAGS+= `freetype-config --cflags` LDFLAGS+= `freetype-config --libs` .else @@ -59,7 +56,7 @@ CONFIGURE_ARGS+= --with-xshm=no .endif # .if ${PORT_OPTIONS:MCUPS} -LIB_DEPENDS+= cups:${PORTSDIR}/print/cups-client +LIB_DEPENDS+= libcups.so:${PORTSDIR}/print/cups-client .endif # .if ${PORT_OPTIONS:MDEBUG} @@ -69,7 +66,6 @@ CONFIGURE_ARGS+= --enable-release .endif # .if ${PORT_OPTIONS:MAPPS} -MAN1+= PathFinder.1 adie.1 calculator.1 PLIST_SUB+= APPS="" .else PLIST_SUB+= APPS="@comment " @@ -88,12 +84,19 @@ CONFIGURE_ARGS+= --with-profiling=gprof .endif post-patch: +# Rename man pages as in manpage.1 --> manpage-16.1 to avoid +# conflicts with fox14 and fox17 + files=$$(${FIND} ${WRKSRC} -name *.1); \ + for f in $$files; do \ + ${MV} $$f `echo $$f | sed -e 's|\.1|-16.1|'`; \ + done; + ${FIND} ${WRKSRC} -name Makefile.am -o -name Makefile.in | ${XARGS} \ + ${REINPLACE_CMD} -i '' -e '/man_MANS/s|\.1|-16.1|g' ${REINPLACE_CMD} -e '/^Libs:/s|$$| ${PTHREAD_LIBS}|; s|"||g' ${WRKSRC}/fox.pc.in # CXXFLAGS safeness @${REINPLACE_CMD} -E -e \ 's|-O2|${CXXFLAGS}|g ; \ - s|-lc_r|${PTHREAD_LIBS}|g ; \ - s|FOX_INTERFACE_VERSION=0|FOX_INTERFACE_VERSION=${SHVER}|g' \ + s|-lc_r|${PTHREAD_LIBS}|g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} # doc prefix safeness @${REINPLACE_CMD} -E -e \ diff --git a/x11-toolkits/fox16/pkg-plist b/x11-toolkits/fox16/pkg-plist index 56e4fbd3a703..b79e190423a7 100644 --- a/x11-toolkits/fox16/pkg-plist +++ b/x11-toolkits/fox16/pkg-plist @@ -294,154 +294,16 @@ include/fox-%%MAJORVER%%/xincs.h lib/libCHART-%%MAJORVER%%.a lib/libCHART-%%MAJORVER%%.la lib/libCHART-%%MAJORVER%%.so -lib/libCHART-%%MAJORVER%%.so.%%SHVER%% +lib/libCHART-%%MAJORVER%%.so.0 lib/libFOX-%%MAJORVER%%.a lib/libFOX-%%MAJORVER%%.la lib/libFOX-%%MAJORVER%%.so -lib/libFOX-%%MAJORVER%%.so.%%SHVER%% -%%PORTDOCS%%%%DOCSDIR%%/html/pdiary.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/iims1.png -%%PORTDOCS%%%%DOCSDIR%%/html/iims1_small.png -%%PORTDOCS%%%%DOCSDIR%%/html/iims2.png -%%PORTDOCS%%%%DOCSDIR%%/html/iims2_small.png -%%PORTDOCS%%%%DOCSDIR%%/html/iims3.png -%%PORTDOCS%%%%DOCSDIR%%/html/iims3_small.png -%%PORTDOCS%%%%DOCSDIR%%/html/xtc.gif -%%PORTDOCS%%%%DOCSDIR%%/html/gpgkey.html -%%PORTDOCS%%%%DOCSDIR%%/html/news2.html -%%PORTDOCS%%%%DOCSDIR%%/html/news3.html -%%PORTDOCS%%%%DOCSDIR%%/html/SbSScreen1.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/SbSScreen1_small.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/adie.gif -%%PORTDOCS%%%%DOCSDIR%%/html/adie.html -%%PORTDOCS%%%%DOCSDIR%%/html/adie_colors.gif -%%PORTDOCS%%%%DOCSDIR%%/html/adie_edit.gif -%%PORTDOCS%%%%DOCSDIR%%/html/adie_font.gif -%%PORTDOCS%%%%DOCSDIR%%/html/adie_sty.gif -%%PORTDOCS%%%%DOCSDIR%%/html/analysisview.png -%%PORTDOCS%%%%DOCSDIR%%/html/app.html -%%PORTDOCS%%%%DOCSDIR%%/html/aqx_linux_visualizacao_peq.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/arithmedrill-screenshot.png -%%PORTDOCS%%%%DOCSDIR%%/html/arithmedrill-screenshot_small.png -%%PORTDOCS%%%%DOCSDIR%%/html/bigpenguin.png -%%PORTDOCS%%%%DOCSDIR%%/html/boskalisday.gif -%%PORTDOCS%%%%DOCSDIR%%/html/boskalisnite.gif -%%PORTDOCS%%%%DOCSDIR%%/html/calc.html -%%PORTDOCS%%%%DOCSDIR%%/html/clipboard.html -%%PORTDOCS%%%%DOCSDIR%%/html/clview_icon.gif -%%PORTDOCS%%%%DOCSDIR%%/html/colordialog.png -%%PORTDOCS%%%%DOCSDIR%%/html/cometassay.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/consulting.html -%%PORTDOCS%%%%DOCSDIR%%/html/contact.gif -%%PORTDOCS%%%%DOCSDIR%%/html/datatarget.html -%%PORTDOCS%%%%DOCSDIR%%/html/dirdialog.png -%%PORTDOCS%%%%DOCSDIR%%/html/dlgedit1.png -%%PORTDOCS%%%%DOCSDIR%%/html/dlgedit2.png -%%PORTDOCS%%%%DOCSDIR%%/html/doc.html -%%PORTDOCS%%%%DOCSDIR%%/html/download.html -%%PORTDOCS%%%%DOCSDIR%%/html/doxygen.cfg -%%PORTDOCS%%%%DOCSDIR%%/html/draganddrop.html -%%PORTDOCS%%%%DOCSDIR%%/html/emso_screen.png -%%PORTDOCS%%%%DOCSDIR%%/html/emso_screen_small.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/faq.html -%%PORTDOCS%%%%DOCSDIR%%/html/fifthplanet.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/filedialog.png -%%PORTDOCS%%%%DOCSDIR%%/html/filefuncs.html -%%PORTDOCS%%%%DOCSDIR%%/html/filter.pl -%%PORTDOCS%%%%DOCSDIR%%/html/focus.html -%%PORTDOCS%%%%DOCSDIR%%/html/fontdialog.png -%%PORTDOCS%%%%DOCSDIR%%/html/fonts.html -%%PORTDOCS%%%%DOCSDIR%%/html/footer.html -%%PORTDOCS%%%%DOCSDIR%%/html/foreword.html -%%PORTDOCS%%%%DOCSDIR%%/html/fox.gif -%%PORTDOCS%%%%DOCSDIR%%/html/fox.html -%%PORTDOCS%%%%DOCSDIR%%/html/foxcalc.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/foxcalc_prefdialog_01_small.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/foxcalc_prefdialog_02_small.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/foxcalc_prefdialog_03_small.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/foxlogo.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/foxlogo.png -%%PORTDOCS%%%%DOCSDIR%%/html/foxlogo_small.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/foxstart.png -%%PORTDOCS%%%%DOCSDIR%%/html/freespeach.gif -%%PORTDOCS%%%%DOCSDIR%%/html/glview.png -%%PORTDOCS%%%%DOCSDIR%%/html/goals.html -%%PORTDOCS%%%%DOCSDIR%%/html/goggles.png -%%PORTDOCS%%%%DOCSDIR%%/html/guiupdate.html -%%PORTDOCS%%%%DOCSDIR%%/html/header.html -%%PORTDOCS%%%%DOCSDIR%%/html/home.html -%%PORTDOCS%%%%DOCSDIR%%/html/icons.html -%%PORTDOCS%%%%DOCSDIR%%/html/ill.gif -%%PORTDOCS%%%%DOCSDIR%%/html/ilr.gif -%%PORTDOCS%%%%DOCSDIR%%/html/imagedebugger.gif -%%PORTDOCS%%%%DOCSDIR%%/html/innernerd.gif -%%PORTDOCS%%%%DOCSDIR%%/html/install.html -%%PORTDOCS%%%%DOCSDIR%%/html/introduction.html -%%PORTDOCS%%%%DOCSDIR%%/html/iul.gif -%%PORTDOCS%%%%DOCSDIR%%/html/iur.gif -%%PORTDOCS%%%%DOCSDIR%%/html/layout.gif -%%PORTDOCS%%%%DOCSDIR%%/html/layout.html -%%PORTDOCS%%%%DOCSDIR%%/html/license.html -%%PORTDOCS%%%%DOCSDIR%%/html/line.gif -%%PORTDOCS%%%%DOCSDIR%%/html/menu.css -%%PORTDOCS%%%%DOCSDIR%%/html/menu.html -%%PORTDOCS%%%%DOCSDIR%%/html/messages.html -%%PORTDOCS%%%%DOCSDIR%%/html/mouse.gif -%%PORTDOCS%%%%DOCSDIR%%/html/nerd_inside.gif -%%PORTDOCS%%%%DOCSDIR%%/html/news.html -%%PORTDOCS%%%%DOCSDIR%%/html/news1.html -%%PORTDOCS%%%%DOCSDIR%%/html/oll.gif -%%PORTDOCS%%%%DOCSDIR%%/html/olr.gif -%%PORTDOCS%%%%DOCSDIR%%/html/opengl_logo.png -%%PORTDOCS%%%%DOCSDIR%%/html/oul.gif -%%PORTDOCS%%%%DOCSDIR%%/html/oul_grey.gif -%%PORTDOCS%%%%DOCSDIR%%/html/our.gif -%%PORTDOCS%%%%DOCSDIR%%/html/page.css -%%PORTDOCS%%%%DOCSDIR%%/html/pathfinder.html -%%PORTDOCS%%%%DOCSDIR%%/html/pathfinder.png -%%PORTDOCS%%%%DOCSDIR%%/html/printdialog.png -%%PORTDOCS%%%%DOCSDIR%%/html/progress.png -%%PORTDOCS%%%%DOCSDIR%%/html/projects.html -%%PORTDOCS%%%%DOCSDIR%%/html/references.html -%%PORTDOCS%%%%DOCSDIR%%/html/registry.html -%%PORTDOCS%%%%DOCSDIR%%/html/replacedialog.png -%%PORTDOCS%%%%DOCSDIR%%/html/rex.html -%%PORTDOCS%%%%DOCSDIR%%/html/rezound_thumb.gif -%%PORTDOCS%%%%DOCSDIR%%/html/scenegraphnavigator.gif -%%PORTDOCS%%%%DOCSDIR%%/html/screenshots.html -%%PORTDOCS%%%%DOCSDIR%%/html/scribble.png -%%PORTDOCS%%%%DOCSDIR%%/html/scriptolutions.gif -%%PORTDOCS%%%%DOCSDIR%%/html/searchdialog.png -%%PORTDOCS%%%%DOCSDIR%%/html/serialization.html -%%PORTDOCS%%%%DOCSDIR%%/html/sgitextedit.png -%%PORTDOCS%%%%DOCSDIR%%/html/slingerzbutton1.gif -%%PORTDOCS%%%%DOCSDIR%%/html/styles.css -%%PORTDOCS%%%%DOCSDIR%%/html/table.png -%%PORTDOCS%%%%DOCSDIR%%/html/timers.html -%%PORTDOCS%%%%DOCSDIR%%/html/tmp_vision_snap.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/top.html -%%PORTDOCS%%%%DOCSDIR%%/html/tux_small.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/udine_physics.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/vorhour1.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/vorhour1_small.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/vorhour2.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/vorhour2_small.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/widget.jpg -%%PORTDOCS%%%%DOCSDIR%%/html/widgets.html -%%PORTDOCS%%%%DOCSDIR%%/html/win32-libraries.png -%%PORTDOCS%%%%DOCSDIR%%/html/win32-linkoutput.png -%%PORTDOCS%%%%DOCSDIR%%/html/win32-postbuild.png -%%PORTDOCS%%%%DOCSDIR%%/html/win32-preprocessor.png -%%PORTDOCS%%%%DOCSDIR%%/html/win32-project.png -%%PORTDOCS%%%%DOCSDIR%%/html/win32-tooloptions.png -%%PORTDOCS%%%%DOCSDIR%%/html/win32.html -%%PORTDOCS%%%%DOCSDIR%%/html/window.html -%%PORTDOCS%%%%DOCSDIR%%/html/wintextedit.png -%%PORTDOCS%%%%DOCSDIR%%/html/xfe.png -%%PORTDOCS%%%%DOCSDIR%%/html/xfe_small.png -%%PORTDOCS%%%%DOCSDIR%%/html/xml.html -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html -%%PORTDOCS%%@dirrm %%DOCSDIR%% +lib/libFOX-%%MAJORVER%%.so.0 +man/man1/shutterbug-16.1.gz +man/man1/reswrap-16.1.gz +%%APPS%%man/man1/PathFinder-16.1.gz +%%APPS%%man/man1/adie-16.1.gz +%%APPS%%man/man1/calculator-16.1.gz @dirrm include/fox-%%MAJORVER%%/chart @dirrm include/fox-%%MAJORVER%% libdata/pkgconfig/fox.pc |