aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/libmediawiki/Makefile32
-rw-r--r--net/libmediawiki/distinfo2
-rw-r--r--net/libmediawiki/pkg-descr4
-rw-r--r--net/libmediawiki/pkg-plist28
5 files changed, 67 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 059275336d20..c944bb2aea7f 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -315,6 +315,7 @@
SUBDIR += libgnetwork
SUBDIR += libgweather
SUBDIR += libkvkontakte
+ SUBDIR += libmediawiki
SUBDIR += libmms
SUBDIR += libmxp
SUBDIR += libnatpmp
diff --git a/net/libmediawiki/Makefile b/net/libmediawiki/Makefile
new file mode 100644
index 000000000000..93fe09288a08
--- /dev/null
+++ b/net/libmediawiki/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: libmediawiki
+# Date created: 2012-05-12
+# Whom: Jason E. Hale <bsdkaffee@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libmediawiki
+PORTVERSION= 2.6.0
+CATEGORIES= net kde
+MASTER_SITES= SF/digikam/digikam/${PORTVERSION}
+DISTNAME= digikam-${PORTVERSION}
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= KDE4 library for accessing MediaWiki sites
+
+LICENSE= GPLv2
+
+USE_BZIP2= yes
+USE_CMAKE= yes
+USE_KDE4= automoc4 kdehier kdeprefix kdelibs
+USE_QT4= qmake_build moc_build rcc_build uic_build
+USE_LDCONFIG= yes
+MAKE_JOBS_SAFE= yes
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/extra/${PORTNAME}
+
+post-patch:
+ ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \
+ ${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>
diff --git a/net/libmediawiki/distinfo b/net/libmediawiki/distinfo
new file mode 100644
index 000000000000..afb200f08f48
--- /dev/null
+++ b/net/libmediawiki/distinfo
@@ -0,0 +1,2 @@
+SHA256 (digikam-2.6.0.tar.bz2) = 411ceaa3a489d9c9a5566d43c167927a07fb08fb4f613b0dbf1dec65b95736df
+SIZE (digikam-2.6.0.tar.bz2) = 55362029
diff --git a/net/libmediawiki/pkg-descr b/net/libmediawiki/pkg-descr
new file mode 100644
index 000000000000..0f5e32e54724
--- /dev/null
+++ b/net/libmediawiki/pkg-descr
@@ -0,0 +1,4 @@
+Libmediawiki is a KDE C++ interface for MediaWiki-based web services such as
+wikipedia.org.
+
+WWW: http://www.digikam.org
diff --git a/net/libmediawiki/pkg-plist b/net/libmediawiki/pkg-plist
new file mode 100644
index 000000000000..692efd1d0a25
--- /dev/null
+++ b/net/libmediawiki/pkg-plist
@@ -0,0 +1,28 @@
+include/libmediawiki/edit.h
+include/libmediawiki/generalinfo.h
+include/libmediawiki/image.h
+include/libmediawiki/imageinfo.h
+include/libmediawiki/job.h
+include/libmediawiki/login.h
+include/libmediawiki/logout.h
+include/libmediawiki/mediawiki.h
+include/libmediawiki/mediawiki_export.h
+include/libmediawiki/page.h
+include/libmediawiki/parse.h
+include/libmediawiki/protection.h
+include/libmediawiki/queryimageinfo.h
+include/libmediawiki/queryimages.h
+include/libmediawiki/queryinfo.h
+include/libmediawiki/queryrevision.h
+include/libmediawiki/querysiteinfogeneral.h
+include/libmediawiki/querysiteinfousergroups.h
+include/libmediawiki/revision.h
+include/libmediawiki/upload.h
+include/libmediawiki/usergroup.h
+include/libmediawiki/version.h
+lib/libmediawiki.so
+lib/libmediawiki.so.1
+lib/libmediawiki.so.1.0.0
+libdata/pkgconfig/libmediawiki.pc
+share/apps/cmake/modules/FindMediawiki.cmake
+@dirrm include/libmediawiki