aboutsummaryrefslogtreecommitdiff
path: root/devel/libixp
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2008-01-29 12:49:32 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2008-01-29 12:49:32 +0000
commitd7eb19ab08f54ec01b2af6ed03f39730fe7fc1d3 (patch)
tree9145dca46f86aa52f9a7a65fc39c181df8ccbdd7 /devel/libixp
parentbbe6a5f137c4aa3eac11610254d00429168bcb83 (diff)
downloadports-d7eb19ab08f54ec01b2af6ed03f39730fe7fc1d3.tar.gz
ports-d7eb19ab08f54ec01b2af6ed03f39730fe7fc1d3.zip
- Update `devel/libixp' to version 0.4 [1]
- Update `x11-wm/wmii' to version 3.6 [2] - Remove CENKES as they do not carry new distfiles - Minor tweaks in pkg-descr for `devel/libixp' PRs: ports/119281 [1] ports/119282 [2] Submitted by: Daniel Roethlisberger Reworked by: danfe (myself) Go ahead from: sat (maintainer) [1]
Notes
Notes: svn path=/head/; revision=206374
Diffstat (limited to 'devel/libixp')
-rw-r--r--devel/libixp/Makefile46
-rw-r--r--devel/libixp/distinfo6
-rw-r--r--devel/libixp/pkg-descr4
3 files changed, 36 insertions, 20 deletions
diff --git a/devel/libixp/Makefile b/devel/libixp/Makefile
index 9f90a768b04e..393d930d9885 100644
--- a/devel/libixp/Makefile
+++ b/devel/libixp/Makefile
@@ -6,29 +6,45 @@
#
PORTNAME= libixp
-PORTVERSION= 0.2.${CHANGESET}
+PORTVERSION= 0.4
CATEGORIES= devel
-MASTER_SITES= CENKES
+MASTER_SITES= http://www.suckless.org/download/
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Standalone client/server 9P library
-CHANGESET= 42
USE_LDCONFIG= yes
-USE_BZIP2= yes
-CFLAGS+= -I. -fPIC
-LDFLAGS+= -L.
-MAKE_ARGS= PREFIX="${PREFIX}" CC="${CC}" MANPREFIX="${MANPREFIX}/man" \
+CFLAGS+= -I. -I${WRKSRC}/include -fPIC
+LDFLAGS+= -L. -L${WRKSRC}/lib
+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.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
+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-install:
- @${LN} -sf ${PREFIX}/lib/libixp.so ${PREFIX}/lib/libixp.so.0
+post-patch: .SILENT
+ ${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}"|' \
+ ${WRKSRC}/cmd/ixpc.c
+
+# XXX Apparently, vendor's install: target is broken for us XXX
+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 \
+ ${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
.include <bsd.port.mk>
diff --git a/devel/libixp/distinfo b/devel/libixp/distinfo
index f51ba334b354..2fb7dab928c4 100644
--- a/devel/libixp/distinfo
+++ b/devel/libixp/distinfo
@@ -1,3 +1,3 @@
-MD5 (libixp-0.2.42.tar.bz2) = fd282b80b69fe3046c464a49ccd5bc07
-SHA256 (libixp-0.2.42.tar.bz2) = a459adc9bf7dff737a1c88c19d2ce7a9c8edbce12df2bd11525d5bb3e3caccd2
-SIZE (libixp-0.2.42.tar.bz2) = 19964
+MD5 (libixp-0.4.tar.gz) = 59d9e918adffaf4413b32ac4f66724fd
+SHA256 (libixp-0.4.tar.gz) = 171878dfb67ecf47866843c2d25882aeae44b2efd9a0d685f3b7ffba79ba842c
+SIZE (libixp-0.4.tar.gz) = 130229
diff --git a/devel/libixp/pkg-descr b/devel/libixp/pkg-descr
index e10f9b62e437..f42918ebd88e 100644
--- a/devel/libixp/pkg-descr
+++ b/devel/libixp/pkg-descr
@@ -1,8 +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
+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
+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