diff --git a/polish/qfaktury/Makefile b/polish/qfaktury/Makefile new file mode 100644 index 000000000000..0a1af3fbe78a --- /dev/null +++ b/polish/qfaktury/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: qfaktury +# Date created: 2009-04-20 +# Whom: Piotr Rybicki (meritus@innervision.pl) +# +# $FreeBSD$ +# + +PORTNAME= qfaktury +PORTVERSION= 0.6.2 +CATEGORIES= polish deskutils +MASTER_SITES= SF + +MAINTAINER= meritus@innervision.pl +COMMENT= Polish invoicing desktop program + +USE_QT_VER= 4 +QT_COMPONENTS= qmake_build uic_build moc_build rcc_build corelib gui xml qt3support + +PORTDOCS= ChangeLog.txt ReadMe.txt ReleaseNotes.txt TODO.txt + +post-patch: + @cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' qfaktury.pro \ + QFaktury.desktop + +pre-build: + @cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC} + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${PORTDOCS} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif + +.include diff --git a/polish/qfaktury/distinfo b/polish/qfaktury/distinfo new file mode 100644 index 000000000000..2f1b4ac77ae8 --- /dev/null +++ b/polish/qfaktury/distinfo @@ -0,0 +1,3 @@ +MD5 (qfaktury-0.6.2.tar.gz) = 047f8239bf6187c9da9b69f90f284c15 +SHA256 (qfaktury-0.6.2.tar.gz) = b629b411f1c952c84abbcdd83f0a18a795dff1cccc4fc35ad6b7f1ee173c40a0 +SIZE (qfaktury-0.6.2.tar.gz) = 810034 diff --git a/polish/qfaktury/files/patch-QFaktury.desktop b/polish/qfaktury/files/patch-QFaktury.desktop new file mode 100644 index 000000000000..35f7f853eb72 --- /dev/null +++ b/polish/qfaktury/files/patch-QFaktury.desktop @@ -0,0 +1,15 @@ +--- QFaktury.desktop.orig 2009-04-20 10:11:34.000000000 +0200 ++++ QFaktury.desktop 2009-04-20 10:12:10.000000000 +0200 +@@ -5,10 +5,10 @@ + Type=Application + InitialPreference=2 + Categories=Application;Office;X-Red-Hat-Base;X-SuSE-Core-Office; +-Exec=/usr/local/bin/qfaktury ++Exec=@PREFIX@/bin/qfaktury + Name[pl_PL]=QFaktury GPL + GenericName[pl_PL]=qfaktury +-Icon=/usr/local/share/qfaktury/icons/qfaktury_48.png ++Icon=@PREFIX@/share/qfaktury/icons/qfaktury_48.png + Comment[pl_PL]=Program do drukowania faktur + Name=QFaktury GPL + StartupNotify=true diff --git a/polish/qfaktury/files/patch-qfaktury.pro b/polish/qfaktury/files/patch-qfaktury.pro new file mode 100644 index 000000000000..c32a2863289b --- /dev/null +++ b/polish/qfaktury/files/patch-qfaktury.pro @@ -0,0 +1,23 @@ +--- qfaktury.pro.orig 2009-04-20 10:16:58.000000000 +0200 ++++ qfaktury.pro 2009-04-20 10:20:27.000000000 +0200 +@@ -66,15 +66,15 @@ + TRANSLATIONS += qfaktury_de.ts \ + qfaktury_en.ts \ + qfaktury_pl.ts +-pixmaps.path = /usr/local/share/qfaktury/icons ++pixmaps.path = @PREFIX@/share/qfaktury/icons + pixmaps.files = icons/*.png +-css.path = /usr/local/share/qfaktury/templates ++css.path = @PREFIX@/share/qfaktury/templates + css.files = templates/*.css +-languages.path = /usr/local/share/qfaktury ++languages.path = @PREFIX@/share/qfaktury + languages.files = *.qm +-desktop.path = /usr/local/share/applications ++desktop.path = @PREFIX@/share/applications + desktop.files = *.desktop +-target.path = /usr/local/bin ++target.path = @PREFIX@/bin + INSTALLS += target \ + pixmaps \ + css \ diff --git a/polish/qfaktury/pkg-descr b/polish/qfaktury/pkg-descr new file mode 100644 index 000000000000..34c6695d4283 --- /dev/null +++ b/polish/qfaktury/pkg-descr @@ -0,0 +1,6 @@ +QFaktury is a polish free invoincing system running on Windows, +Linux, BSD and Mac OS X. Supports invoice, pro forma invoice and +invoice correction printing. Stores database of invoices, goods and +contractors. + +WWW: http://qfaktury.sourceforge.net diff --git a/polish/qfaktury/pkg-plist b/polish/qfaktury/pkg-plist new file mode 100644 index 000000000000..f3575a543ec9 --- /dev/null +++ b/polish/qfaktury/pkg-plist @@ -0,0 +1,37 @@ +bin/qfaktury +share/applications/QFaktury.desktop +share/qfaktury/icons/QT_original_R.png +share/qfaktury/icons/dane_firmy.png +share/qfaktury/icons/dodaj_kontrahentow.png +share/qfaktury/icons/dodaj_towar.png +share/qfaktury/icons/edytuj_fakture.png +share/qfaktury/icons/edytuj_kontrahentow.png +share/qfaktury/icons/edytuj_przelew.png +share/qfaktury/icons/edytuj_towar.png +share/qfaktury/icons/koniec.png +share/qfaktury/icons/kreator.png +share/qfaktury/icons/nowa_brutto.png +share/qfaktury/icons/nowa_duplikat.png +share/qfaktury/icons/nowa_faktura.png +share/qfaktury/icons/nowa_korekta.png +share/qfaktury/icons/nowa_proforma.png +share/qfaktury/icons/nowa_rachunek.png +share/qfaktury/icons/o_programie.png +share/qfaktury/icons/pomoc.png +share/qfaktury/icons/qfaktury_128.png +share/qfaktury/icons/qfaktury_16.png +share/qfaktury/icons/qfaktury_22.png +share/qfaktury/icons/qfaktury_32.png +share/qfaktury/icons/qfaktury_48.png +share/qfaktury/icons/qfaktury_64.png +share/qfaktury/icons/splash.png +share/qfaktury/icons/ustawienia.png +share/qfaktury/icons/usun_fakture.png +share/qfaktury/icons/usun_kontrahentow.png +share/qfaktury/icons/usun_przelew.png +share/qfaktury/icons/usun_towar.png +share/qfaktury/templates/style.css +@dirrm share/qfaktury/templates +@dirrm share/qfaktury/icons +@dirrm share/qfaktury +@dirrmtry share/applications