$OpenBSD: patch-texmaker_pro,v 1.6 2011/11/24 13:12:47 shadchin Exp $
--- texmaker.pro.orig	Thu Jul 21 14:57:13 2011
+++ texmaker.pro	Tue Aug 16 20:12:48 2011
@@ -4,7 +4,8 @@ TARGET	 = texmaker
 QT += network \
       xml \
       webkit
-CONFIG	+= qt warn_off release
+CONFIG	+= qt warn_off release link_pkgconfig
+PKGCONFIG = hunspell poppler-qt4
 TEXMAKERVERSION=3.1
 DEFINES += TEXMAKERVERSION=\\\"$${TEXMAKERVERSION}\\\"
 DEFINES += HAVE_SPLASH
@@ -62,25 +63,6 @@ HEADERS	+= texmaker.h \
 	usercompletiondialog.h \
 	synctex_parser.h \
 	synctex_parser_utils.h \
-	hunspell/affentry.hxx \
-	hunspell/affixmgr.hxx \
-	hunspell/atypes.hxx \
-	hunspell/baseaffix.hxx \
-	hunspell/csutil.hxx \
-	hunspell/dictmgr.hxx \
-	hunspell/hashmgr.hxx \
-	hunspell/htypes.hxx \
-	hunspell/hunspell.hxx \
-	hunspell/hunspell.h \
-	hunspell/langnum.hxx \
-	hunspell/license.hunspell \
-	hunspell/phonet.hxx \
-	hunspell/suggestmgr.hxx \
-	hunspell/license.myspell \
-	hunspell/filemgr.hxx \
-	hunspell/hunzip.hxx \
-	hunspell/replist.hxx \
-	hunspell/w_char.hxx \
 	singleapp/qtlocalpeer.h \
 	singleapp/qtlockedfile.h \
 	singleapp/qtsingleapplication.h \
@@ -162,18 +144,6 @@ SOURCES	+= main.cpp \
 	usercompletiondialog.cpp \
 	synctex_parser.c \
 	synctex_parser_utils.c \
-	hunspell/affentry.cxx \
-	hunspell/affixmgr.cxx \
-	hunspell/csutil.cxx \
-	hunspell/dictmgr.cxx \
-	hunspell/hashmgr.cxx \
-	hunspell/hunspell.cxx \
-	hunspell/phonet.cxx \
-	hunspell/suggestmgr.cxx \
-	hunspell/utf_info.cxx \
-	hunspell/filemgr.cxx \
-	hunspell/replist.cxx \
-	hunspell/hunzip.cxx \
 	singleapp/qtlocalpeer.cpp \
 	singleapp/qtlockedfile.cpp \
 	singleapp/qtsingleapplication.cpp \
@@ -339,26 +309,7 @@ utilities.files = doc/doc1.png \
 	locale/texmaker_nl.qm \
 	locale/texmaker_fa.qm \
 	locale/texmaker_pl.qm \
-	locale/texmaker_hu.qm \
-	dictionaries/nl_NL.aff \
-	dictionaries/nl_NL.dic \
-	dictionaries/de_DE.aff \
-	dictionaries/de_DE.dic \
-	dictionaries/en_GB.aff \
-	dictionaries/en_GB.dic \
-	dictionaries/es_ES.aff \
-	dictionaries/es_ES.dic \
-	dictionaries/fr_FR.aff \
-	dictionaries/fr_FR.dic \
-	dictionaries/it_IT.aff \
-	dictionaries/it_IT.dic \
-	dictionaries/it_IT_README.txt \
-	dictionaries/hu_HU.aff \
-	dictionaries/hu_HU.dic \
-	dictionaries/README_hu_HU.txt \
-	dictionaries/README_de_DE_frami.txt \
-	dictionaries/README_DIC_fr_FR.txt \
-	dictionaries/README_es_ES.txt 
+	locale/texmaker_hu.qm
 INSTALLS += utilities
 
 desktop.path = $${DESKTOPDIR}
