aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libixp/Makefile32
-rw-r--r--devel/libixp/distinfo3
-rw-r--r--devel/libixp/pkg-descr8
4 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 1ea3dffd46d3..b559be353a25 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -563,6 +563,7 @@
SUBDIR += libhoard
SUBDIR += libical
SUBDIR += libisc
+ SUBDIR += libixp
SUBDIR += libleaftag
SUBDIR += libltdl15
SUBDIR += libmatheval
diff --git a/devel/libixp/Makefile b/devel/libixp/Makefile
new file mode 100644
index 000000000000..075cd8b31a3e
--- /dev/null
+++ b/devel/libixp/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: libixp
+# Date created: 17 February 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libixp
+PORTVERSION= 0.2
+CATEGORIES= devel
+MASTER_SITES= http://www.suckless.org/download/ GENTOO/distfiles
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Standalone client/server 9P library
+
+USE_LDCONFIG= yes
+CFLAGS+= -I. -fPIC
+LDFLAGS+= -L.
+MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}" MANPREFIX="${MANPREFIX}/man" \
+ CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+MAN1= ixpc.1
+PLIST_FILES= bin/ixpc include/ixp.h lib/libixp.so lib/libixp.so.0
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|\.a|.so|g;/RANLIB/d;s|{AR}|{CC} -shared -fPIC -o|;s|AR|CC|'\
+ ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|"VERSION"|${PORTVERSION}|' ${WRKSRC}/ixpc.c
+
+post-install:
+ @${LN} -sf ${PREFIX}/lib/libixp.so ${PREFIX}/lib/libixp.so.0
+
+.include <bsd.port.mk>
diff --git a/devel/libixp/distinfo b/devel/libixp/distinfo
new file mode 100644
index 000000000000..c20eb1e10e38
--- /dev/null
+++ b/devel/libixp/distinfo
@@ -0,0 +1,3 @@
+MD5 (libixp-0.2.tar.gz) = e50c613f7410bc1cff3a18926804202f
+SHA256 (libixp-0.2.tar.gz) = 5e5eec16dd02bce3f014b90df029e91136031852568ff9a147d3f99f6eaf0143
+SIZE (libixp-0.2.tar.gz) = 20701
diff --git a/devel/libixp/pkg-descr b/devel/libixp/pkg-descr
new file mode 100644
index 000000000000..e10f9b62e437
--- /dev/null
+++ b/devel/libixp/pkg-descr
@@ -0,0 +1,8 @@
+libixp is a stand-alone client/server 9P library including ixpc client
+which behaves like wmiir in the past. It consists of less than 2000
+lines of code (including ixpc).
+
+libixp's server api is based heavily on that of Plan 9's lib9p, and the
+two libraries export virtually identical data structures.
+
+WWW: http://www.suckless.org/wiki/libs