diff options
-rw-r--r-- | polish/qnapi/Makefile | 7 | ||||
-rw-r--r-- | polish/qnapi/distinfo | 6 | ||||
-rw-r--r-- | polish/qnapi/files/patch-gui_gui.pro | 10 | ||||
-rw-r--r-- | polish/qnapi/files/patch-qnapi.pro | 18 | ||||
-rw-r--r-- | polish/qnapi/pkg-plist | 3 |
5 files changed, 37 insertions, 7 deletions
diff --git a/polish/qnapi/Makefile b/polish/qnapi/Makefile index 8db929f14e8e..63ade9df73ed 100644 --- a/polish/qnapi/Makefile +++ b/polish/qnapi/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= qnapi -PORTVERSION= 0.2.2 -PORTREVISION= 1 +PORTVERSION= 0.2.3 CATEGORIES= polish multimedia MAINTAINER= pawel@FreeBSD.org @@ -25,13 +24,13 @@ USE_GL= gl USE_QT5= buildtools_build core gui network widgets xml CXXFLAGS+= -I${LOCALBASE}/include/maia -QMAKE_ARGS= LIBS=-lmaia post-patch: - @${REINPLACE_CMD} 's|/usr|${PREFIX}|; s|share/man|man|; /doc \\/d' \ + @${REINPLACE_CMD} 's|/usr|${PREFIX}|; s|share/man|man|' \ ${WRKSRC}/qnapi.pro post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qnapi (cd ${WRKSRC}/doc && ${INSTALL_DATA} qnapi-download.desktop \ qnapi-scan.desktop ${STAGEDIR}${DESKTOPDIR}) diff --git a/polish/qnapi/distinfo b/polish/qnapi/distinfo index f2e81f28e9e0..3eedbc881715 100644 --- a/polish/qnapi/distinfo +++ b/polish/qnapi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1478906057 -SHA256 (qnapi-qnapi-0.2.2_GH0.tar.gz) = 797868b4df922f7bbccbe677279d7a20e500ee85bebb3ef1ca93045e88b46126 -SIZE (qnapi-qnapi-0.2.2_GH0.tar.gz) = 9481096 +TIMESTAMP = 1495221810 +SHA256 (qnapi-qnapi-0.2.3_GH0.tar.gz) = c0f4dfdef653a6c6eb90e110a85b6cf41e03d9dc91c3a0cbd48e498d3dcb3729 +SIZE (qnapi-qnapi-0.2.3_GH0.tar.gz) = 9619791 diff --git a/polish/qnapi/files/patch-gui_gui.pro b/polish/qnapi/files/patch-gui_gui.pro new file mode 100644 index 000000000000..7f379e1b8b7b --- /dev/null +++ b/polish/qnapi/files/patch-gui_gui.pro @@ -0,0 +1,10 @@ +--- gui/gui.pro.orig 2017-05-19 20:28:11 UTC ++++ gui/gui.pro +@@ -81,6 +81,7 @@ unix:!macx { + DESTDIR = ../ + CONFIG += link_pkgconfig + PKGCONFIG += libmediainfo ++ LIBS += -lmaia + } + + macx { diff --git a/polish/qnapi/files/patch-qnapi.pro b/polish/qnapi/files/patch-qnapi.pro new file mode 100644 index 000000000000..0cc9df032c05 --- /dev/null +++ b/polish/qnapi/files/patch-qnapi.pro @@ -0,0 +1,18 @@ +--- qnapi.pro.orig 2017-05-19 16:50:58 UTC ++++ qnapi.pro +@@ -12,14 +12,7 @@ unix { + target.files += qnapi + target.path = $${INSTALL_PREFIX}/bin + doc.path = $${INSTALL_PREFIX}/share/doc/qnapi +- doc.files = doc/ChangeLog \ +- doc/LICENSE \ +- doc/LICENSE-pl \ +- doc/COPYRIGHT \ +- doc/qnapi-download.desktop \ +- doc/qnapi-scan.desktop \ +- doc/qnapi-download.schemas \ +- doc/qnapi-scan.schemas ++ doc.files = doc/ChangeLog + man.path = $${INSTALL_PREFIX}/share/man/man1/ + man.files = doc/man/qnapi.1.gz + man_it.path = $${INSTALL_PREFIX}/share/man/it/man1/ diff --git a/polish/qnapi/pkg-plist b/polish/qnapi/pkg-plist index 864e85a41a69..f06c28215785 100644 --- a/polish/qnapi/pkg-plist +++ b/polish/qnapi/pkg-plist @@ -1,8 +1,11 @@ bin/qnapi +man/it/man1/qnapi.1.gz man/man1/qnapi.1.gz +man/pl/man1/qnapi.1.gz share/applications/qnapi-download.desktop share/applications/qnapi-scan.desktop share/applications/qnapi.desktop +%%DOCSDIR%%/ChangeLog share/icons/hicolor/128x128/apps/qnapi.png share/icons/hicolor/16x16/apps/qnapi.png share/icons/hicolor/32x32/apps/qnapi.png |