summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-27 21:29:36 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-27 21:29:36 +0800
commit2141c76868bf2bb80ead18e77ee056dd3546c821 (patch)
treea82dbe9a1284846b21cf1e1100a72c8d90c836f8
parent4518bebff899093bacea650f5e51c61d841fdcf5 (diff)
downloadmarcuscom-ports-2141c76868bf2bb80ead18e77ee056dd3546c821.tar
marcuscom-ports-2141c76868bf2bb80ead18e77ee056dd3546c821.tar.gz
marcuscom-ports-2141c76868bf2bb80ead18e77ee056dd3546c821.tar.bz2
marcuscom-ports-2141c76868bf2bb80ead18e77ee056dd3546c821.tar.lz
marcuscom-ports-2141c76868bf2bb80ead18e77ee056dd3546c821.tar.xz
marcuscom-ports-2141c76868bf2bb80ead18e77ee056dd3546c821.tar.zst
marcuscom-ports-2141c76868bf2bb80ead18e77ee056dd3546c821.zip
Fix build with new gtk.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13049 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--graphics/nip2/Makefile45
-rw-r--r--graphics/nip2/distinfo3
-rw-r--r--graphics/nip2/pkg-descr3
-rw-r--r--graphics/nip2/pkg-plist284
4 files changed, 335 insertions, 0 deletions
diff --git a/graphics/nip2/Makefile b/graphics/nip2/Makefile
new file mode 100644
index 000000000..6799c9079
--- /dev/null
+++ b/graphics/nip2/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: vips
+# Date created: 19 December 2003
+# Whom: Lev Serebryakov <lev@FreeBSD.org>
+#
+# $FreeBSD: ports/graphics/nip2/Makefile,v 1.21 2009/07/31 13:52:29 dinoex Exp $
+#
+
+PORTNAME= nip2
+PORTVERSION= 7.14.5
+PORTREVISION= 2
+CATEGORIES= graphics
+MASTER_SITES= http://www.vips.ecs.soton.ac.uk/supported/${PORTVERSION:R}/
+
+MAINTAINER= mi@aldan.algebra.com
+COMMENT= Graphical user interface for VIPS
+
+LIB_DEPENDS= vips:${PORTSDIR}/graphics/vips \
+ gsl:${PORTSDIR}/math/gsl \
+ xml2:${PORTSDIR}/textproc/libxml2
+
+USE_BISON= build
+USE_GMAKE= yes
+USE_GNOME= gnomemimedata glib20 pkgconfig gtk20
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --mandir=${PREFIX}/man
+ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
+# This port has no man-pages. It installs a number of HTML files,
+# which are available through the GUI's Help. For this reason, they
+# are always installed, regardless of the NOPORTDOCS setting.
+# The PDF version of the documentation is another story:
+.if defined(NOPORTDOCS)
+EXTRACT_AFTER_ARGS=|${TAR} -xpf - --exclude nipguide --exclude pdf
+.endif
+# Somehow vendor's configure misses these:
+MAKE_ENV+= UPDATE_MIME_DATABASE=update-mime-database \
+ UPDATE_DESKTOP_DATABASE=update-desktop-database
+
+MAN1= nip2.1
+
+post-patch:
+ ${REINPLACE_CMD} -e 's, malkovich,,' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|n_bytes|x_n_bytes|g' -e 's|text_size|x_text_size|g' \
+ ${WRKSRC}/src/gtkitementry.c
+
+.include <bsd.port.mk>
diff --git a/graphics/nip2/distinfo b/graphics/nip2/distinfo
new file mode 100644
index 000000000..7a903dae1
--- /dev/null
+++ b/graphics/nip2/distinfo
@@ -0,0 +1,3 @@
+MD5 (nip2-7.14.5.tar.gz) = 33696f1640676213f8510e28bc14841c
+SHA256 (nip2-7.14.5.tar.gz) = 27e1102682c6650b707d74327746f28f8f55badcc73ff46ec8d021a3444f5aa2
+SIZE (nip2-7.14.5.tar.gz) = 8385657
diff --git a/graphics/nip2/pkg-descr b/graphics/nip2/pkg-descr
new file mode 100644
index 000000000..08ff1e679
--- /dev/null
+++ b/graphics/nip2/pkg-descr
@@ -0,0 +1,3 @@
+nip2 is a graphical user interface for VIPS
+
+WWW: http://www.vips.ecs.soton.ac.uk/
diff --git a/graphics/nip2/pkg-plist b/graphics/nip2/pkg-plist
new file mode 100644
index 000000000..b7278851a
--- /dev/null
+++ b/graphics/nip2/pkg-plist
@@ -0,0 +1,284 @@
+bin/nip2
+bin/run-nip2.sh
+share/nip2/rc/ipgtkrc
+share/nip2/data/examples/logo/logo2.ws
+share/nip2/data/examples/1_point_mosiac/cd1.2.jpg
+share/nip2/data/examples/1_point_mosiac/cd4.2.jpg
+share/nip2/data/examples/1_point_mosiac/cd2.1.jpg
+share/nip2/data/examples/1_point_mosiac/cd4.1.jpg
+share/nip2/data/examples/1_point_mosiac/cd1.1.jpg
+share/nip2/data/examples/1_point_mosiac/cd3.2.jpg
+share/nip2/data/examples/1_point_mosiac/cd2.2.jpg
+share/nip2/data/examples/1_point_mosiac/cd3.1.jpg
+share/nip2/data/examples/1_point_mosiac/1pt_mosaic.ws
+share/nip2/data/examples/overlays_and_blending/overlay_blend.ws
+share/nip2/data/examples/overlays_and_blending/blend_example_ir.jpg
+share/nip2/data/examples/overlays_and_blending/blend_example_vis.jpg
+share/nip2/data/examples/overlays_and_blending/blend_example_xray.jpg
+share/nip2/data/examples/manual_balance/mask_01.png
+share/nip2/data/examples/manual_balance/mask_02.png
+share/nip2/data/examples/manual_balance/simp_base.png
+share/nip2/data/examples/manual_balance/mask_03.png
+share/nip2/data/examples/manual_balance/mask_control.png
+share/nip2/data/examples/manual_balance/manual_balance.ws
+share/nip2/data/examples/2_point_mosiac/example_im_02.jpg
+share/nip2/data/examples/2_point_mosiac/example_im_04.jpg
+share/nip2/data/examples/2_point_mosiac/example_im_03.jpg
+share/nip2/data/examples/2_point_mosiac/full_image.jpg
+share/nip2/data/examples/2_point_mosiac/example_im_01.jpg
+share/nip2/data/examples/2_point_mosiac/example_im_05.jpg
+share/nip2/data/examples/2_point_mosiac/example_im_06.jpg
+share/nip2/data/examples/2_point_mosiac/2pts_mosaic.ws
+share/nip2/data/examples/registering/example_im_2.jpg
+share/nip2/data/examples/registering/registering.ws
+share/nip2/data/examples/registering/example_im_1.jpg
+share/nip2/data/examples/registering/example_im_4.jpg
+share/nip2/data/examples/registering/example_im_3.jpg
+share/nip2/data/examples/clone/clone.ws
+share/nip2/data/examples/clone/example_im_01.png
+share/nip2/data/examples/clone/example_im_02.png
+share/nip2/data/examples/businesscard/businesscard.ws
+share/nip2/data/examples/businesscard/slanted_oval_vase2.jpg
+share/nip2/data/examples/framing/framing_distorted_frame.png
+share/nip2/data/examples/framing/framing.ws
+share/nip2/data/examples/framing/framing_complex.png
+share/nip2/data/examples/framing/framing_corner.png
+share/nip2/data/examples/framing/framing_picture.jpg
+share/nip2/data/examples/print_test_image.v
+share/nip2/data/rachel.con
+share/nip2/data/AdobeRGB1998.icc
+share/nip2/data/sRGB.icm
+share/nip2/data/macbeth_lab_d65.mat
+share/nip2/data/macbeth_lab_d50.mat
+share/nip2/data/vips-128.png
+share/nip2/data/nip2-icon.ico
+share/nip2/data/HP5000_UVDuraImageGlossMaxQ.icc
+share/nip2/data/stock-tool-ink-22.png
+share/nip2/data/stock-tool-path-22.png
+share/nip2/data/stock-tool-text-22.png
+share/nip2/data/stock-tool-smudge-22.png
+share/nip2/data/stock-tool-bucket-fill-22.png
+share/nip2/data/stock-tool-rect-select-22.png
+share/nip2/data/stock-tool-select-22.png
+share/nip2/data/nip-slider-16.png
+share/nip2/data/stock-tool-move-22.png
+share/nip2/data/stock-led-red-18.png
+share/nip2/data/stock-led-green-18.png
+share/nip2/data/stock-led-blue-18.png
+share/nip2/data/stock-led-cyan-18.png
+share/nip2/data/stock-led-yellow-18.png
+share/nip2/data/stock-led-off-18.png
+share/nip2/start/Math.def
+share/nip2/start/Image.def
+share/nip2/start/Colour.def
+share/nip2/start/Tasks.def
+share/nip2/start/Object.def
+share/nip2/start/Filter.def
+share/nip2/start/Matrix.def
+share/nip2/start/Widgets.def
+share/nip2/start/Histogram.def
+share/nip2/start/Preferences.ws
+share/nip2/start/_joe_extra.def
+share/nip2/start/_joe_utilities.def
+share/nip2/start/_convert.def
+share/nip2/start/_generate.def
+share/nip2/start/_list.def
+share/nip2/start/_predicate.def
+share/nip2/start/_stdenv.def
+share/nip2/start/_Object.def
+share/nip2/start/_types.def
+share/nip2/compat/7.8/Math.def
+share/nip2/compat/7.8/Image.def
+share/nip2/compat/7.8/Mosaic.def
+share/nip2/compat/7.8/Colour.def
+share/nip2/compat/7.8/Resize.def
+share/nip2/compat/7.8/Capture.def
+share/nip2/compat/7.8/Format.def
+share/nip2/compat/7.8/Filter.def
+share/nip2/compat/7.8/Morphology.def
+share/nip2/compat/7.8/New.def
+share/nip2/compat/7.8/Histogram.def
+share/nip2/compat/7.8/Print.def
+share/nip2/compat/7.8/Rotate.def
+share/nip2/compat/7.8/Statistics.def
+share/nip2/compat/7.8/X_ray.def
+share/nip2/compat/7.8/_convert.def
+share/nip2/compat/7.8/_errors.def
+share/nip2/compat/7.8/_generate.def
+share/nip2/compat/7.8/_list.def
+share/nip2/compat/7.8/_predicate.def
+share/nip2/compat/7.8/_stdenv.def
+share/nip2/compat/7.8/_types.def
+share/nip2/compat/7.9/Math.def
+share/nip2/compat/7.9/Image.def
+share/nip2/compat/7.9/Mosaic.def
+share/nip2/compat/7.9/Colour.def
+share/nip2/compat/7.9/Resize.def
+share/nip2/compat/7.9/Capture.def
+share/nip2/compat/7.9/Format.def
+share/nip2/compat/7.9/Filter.def
+share/nip2/compat/7.9/Morphology.def
+share/nip2/compat/7.9/New.def
+share/nip2/compat/7.9/Histogram.def
+share/nip2/compat/7.9/Print.def
+share/nip2/compat/7.9/Rotate.def
+share/nip2/compat/7.9/Statistics.def
+share/nip2/compat/7.9/X_ray.def
+share/nip2/compat/7.9/_convert.def
+share/nip2/compat/7.9/_errors.def
+share/nip2/compat/7.9/_generate.def
+share/nip2/compat/7.9/_list.def
+share/nip2/compat/7.9/_predicate.def
+share/nip2/compat/7.9/_stdenv.def
+share/nip2/compat/7.9/_types.def
+share/nip2/compat/7.10/Colour.def
+share/nip2/compat/7.10/_convert.def
+share/nip2/compat/7.10/Filter.def
+share/nip2/compat/7.10/Format.def
+share/nip2/compat/7.10/_generate.def
+share/nip2/compat/7.10/Histogram.def
+share/nip2/compat/7.10/Image.def
+share/nip2/compat/7.10/_joe_extra.def
+share/nip2/compat/7.10/_joe_utilities.def
+share/nip2/compat/7.10/_list.def
+share/nip2/compat/7.10/Math.def
+share/nip2/compat/7.10/Matrix.def
+share/nip2/compat/7.10/_predicate.def
+share/nip2/compat/7.10/_stdenv.def
+share/nip2/compat/7.10/Tasks.def
+share/nip2/compat/7.10/_types.def
+share/nip2/compat/7.10/Widgets.def
+share/nip2/compat/7.12/Math.def
+share/nip2/compat/7.12/Image.def
+share/nip2/compat/7.12/Colour.def
+share/nip2/compat/7.12/Tasks.def
+share/nip2/compat/7.12/Format.def
+share/nip2/compat/7.12/Filter.def
+share/nip2/compat/7.12/Matrix.def
+share/nip2/compat/7.12/Widgets.def
+share/nip2/compat/7.12/Histogram.def
+share/nip2/compat/7.12/Preferences.ws
+share/nip2/compat/7.12/_joe_extra.def
+share/nip2/compat/7.12/_joe_utilities.def
+share/nip2/compat/7.12/_convert.def
+share/nip2/compat/7.12/_generate.def
+share/nip2/compat/7.12/_list.def
+share/nip2/compat/7.12/_predicate.def
+share/nip2/compat/7.12/_stdenv.def
+share/nip2/compat/7.12/_types.def
+@dirrm share/nip2/compat/7.8
+@dirrm share/nip2/compat/7.9
+@dirrm share/nip2/compat/7.10
+@dirrm share/nip2/compat/7.12
+@dirrm share/nip2/compat
+@dirrm share/nip2/data/examples/1_point_mosiac
+@dirrm share/nip2/data/examples/2_point_mosiac
+@dirrm share/nip2/data/examples/businesscard
+@dirrm share/nip2/data/examples/clone
+@dirrm share/nip2/data/examples/framing
+@dirrm share/nip2/data/examples/logo
+@dirrm share/nip2/data/examples/manual_balance
+@dirrm share/nip2/data/examples/overlays_and_blending
+@dirrm share/nip2/data/examples/registering
+@dirrm share/nip2/data/examples
+@dirrm share/nip2/data
+@dirrm share/nip2/rc
+@dirrm share/nip2/start
+@dirrm share/nip2
+%%DOCSDIR%%/html/figs/ir1.jpg
+%%DOCSDIR%%/html/figs/ir2.jpg
+%%DOCSDIR%%/html/figs/ir3.jpg
+%%DOCSDIR%%/html/figs/ir4.jpg
+%%DOCSDIR%%/html/figs/ir5.jpg
+%%DOCSDIR%%/html/figs/ir6.jpg
+%%DOCSDIR%%/html/figs/ir7.jpg
+%%DOCSDIR%%/html/figs/ir8a.jpg
+%%DOCSDIR%%/html/figs/ir9.jpg
+%%DOCSDIR%%/html/figs/mos2.png
+%%DOCSDIR%%/html/figs/scr21a.png
+%%DOCSDIR%%/html/figs/scr22.png
+%%DOCSDIR%%/html/figs/scr23.jpg
+%%DOCSDIR%%/html/figs/scr24.jpg
+%%DOCSDIR%%/html/figs/scr25.jpg
+%%DOCSDIR%%/html/figs/scr26.png
+%%DOCSDIR%%/html/figs/snap1.jpg
+%%DOCSDIR%%/html/figs/snap10.jpg
+%%DOCSDIR%%/html/figs/snap11.jpg
+%%DOCSDIR%%/html/figs/snap12.jpg
+%%DOCSDIR%%/html/figs/snap13.jpg
+%%DOCSDIR%%/html/figs/snap14.jpg
+%%DOCSDIR%%/html/figs/snap15.jpg
+%%DOCSDIR%%/html/figs/snap16.jpg
+%%DOCSDIR%%/html/figs/snap2.jpg
+%%DOCSDIR%%/html/figs/snap3.jpg
+%%DOCSDIR%%/html/figs/snap4.jpg
+%%DOCSDIR%%/html/figs/snap5.jpg
+%%DOCSDIR%%/html/figs/snap6.jpg
+%%DOCSDIR%%/html/figs/snap7.jpg
+%%DOCSDIR%%/html/figs/snap7a.jpg
+%%DOCSDIR%%/html/figs/snap8.jpg
+%%DOCSDIR%%/html/figs/snap9.jpg
+%%DOCSDIR%%/html/figs/toolkit.jpg
+%%DOCSDIR%%/html/figs/toolkit2.jpg
+%%DOCSDIR%%/html/figs/toolkit3.jpg
+%%DOCSDIR%%/html/nipguide.css
+%%DOCSDIR%%/html/nipguide.html
+%%DOCSDIR%%/html/nipguide37.html
+%%DOCSDIR%%/html/nipguideap1.html
+%%DOCSDIR%%/html/nipguidech1.html
+%%DOCSDIR%%/html/nipguidech2.html
+%%DOCSDIR%%/html/nipguidech3.html
+%%DOCSDIR%%/html/nipguidech4.html
+%%DOCSDIR%%/html/nipguidech5.html
+%%DOCSDIR%%/html/nipguidech6.html
+%%DOCSDIR%%/html/nipguideli1.html
+%%DOCSDIR%%/html/nipguideli2.html
+%%DOCSDIR%%/html/nipguideli3.html
+%%DOCSDIR%%/html/nipguidese1.html
+%%DOCSDIR%%/html/nipguidese10.html
+%%DOCSDIR%%/html/nipguidese11.html
+%%DOCSDIR%%/html/nipguidese12.html
+%%DOCSDIR%%/html/nipguidese13.html
+%%DOCSDIR%%/html/nipguidese14.html
+%%DOCSDIR%%/html/nipguidese15.html
+%%DOCSDIR%%/html/nipguidese16.html
+%%DOCSDIR%%/html/nipguidese17.html
+%%DOCSDIR%%/html/nipguidese18.html
+%%DOCSDIR%%/html/nipguidese19.html
+%%DOCSDIR%%/html/nipguidese2.html
+%%DOCSDIR%%/html/nipguidese20.html
+%%DOCSDIR%%/html/nipguidese21.html
+%%DOCSDIR%%/html/nipguidese22.html
+%%DOCSDIR%%/html/nipguidese23.html
+%%DOCSDIR%%/html/nipguidese24.html
+%%DOCSDIR%%/html/nipguidese25.html
+%%DOCSDIR%%/html/nipguidese26.html
+%%DOCSDIR%%/html/nipguidese27.html
+%%DOCSDIR%%/html/nipguidese28.html
+%%DOCSDIR%%/html/nipguidese29.html
+%%DOCSDIR%%/html/nipguidese3.html
+%%DOCSDIR%%/html/nipguidese30.html
+%%DOCSDIR%%/html/nipguidese31.html
+%%DOCSDIR%%/html/nipguidese32.html
+%%DOCSDIR%%/html/nipguidese33.html
+%%DOCSDIR%%/html/nipguidese34.html
+%%DOCSDIR%%/html/nipguidese35.html
+%%DOCSDIR%%/html/nipguidese36.html
+%%DOCSDIR%%/html/nipguidese4.html
+%%DOCSDIR%%/html/nipguidese5.html
+%%DOCSDIR%%/html/nipguidese6.html
+%%DOCSDIR%%/html/nipguidese7.html
+%%DOCSDIR%%/html/nipguidese8.html
+%%DOCSDIR%%/html/nipguidese9.html
+%%PORTDOCS%%%%DOCSDIR%%/pdf/nipguide.pdf
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/pdf
+@dirrm %%DOCSDIR%%/html/figs
+@dirrm %%DOCSDIR%%/html
+@dirrm %%DOCSDIR%%
+share/mime/packages/nip2.xml
+share/applications/nip2.desktop
+@dirrmtry share/applications
+@exec update-mime-database %D/share/mime || :
+@exec update-desktop-database %D/share/applications || :
+@unexec update-mime-database %D/share/mime || :
+@unexec update-desktop-database %D/share/applications || :