aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libixp
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2009-03-03 23:02:57 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2009-03-03 23:02:57 +0800
commit1158d7e26db08499081bdb1227758bf9ca7d74a6 (patch)
tree4bde84d94f5d40bc966de99322cd693e95f43896 /devel/libixp
parent3bf99ce2637d2beb42e47114eae3d652680d2f46 (diff)
downloadfreebsd-ports-gnome-1158d7e26db08499081bdb1227758bf9ca7d74a6.tar.gz
freebsd-ports-gnome-1158d7e26db08499081bdb1227758bf9ca7d74a6.tar.zst
freebsd-ports-gnome-1158d7e26db08499081bdb1227758bf9ca7d74a6.zip
- Update to 0.5
- Pass maintainership to submitter PR: ports/132133 Submitted by: Sofian Brabez <sbrabez gmail.com>
Diffstat (limited to 'devel/libixp')
-rw-r--r--devel/libixp/Makefile42
-rw-r--r--devel/libixp/distinfo6
-rw-r--r--devel/libixp/pkg-descr2
-rw-r--r--devel/libixp/pkg-plist7
4 files changed, 30 insertions, 27 deletions
diff --git a/devel/libixp/Makefile b/devel/libixp/Makefile
index 3a281b45ebde..062dd6528a2b 100644
--- a/devel/libixp/Makefile
+++ b/devel/libixp/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= libixp
-PORTVERSION= 0.4
+PORTVERSION= 0.5
CATEGORIES= devel
-MASTER_SITES= http://www.suckless.org/download/
+MASTER_SITES= http://code.suckless.org/dl/libs/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sbrabez@gmail.com
COMMENT= Standalone client/server 9P library
USE_LDCONFIG= yes
@@ -20,31 +20,27 @@ MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC} -c" LD="${CC}" \
CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= ixpc.1
-PLIST_FILES= bin/ixpc include/ixp.h include/ixp_fcall.h \
- lib/libixp.so lib/libixp.so.1 \
- lib/libixp_pthread.so lib/libixp_pthread.so.1
-post-patch: .SILENT
- ${REINPLACE_CMD} -e 's|\.a|.so|g; s|{AR}|{LD} -shared -fPIC -o|' \
+post-patch:
+ @${REINPLACE_CMD} -e 's|\.a|.so|g; s|(AR)|(LD) -shared -fPIC -o|' \
${WRKSRC}/mk/lib.mk ${WRKSRC}/mk/hdr.mk
-# Fix garbled "awk" strings after previous sed(1) invocation
- ${REINPLACE_CMD} -e 's|\.sowk|.awk|' ${WRKSRC}/mk/hdr.mk
- ${REINPLACE_CMD} -e 's|\(echo.*\)AR|\1LD|' ${WRKSRC}/mk/lib.mk
- ${REINPLACE_CMD} -e 's|$${ROOT}/lib/libixp.a|-lixp|' \
- ${WRKSRC}/cmd/Makefile
- ${REINPLACE_CMD} -e 's|VERSION|"${PORTVERSION}"|' \
+ @${REINPLACE_CMD} -e 's|\.sowk|.awk|' ${WRKSRC}/mk/hdr.mk
+ @${REINPLACE_CMD} -e 's|\(echo.*\)AR\(.*\)|\1LD\2|' ${WRKSRC}/mk/lib.mk
+ @${REINPLACE_CMD} -e 's|VERSION|"${PORTVERSION}.${PORTREVISION}"|' \
${WRKSRC}/cmd/ixpc.c
-# XXX Apparently, vendor's install: target is broken for us XXX
+do-build:
+ cd ${WRKSRC}; ${MAKE};
+
do-install:
- ${INSTALL_DATA} ${WRKSRC}/include/ixp.h ${PREFIX}/include
- ${INSTALL_DATA} ${WRKSRC}/include/ixp_fcall.h ${PREFIX}/include
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/libixp.so ${PREFIX}/lib/libixp.so.1
- ${INSTALL_PROGRAM} ${WRKSRC}/lib/libixp_pthread.so \
+ @${INSTALL_DATA} ${WRKSRC}/include/ixp.h ${PREFIX}/include
+ @${INSTALL_DATA} ${WRKSRC}/include/ixp_srvutil.h ${PREFIX}/include
+ @${INSTALL_PROGRAM} ${WRKSRC}/lib/libixp.so ${PREFIX}/lib/libixp.so.1
+ @${INSTALL_PROGRAM} ${WRKSRC}/lib/libixp_pthread.so \
${PREFIX}/lib/libixp_pthread.so.1
- ${LN} -sf libixp.so.1 ${PREFIX}/lib/libixp.so
- ${LN} -sf libixp_pthread.so.1 ${PREFIX}/lib/libixp_pthread.so
- ${INSTALL_PROGRAM} ${WRKSRC}/cmd/ixpc.O ${PREFIX}/bin/ixpc
- ${INSTALL_MAN} ${WRKSRC}/man/ixpc.1 ${MANPREFIX}/man/man1
+ @${LN} -sf libixp.so.1 ${PREFIX}/lib/libixp.so
+ @${LN} -sf libixp_pthread.so.1 ${PREFIX}/lib/libixp_pthread.so
+ @${INSTALL_PROGRAM} ${WRKSRC}/cmd/ixpc.O ${PREFIX}/bin/ixpc
+ @${INSTALL_MAN} ${WRKSRC}/man/ixpc.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>
diff --git a/devel/libixp/distinfo b/devel/libixp/distinfo
index 2fb7dab928c4..22b59bc986d7 100644
--- a/devel/libixp/distinfo
+++ b/devel/libixp/distinfo
@@ -1,3 +1,3 @@
-MD5 (libixp-0.4.tar.gz) = 59d9e918adffaf4413b32ac4f66724fd
-SHA256 (libixp-0.4.tar.gz) = 171878dfb67ecf47866843c2d25882aeae44b2efd9a0d685f3b7ffba79ba842c
-SIZE (libixp-0.4.tar.gz) = 130229
+MD5 (libixp-0.5.tar.gz) = 2a394310c209605ba54ecf5eab518bff
+SHA256 (libixp-0.5.tar.gz) = 65f4f0bb67e83cbd1414f297e22648c867f914e2498bdbae3afdc0f83be21e4b
+SIZE (libixp-0.5.tar.gz) = 142064
diff --git a/devel/libixp/pkg-descr b/devel/libixp/pkg-descr
index f42918ebd88e..04595eaa6911 100644
--- a/devel/libixp/pkg-descr
+++ b/devel/libixp/pkg-descr
@@ -5,4 +5,4 @@ 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
+WWW: http://www.suckless.org/libs/libixp.html
diff --git a/devel/libixp/pkg-plist b/devel/libixp/pkg-plist
new file mode 100644
index 000000000000..af5a8f8d873f
--- /dev/null
+++ b/devel/libixp/pkg-plist
@@ -0,0 +1,7 @@
+bin/ixpc
+include/ixp.h
+include/ixp_srvutil.h
+lib/libixp.so
+lib/libixp.so.1
+lib/libixp_pthread.so
+lib/libixp_pthread.so.1