aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2009-06-21 18:20:37 +0800
committerdhn <dhn@FreeBSD.org>2009-06-21 18:20:37 +0800
commitf5bc11c84ec142de3a0a60f6a9c8f49a3a807988 (patch)
treeed422ca8538a673763f7dbddb71afda9df3df37a /lang
parent7f47bdc8cabf955c52284c5a7675ae9e0e16d3c5 (diff)
downloadfreebsd-ports-gnome-f5bc11c84ec142de3a0a60f6a9c8f49a3a807988.tar.gz
freebsd-ports-gnome-f5bc11c84ec142de3a0a60f6a9c8f49a3a807988.tar.zst
freebsd-ports-gnome-f5bc11c84ec142de3a0a60f6a9c8f49a3a807988.zip
libHX is a C library (with some additional C++ bindings available)
WWW: http://libhx.sourceforge.net/ PR: ports/135871 Submitted by: Sylvio Cesar <scjamorim@bsd.com.br>
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/libhx/Makefile33
-rw-r--r--lang/libhx/distinfo3
-rw-r--r--lang/libhx/pkg-descr3
-rw-r--r--lang/libhx/pkg-plist19
5 files changed, 59 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index b1ce15205b47..2fd828d677ef 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -145,6 +145,7 @@
SUBDIR += klone
SUBDIR += kroc
SUBDIR += lafontaine
+ SUBDIR += libhx
SUBDIR += libjit
SUBDIR += librep
SUBDIR += libstdc++_stldoc_3.4.0
diff --git a/lang/libhx/Makefile b/lang/libhx/Makefile
new file mode 100644
index 000000000000..23d4f1ba8a72
--- /dev/null
+++ b/lang/libhx/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: libhx
+# Date created: 2009-06-20
+# Whom: Sylvio Cesar <scjamorim@bsd.com.br>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libHX
+PORTVERSION= 2.7
+CATEGORIES= lang
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= libhx
+
+MAINTAINER= scjamorim@bsd.com.br
+COMMENT= Library C with some additional C++ bindings available
+
+USE_LDCONFIG= yes
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+
+PORTDOCS= libHX_Documentation.pdf
+
+post-build:
+ @${REINPLACE_CMD} -e 's|doc src|src|g' ${WRKSRC}/Makefile
+
+post-install:
+ (mv ${PREFIX}/lib/pkgconfig/libHX.pc ${PREFIX}/libdata/pkgconfig/libHX.pc)
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/lang/libhx/distinfo b/lang/libhx/distinfo
new file mode 100644
index 000000000000..c2540531fdef
--- /dev/null
+++ b/lang/libhx/distinfo
@@ -0,0 +1,3 @@
+MD5 (libHX-2.7.tar.bz2) = b4751950089fb32e9dc5ea80e92a5e9b
+SHA256 (libHX-2.7.tar.bz2) = 4d386ab667dd7cc4e0cdfb6a519b4fcc621a1cda120899a442220fdeb30a0192
+SIZE (libHX-2.7.tar.bz2) = 780561
diff --git a/lang/libhx/pkg-descr b/lang/libhx/pkg-descr
new file mode 100644
index 000000000000..7fabaec365f3
--- /dev/null
+++ b/lang/libhx/pkg-descr
@@ -0,0 +1,3 @@
+libHX is a C library (with some additional C++ bindings available)
+
+WWW: http://libhx.sourceforge.net/
diff --git a/lang/libhx/pkg-plist b/lang/libhx/pkg-plist
new file mode 100644
index 000000000000..fe0993d76537
--- /dev/null
+++ b/lang/libhx/pkg-plist
@@ -0,0 +1,19 @@
+include/libHX.h
+include/libHX/arbtree.h
+include/libHX/clist.h
+include/libHX/ctype_helper.h
+include/libHX/defs.h
+include/libHX/deque.h
+include/libHX/libxml_helper.h
+include/libHX/list.h
+include/libHX/misc.h
+include/libHX/option.h
+include/libHX/proc.h
+include/libHX/string.h
+include/libHX/wx_helper.hpp
+lib/libHX.la
+lib/libHX.so
+lib/libHX.so.19
+libdata/pkgconfig/libHX.pc
+@dirrm lib/pkgconfig
+@dirrm include/libHX