ports/122909: [NEW PORT] polish/qnapi
Pawel Pekala
c0rn at o2.pl
Sat Apr 19 12:10:04 UTC 2008
>Number: 122909
>Category: ports
>Synopsis: [NEW PORT] polish/qnapi
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 19 12:10:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Pawel Pekala
>Release: FreeBSD 6.2-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD 6.2-RELEASE-p9 #0: Thu Nov 29 04:07:33 UTC 2007
root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>Description:
This is port of polish subtitle distribution project Qt4 client.
>How-To-Repeat:
>Fix:
--- qnapi.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# qnapi
# qnapi/pkg-descr
# qnapi/Makefile
# qnapi/distinfo
# qnapi/files
# qnapi/files/patch-qnapi.pro
# qnapi/files/patch-doc-qnapi.desktop
# qnapi/files/patch-doc-qnapi_download.desktop
# qnapi/files/patch-doc-qnapi_download.schemas
# qnapi/pkg-plist
#
echo c - qnapi
mkdir -p qnapi > /dev/null 2>&1
echo x - qnapi/pkg-descr
sed 's/^X//' >qnapi/pkg-descr << 'END-of-qnapi/pkg-descr'
XWWW: http://krzemin.iglu.cz/?page_id=29
END-of-qnapi/pkg-descr
echo x - qnapi/Makefile
sed 's/^X//' >qnapi/Makefile << 'END-of-qnapi/Makefile'
X# New ports collection makefile for: qnapi
X# Date created: 2008-02-15
X# Whom: Pawel Pekala <c0rn at o2.pl>
X#
X# $FreeBSD$
X#
X
XPORTNAME= qnapi
XPORTVERSION= 0.1.4
XCATEGORIES= polish multimedia
XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR= qnapi
X
XMAINTAINER= c0rn at o2.pl
XCOMMENT= Unoffical napiprojekt.pl qt4 client
X
XRUN_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
X
XUSE_QT_VER= 4
XQT_COMPONENTS= corelib gui network qmake_build moc_build uic_build
XINSTALLS_ICONS= yes
X
XMAN1= qnapi.1
XPORTDOCS= ChangeLog changelog.gz README LICENSE
X
Xpost-patch:
X @cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' qnapi.pro \
X doc/qnapi.desktop doc/qnapi-download.desktop
X
Xpre-build:
X @cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC}
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${MKDIR} ${DOCSDIR}
X.for file in ${PORTDOCS}
X @${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-qnapi/Makefile
echo x - qnapi/distinfo
sed 's/^X//' >qnapi/distinfo << 'END-of-qnapi/distinfo'
XMD5 (qnapi-0.1.4.tar.gz) = 854f482494c5ef723d824766d61714df
XSHA256 (qnapi-0.1.4.tar.gz) = 9af31435002c9a832fb98c6a51fa47ac1164695404859644031bcabf33d846e8
XSIZE (qnapi-0.1.4.tar.gz) = 331880
END-of-qnapi/distinfo
echo c - qnapi/files
mkdir -p qnapi/files > /dev/null 2>&1
echo x - qnapi/files/patch-qnapi.pro
sed 's/^X//' >qnapi/files/patch-qnapi.pro << 'END-of-qnapi/files/patch-qnapi.pro'
X--- qnapi.pro.orig Mon Apr 7 20:55:58 2008
X+++ qnapi.pro Tue Apr 8 20:38:47 2008
X@@ -74,35 +74,32 @@
X
X unix {
X # install stuff
X-INSTALL_PREFIX = /usr
X+INSTALL_PREFIX = @PREFIX@
X
X target.path = $${INSTALL_PREFIX}/bin
X
X-doc.path = $${INSTALL_PREFIX}/share/doc/$${TARGET}
X-doc.files = doc/ChangeLog doc/changelog.gz doc/README doc/LICENSE doc/qnapi-download.desktop doc/qnapi-download.schemas
X+man.path = $${INSTALL_PREFIX}/man/man1
X+man.files = doc/$${TARGET}.1
X
X-man.path = $${INSTALL_PREFIX}/share/man/man1
X-man.files = doc/$${TARGET}.1.gz
X-
X-icons.path = /usr/share/icons
X+icons.path = $${INSTALL_PREFIX}/share/icons
X icons.files = res/qnapi.png res/qnapi-48.png res/qnapi-128.png res/qnapi-512.png
X
X-desktop.path = /usr/share/applications
X+desktop.path = $${INSTALL_PREFIX}/share/applications
X desktop.files = doc/$${TARGET}.desktop
X
X-dolphin_integration.path = /usr/share/apps/dolphin/servicemenus
X+dolphin_integration.path = $${INSTALL_PREFIX}/share/apps/dolphin/servicemenus
X dolphin_integration.files = doc/$${TARGET}-download.desktop
X
X-d3lphin_integration.path = /usr/share/apps/d3lphin/servicemenus
X+d3lphin_integration.path = $${INSTALL_PREFIX}/share/apps/d3lphin/servicemenus
X d3lphin_integration.files = doc/$${TARGET}-download.desktop
X
X-konqueror_integration.path = /usr/share/apps/konqueror/servicemenus
X+konqueror_integration.path = $${INSTALL_PREFIX}/share/apps/konqueror/servicemenus
X konqueror_integration.files = doc/$${TARGET}-download.desktop
X
X-kde4_integration.path = /usr/lib/kde4/share/kde4/services/ServiceMenus
X+kde4_integration.path = $${INSTALL_PREFIX}/lib/kde4/share/kde4/services/ServiceMenus
X kde4_integration.files = doc/$${TARGET}-download.desktop
X
X-INSTALLS = target doc man icons desktop dolphin_integration \
X+INSTALLS = target man icons desktop dolphin_integration \
X d3lphin_integration konqueror_integration kde4_integration
X }
X
END-of-qnapi/files/patch-qnapi.pro
echo x - qnapi/files/patch-doc-qnapi.desktop
sed 's/^X//' >qnapi/files/patch-doc-qnapi.desktop << 'END-of-qnapi/files/patch-doc-qnapi.desktop'
X--- doc/qnapi.desktop.orig Tue Feb 26 20:18:29 2008
X+++ doc/qnapi.desktop Thu Apr 10 20:07:03 2008
X@@ -1,7 +1,7 @@
X [Desktop Entry]
X Exec=qnapi
X Name=QNapi
X-Icon=/usr/share/icons/qnapi-48.png
X+Icon=@PREFIX@/share/icons/qnapi.png
X Type=Application
X Categories=Application;Multimedia;AudioVideo;Utility;Qt;
X Comment=Program do pobierania napisów do filmów
END-of-qnapi/files/patch-doc-qnapi.desktop
echo x - qnapi/files/patch-doc-qnapi_download.desktop
sed 's/^X//' >qnapi/files/patch-doc-qnapi_download.desktop << 'END-of-qnapi/files/patch-doc-qnapi_download.desktop'
X--- doc/qnapi-download.desktop.orig Mon Apr 7 20:55:58 2008
X+++ doc/qnapi-download.desktop Thu Apr 10 20:08:37 2008
X@@ -4,7 +4,7 @@
X Actions=QNapiDownload;
X Name=Pobierz napisy do filmu z QNapi
X GenericName=Pobierz napisy do filmu z QNapi
X-Icon=/usr/share/icons/qnapi-48.png
X+Icon=@PREFIX@/share/icons/qnapi.png
X ServiceTypes=video/x-msvideo,video/x-ms-asf,video/mpeg,video/x-ms-wmv,video/mp4,video/quicktime,video/x-theora,video/x-matroska,video/3gpp,application/vnd.rn-realmedia,application/vnd.rn-realmedia-vbr
X X-KDE-ServiceTypes=KonqPopupMenu/Plugin
X Type=Service
X@@ -12,4 +12,4 @@
X [Desktop Action QNapiDownload]
X Name=Pobierz napisy do filmu z QNapi
X Exec=qnapi %F
X-Icon=/usr/share/icons/qnapi-48.png
X+Icon=@PREFIX@/share/icons/qnapi.png
END-of-qnapi/files/patch-doc-qnapi_download.desktop
echo x - qnapi/files/patch-doc-qnapi_download.schemas
sed 's/^X//' >qnapi/files/patch-doc-qnapi_download.schemas << 'END-of-qnapi/files/patch-doc-qnapi_download.schemas'
X--- doc/qnapi-download.schemas.orig Sat Feb 23 11:31:20 2008
X+++ doc/qnapi-download.schemas Thu Apr 10 20:11:23 2008
X@@ -32,7 +32,7 @@
X <short>The icon of the menu item</short>
X <long>The icon of the menu item that will appear next to the label in the Nautilus popup menu when the selection matches the appearance conditions settings</long>
X </locale>
X- <default>/usr/share/icons/qnapi.png</default>
X+ <default>@PREFIX@/share/icons/qnapi.png</default>
X </schema>
X <schema>
X <key>/schemas/apps/nautilus-actions/configurations/12e76756-c203-4a27-830f-af5a1527869e/path</key>
END-of-qnapi/files/patch-doc-qnapi_download.schemas
echo x - qnapi/pkg-plist
sed 's/^X//' >qnapi/pkg-plist << 'END-of-qnapi/pkg-plist'
Xbin/qnapi
Xlib/kde4/share/kde4/services/ServiceMenus/qnapi-download.desktop
Xshare/icons/qnapi.png
Xshare/icons/qnapi-48.png
Xshare/icons/qnapi-128.png
Xshare/icons/qnapi-512.png
Xshare/applications/qnapi.desktop
Xshare/apps/dolphin/servicemenus/qnapi-download.desktop
Xshare/apps/d3lphin/servicemenus/qnapi-download.desktop
Xshare/apps/konqueror/servicemenus/qnapi-download.desktop
X at dirrmtry share/apps/d3lphin/servicemenus
X at dirrmtry share/apps/d3lphin
X at dirrmtry lib/kde4/share/kde4/services/ServiceMenus
X at dirrmtry lib/kde4/share/kde4/services
X at dirrmtry lib/kde4/share/kde4
X at dirrmtry lib/kde4/share
X at dirrmtry lib/kde4
END-of-qnapi/pkg-plist
exit
--- qnapi.shar ends here --
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list