From 3e1e594f0176d8e831b60fba2b97b6bc5f34ef6e Mon Sep 17 00:00:00 2001 From: ahze Date: Sat, 22 Jul 2006 15:06:31 +0000 Subject: - Make gqview link to PTHREAD_LIBS to fix runtime with new stuff git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6683 df743ca5-7f9a-e211-a948-0013205c9059 --- graphics/gqview-devel/Makefile | 48 ++++++++++++++++ graphics/gqview-devel/distinfo | 3 + graphics/gqview-devel/files/patch-Makefile.in | 12 ++++ graphics/gqview-devel/pkg-descr | 6 ++ graphics/gqview-devel/pkg-plist | 80 +++++++++++++++++++++++++++ graphics/gqview/Makefile | 57 +++++++++++++++++++ graphics/gqview/distinfo | 3 + graphics/gqview/files/patch-Makefile.in | 12 ++++ graphics/gqview/pkg-descr | 6 ++ graphics/gqview/pkg-plist | 31 +++++++++++ 10 files changed, 258 insertions(+) create mode 100644 graphics/gqview-devel/Makefile create mode 100644 graphics/gqview-devel/distinfo create mode 100644 graphics/gqview-devel/files/patch-Makefile.in create mode 100644 graphics/gqview-devel/pkg-descr create mode 100644 graphics/gqview-devel/pkg-plist create mode 100644 graphics/gqview/Makefile create mode 100644 graphics/gqview/distinfo create mode 100644 graphics/gqview/files/patch-Makefile.in create mode 100644 graphics/gqview/pkg-descr create mode 100644 graphics/gqview/pkg-plist (limited to 'graphics') diff --git a/graphics/gqview-devel/Makefile b/graphics/gqview-devel/Makefile new file mode 100644 index 000000000..e4727799a --- /dev/null +++ b/graphics/gqview-devel/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: gqview +# Date Created: 27 Oct 1998 +# Whom: Vanilla Pooh Shu +# +# $FreeBSD$ +# + +PORTNAME= gqview +PORTVERSION= 2.1.1 +PORTREVISION= 2 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= oliver@FreeBSD.org +COMMENT= Another gtk2-based graphic file viewer + +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png + +USE_X_PREFIX= yes +USE_GNOME= gnomehier gtk20 +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" + +MAN1= gqview.1 + +CONFLICTS= gqview-1.4* gqview-2.0* +LATEST_LINK= gqview-devel + +post-patch: + @${REINPLACE_CMD} -e 's|$$prefix/share/doc/gqview-$$VERSION|${DOCSDIR}|g' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|$$(datadir)/doc/gqview-$$(VERSION)/html|${DOCSDIR}/html|g' \ + ${WRKSRC}/doc/Makefile.in + +post-install: + ${MKDIR} ${PREFIX}/share/gnome/apps/Graphics + ${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics + ${MKDIR} ${PREFIX}/share/gnome/pixmaps + ${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/gnome/pixmaps +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include diff --git a/graphics/gqview-devel/distinfo b/graphics/gqview-devel/distinfo new file mode 100644 index 000000000..07f0ff853 --- /dev/null +++ b/graphics/gqview-devel/distinfo @@ -0,0 +1,3 @@ +MD5 (gqview-2.1.1.tar.gz) = 2cd110305cfe4c530fcd6e34bb52e1f2 +SHA256 (gqview-2.1.1.tar.gz) = 948d389d72906b798db3b5013a1769d1f8c9c9f3b6dff66c8820dfa0820b02e2 +SIZE (gqview-2.1.1.tar.gz) = 1403226 diff --git a/graphics/gqview-devel/files/patch-Makefile.in b/graphics/gqview-devel/files/patch-Makefile.in new file mode 100644 index 000000000..4bc50ebd9 --- /dev/null +++ b/graphics/gqview-devel/files/patch-Makefile.in @@ -0,0 +1,12 @@ +--- Makefile.in.orig Fri Jan 7 08:33:21 2005 ++++ Makefile.in Sun Jan 9 22:20:21 2005 +@@ -637,8 +633,7 @@ + + info-am: + +-install-data-am: install-desktopDATA install-iconDATA install-man \ +- install-readmeDATA ++install-data-am: install-man + + install-exec-am: + diff --git a/graphics/gqview-devel/pkg-descr b/graphics/gqview-devel/pkg-descr new file mode 100644 index 000000000..50961072f --- /dev/null +++ b/graphics/gqview-devel/pkg-descr @@ -0,0 +1,6 @@ +Another gtk2-based graphic file viewer. + +WWW: http://gqview.sourceforge.net/ + +-Vanilla +vanilla@FreeBSD.ORG diff --git a/graphics/gqview-devel/pkg-plist b/graphics/gqview-devel/pkg-plist new file mode 100644 index 000000000..1bfe4eae9 --- /dev/null +++ b/graphics/gqview-devel/pkg-plist @@ -0,0 +1,80 @@ +bin/gqview +%%PORTDOCS%%%%DOCSDIR%%/README +%%DOCSDIR%%/html/gnu_fdl.txt +%%DOCSDIR%%/html/gqview_faq.html +%%DOCSDIR%%/html/index.html +%%DOCSDIR%%/html/1_introduction.html +%%DOCSDIR%%/html/2_main_window.html +%%DOCSDIR%%/html/2_1_navigation.html +%%DOCSDIR%%/html/2_2_menus.html +%%DOCSDIR%%/html/2_3_layout.html +%%DOCSDIR%%/html/2_4_file_pane.html +%%DOCSDIR%%/html/2_5_folder_pane.html +%%DOCSDIR%%/html/2_6_image_pane.html +%%DOCSDIR%%/html/2_7_status_bar.html +%%DOCSDIR%%/html/3_other_windows.html +%%DOCSDIR%%/html/3_1_image_window.html +%%DOCSDIR%%/html/3_2_image_properties.html +%%DOCSDIR%%/html/4_image_management.html +%%DOCSDIR%%/html/4_1_copy_move.html +%%DOCSDIR%%/html/4_2_rename.html +%%DOCSDIR%%/html/4_3_delete.html +%%DOCSDIR%%/html/4_4_external_editing.html +%%DOCSDIR%%/html/5_image_search.html +%%DOCSDIR%%/html/5_1_search.html +%%DOCSDIR%%/html/5_2_finding_duplicates.html +%%DOCSDIR%%/html/6_collections.html +%%DOCSDIR%%/html/7_sidebars.html +%%DOCSDIR%%/html/7_1_exif.html +%%DOCSDIR%%/html/7_2_sort_manager.html +%%DOCSDIR%%/html/7_3_keywords.html +%%DOCSDIR%%/html/8_image_presentation.html +%%DOCSDIR%%/html/8_1_slideshow.html +%%DOCSDIR%%/html/8_2_fullscreen.html +%%DOCSDIR%%/html/9_printing.html +%%DOCSDIR%%/html/10_options.html +%%DOCSDIR%%/html/10_1_general.html +%%DOCSDIR%%/html/10_2_image.html +%%DOCSDIR%%/html/10_3_window.html +%%DOCSDIR%%/html/10_4_filtering.html +%%DOCSDIR%%/html/10_5_editor_commands.html +%%DOCSDIR%%/html/10_6_advanced.html +%%DOCSDIR%%/html/10_7_hidden.html +%%DOCSDIR%%/html/11_reference.html +%%DOCSDIR%%/html/11_1_command_line.html +%%DOCSDIR%%/html/11_2_keyboard_shortcuts.html +%%DOCSDIR%%/html/11_3_thumbnails.html +%%DOCSDIR%%/html/11_4_management.html +%%DOCSDIR%%/html/12_credits.html +share/locale/ar/LC_MESSAGES/gqview.mo +share/locale/bg/LC_MESSAGES/gqview.mo +share/locale/cs/LC_MESSAGES/gqview.mo +share/locale/da/LC_MESSAGES/gqview.mo +share/locale/de/LC_MESSAGES/gqview.mo +share/locale/es/LC_MESSAGES/gqview.mo +share/locale/et/LC_MESSAGES/gqview.mo +share/locale/fi/LC_MESSAGES/gqview.mo +share/locale/fr/LC_MESSAGES/gqview.mo +share/locale/hu/LC_MESSAGES/gqview.mo +share/locale/id/LC_MESSAGES/gqview.mo +share/locale/it/LC_MESSAGES/gqview.mo +share/locale/ja/LC_MESSAGES/gqview.mo +share/locale/nl/LC_MESSAGES/gqview.mo +share/locale/no/LC_MESSAGES/gqview.mo +share/locale/pl/LC_MESSAGES/gqview.mo +share/locale/pt_BR/LC_MESSAGES/gqview.mo +share/locale/ro/LC_MESSAGES/gqview.mo +share/locale/ru/LC_MESSAGES/gqview.mo +share/locale/sk/LC_MESSAGES/gqview.mo +share/locale/sl/LC_MESSAGES/gqview.mo +share/locale/sv/LC_MESSAGES/gqview.mo +share/locale/th/LC_MESSAGES/gqview.mo +share/locale/tr/LC_MESSAGES/gqview.mo +share/locale/uk/LC_MESSAGES/gqview.mo +share/locale/vi/LC_MESSAGES/gqview.mo +share/locale/zh_CN.GB2312/LC_MESSAGES/gqview.mo +share/locale/zh_TW/LC_MESSAGES/gqview.mo +share/gnome/apps/Graphics/gqview.desktop +share/gnome/pixmaps/gqview.png +@dirrm %%DOCSDIR%%/html +@dirrm %%DOCSDIR%% diff --git a/graphics/gqview/Makefile b/graphics/gqview/Makefile new file mode 100644 index 000000000..3f0918c0f --- /dev/null +++ b/graphics/gqview/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: gqview +# Date Created: 27 Oct 1998 +# Whom: Vanilla Pooh Shu +# +# $FreeBSD$ +# + +PORTNAME= gqview +PORTVERSION= 2.0.1 +PORTREVISION= 2 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ale@FreeBSD.org +COMMENT= Another gtk2-based graphic file viewer + +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png + +USE_X_PREFIX= yes +USE_GNOME= gnomehier gtk20 +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" + +MAN1= gqview.1 + +CONFLICTS= gqview-devel-[0-9]* + +.if defined(WITHOUT_NLS) +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.else +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.endif + +.if !defined(NOPORTDOCS) +PORTDOCS= README html +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|$$prefix/share/doc/gqview-$$VERSION|${DOCSDIR}|g' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|$$(datadir)/doc/gqview-$$(VERSION)/html|${DOCSDIR}/html|g' \ + ${WRKSRC}/doc/Makefile.in + +post-install: + ${INSTALL_DATA} ${WRKSRC}/gqview.desktop ${PREFIX}/share/gnome/apps/Graphics + ${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/gnome/pixmaps +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include diff --git a/graphics/gqview/distinfo b/graphics/gqview/distinfo new file mode 100644 index 000000000..019b9fb2c --- /dev/null +++ b/graphics/gqview/distinfo @@ -0,0 +1,3 @@ +MD5 (gqview-2.0.1.tar.gz) = acd8f1dad2b04389c1936adac1512e32 +SHA256 (gqview-2.0.1.tar.gz) = 47e69381cd5a34aec524713275c4cf4ff97c014d65ec73378595ae2f5e142652 +SIZE (gqview-2.0.1.tar.gz) = 1326999 diff --git a/graphics/gqview/files/patch-Makefile.in b/graphics/gqview/files/patch-Makefile.in new file mode 100644 index 000000000..d7ecd3d0d --- /dev/null +++ b/graphics/gqview/files/patch-Makefile.in @@ -0,0 +1,12 @@ +--- Makefile.in.orig Sun Feb 27 00:36:49 2005 ++++ Makefile.in Sun Feb 27 00:37:19 2005 +@@ -664,8 +664,7 @@ + + info-am: + +-install-data-am: install-desktopDATA install-iconDATA install-man \ +- install-readmeDATA ++install-data-am: install-man + + install-exec-am: + diff --git a/graphics/gqview/pkg-descr b/graphics/gqview/pkg-descr new file mode 100644 index 000000000..50961072f --- /dev/null +++ b/graphics/gqview/pkg-descr @@ -0,0 +1,6 @@ +Another gtk2-based graphic file viewer. + +WWW: http://gqview.sourceforge.net/ + +-Vanilla +vanilla@FreeBSD.ORG diff --git a/graphics/gqview/pkg-plist b/graphics/gqview/pkg-plist new file mode 100644 index 000000000..102d5d7f8 --- /dev/null +++ b/graphics/gqview/pkg-plist @@ -0,0 +1,31 @@ +bin/gqview +%%NLS%%share/locale/ar/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/bg/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/cs/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/da/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/de/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/es/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/et/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/fi/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/fr/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/hu/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/id/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/it/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/ja/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/nl/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/no/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/pl/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/ro/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/ru/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/sk/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/sl/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/sv/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/th/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/tr/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/uk/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/vi/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/zh_CN.GB2312/LC_MESSAGES/gqview.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/gqview.mo +share/gnome/apps/Graphics/gqview.desktop +share/gnome/pixmaps/gqview.png -- cgit v1.2.3