svn commit: r306916 - in head/graphics/yagf: . files
Boris Samorodov
bsam at FreeBSD.org
Sat Nov 3 13:18:37 UTC 2012
Author: bsam
Date: Sat Nov 3 13:18:37 2012
New Revision: 306916
URL: http://svn.freebsd.org/changeset/ports/306916
Log:
. update to version 0.9.2;
. USE_GNOME=pkgconfig -> USE_PKGCONFIG=build;
. make use of desktopfileutils for port and package;
. use two line style headers.
Feature safe: yes
Deleted:
head/graphics/yagf/files/patch-src-FileChannel.cpp
Modified:
head/graphics/yagf/Makefile
head/graphics/yagf/distinfo
head/graphics/yagf/files/patch-CMakeLists.txt
head/graphics/yagf/pkg-plist
Modified: head/graphics/yagf/Makefile
==============================================================================
--- head/graphics/yagf/Makefile Sat Nov 3 13:18:14 2012 (r306915)
+++ head/graphics/yagf/Makefile Sat Nov 3 13:18:37 2012 (r306916)
@@ -1,13 +1,8 @@
-# New ports collection makefile for: graphics/yagf
-# Date created: 2009-09-11
-# Whom: bsam
-#
+# Created by: Boris Samorodov <bsam at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= yagf
-PORTVERSION= 0.8.1
-PORTREVISION= 4
+PORTVERSION= 0.9.2
CATEGORIES= graphics
MASTER_SITES= http://symmetrica.net/cuneiform-linux/
@@ -20,12 +15,16 @@ ONLY_FOR_ARCHS= i386 amd64
USE_CMAKE= yes
USE_LDCONFIG= yes
-USE_GNOME= pkgconfig
INSTALLS_ICONS= yes
+USE_PKGCONFIG= build
+USE_GNOME= desktopfileutils
USE_QT4= corelib gui imageformats linguist_build \
moc_build qmake_build rcc_build uic_build
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
+post-install:
+ -update-desktop-database
+
.include <bsd.port.mk>
Modified: head/graphics/yagf/distinfo
==============================================================================
--- head/graphics/yagf/distinfo Sat Nov 3 13:18:14 2012 (r306915)
+++ head/graphics/yagf/distinfo Sat Nov 3 13:18:37 2012 (r306916)
@@ -1,2 +1,2 @@
-SHA256 (yagf-0.8.1.tar.gz) = f520629cf36e346bfa032a12fd6a84b14ab7d48d5e86d1fd3340d94cbb7f4f03
-SIZE (yagf-0.8.1.tar.gz) = 189938
+SHA256 (yagf-0.9.2.tar.gz) = 1099760462c029aa9919ef96809a1b0252d8d735d9d0807ce790f9d3e1e271b8
+SIZE (yagf-0.9.2.tar.gz) = 258305
Modified: head/graphics/yagf/files/patch-CMakeLists.txt
==============================================================================
--- head/graphics/yagf/files/patch-CMakeLists.txt Sat Nov 3 13:18:14 2012 (r306915)
+++ head/graphics/yagf/files/patch-CMakeLists.txt Sat Nov 3 13:18:37 2012 (r306916)
@@ -1,6 +1,15 @@
---- CMakeLists.txt.orig 2009-08-16 20:54:20.000000000 +0400
-+++ CMakeLists.txt 2009-09-14 13:09:48.000000000 +0400
-@@ -25,12 +25,12 @@
+--- CMakeLists.txt.orig 2012-09-04 15:00:25.000000000 +0400
++++ CMakeLists.txt 2012-11-03 02:04:20.000000000 +0400
+@@ -34,7 +34,7 @@ qt4_add_resources(yagf_RCC_SRCS ${yagf_R
+ include_directories( ${CMAKE_BINARY_DIR} ${PROJECT_SOURCE_DIR}/src)
+ add_executable(yagf ${SOURCES} ${UI_HEADERS} ${MOC_SRCS} ${yagf_RCC_SRCS} ${QM_FILES})
+ add_library(xspreload SHARED ${INT_SOURCES})
+-target_link_libraries(xspreload dl)
++target_link_libraries(xspreload)
+ target_link_libraries(yagf ${QT_LIBRARIES} ${ASPELL_LIBRARIES} ${TIFF_LIBRARIES})
+ add_custom_target(translations DEPENDS ${QM_FILES})
+ qt4_add_translation(${CMAKE_BINARY_DIR}/yagf_ru.qm ${PROJECT_SOURCE_DIR}/src/mainform.cpp ${PROJECT_SOURCE_DIR}/src/popplerdialog.cpp ${MOC_SRCS} ${UI_HEADERS} ${PROJECT_SOURCE_DIR}/src/translations/yagf_ru.ts)
+@@ -45,12 +45,12 @@ qt4_add_translation(${CMAKE_BINARY_DIR}/
#QT4_CREATE_TRANSLATION(yagf_ru.qm src/mainform.cpp ${MOC_SRCS} ${UI_HEADERS} src/yagf_ru.ts)
#set(CMAKE_INSTALL_PREFIX /usr/)
if (NOT DEFINED ${CMAKE_INSTALL_PREFIX})
Modified: head/graphics/yagf/pkg-plist
==============================================================================
--- head/graphics/yagf/pkg-plist Sat Nov 3 13:18:14 2012 (r306915)
+++ head/graphics/yagf/pkg-plist Sat Nov 3 13:18:37 2012 (r306916)
@@ -3,8 +3,11 @@ lib/yagf/libxspreload.so
share/applications/YAGF.desktop
share/icons/hicolor/96x96/apps/yagf.png
share/pixmaps/yagf.png
+share/yagf/translations/yagf_de.qm
share/yagf/translations/yagf_lt.qm
+share/yagf/translations/yagf_pl.qm
share/yagf/translations/yagf_ru.qm
+share/yagf/translations/yagf_uk.qm
@comment those are yagf directories
@dirrm lib/yagf
@dirrm share/yagf/translations
@@ -15,3 +18,5 @@ share/yagf/translations/yagf_ru.qm
@dirrmtry share/icons/hicolor/96x96
@dirrmtry share/icons/hicolor
@dirrmtry share/icons
+ at exec %%LOCALBASE%%/bin/update-desktop-database || :
+ at unexec %%LOCALBASE%%/bin/update-desktop-database || :
More information about the svn-ports-all
mailing list