diff options
author | philip <philip@FreeBSD.org> | 2006-04-19 07:04:20 +0000 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2006-04-19 07:04:20 +0000 |
commit | 49329986255d6ce370d0b9e839ad7b90f98241f9 (patch) | |
tree | 07b714d5c114949e25c4193d31ddf00f6689ce3a /devel/libdfui | |
parent | 6cdb0c685e6fef1697189efbb23cd9a8fb48e412 (diff) | |
download | FreeBSD-ports-49329986255d6ce370d0b9e839ad7b90f98241f9.zip FreeBSD-ports-49329986255d6ce370d0b9e839ad7b90f98241f9.tar.gz |
Add libdfui 4.1.20060122, abstract user interface protocol library.
PR: ports/95989
Submitted by: Andrew Turner <andrew+ports@fubar.geek.nz>
Diffstat (limited to 'devel/libdfui')
-rw-r--r-- | devel/libdfui/Makefile | 60 | ||||
-rw-r--r-- | devel/libdfui/distinfo | 3 | ||||
-rw-r--r-- | devel/libdfui/files/patch-Makefile | 38 | ||||
-rw-r--r-- | devel/libdfui/pkg-descr | 4 |
4 files changed, 105 insertions, 0 deletions
diff --git a/devel/libdfui/Makefile b/devel/libdfui/Makefile new file mode 100644 index 0000000..5496dfc --- /dev/null +++ b/devel/libdfui/Makefile @@ -0,0 +1,60 @@ +# New ports collection makefile for: libdfui +# Date created: 18 April 2006 +# Whom: Andrew Turner <andrew+ports@fubar.geek.nz> +# +# $FreeBSD$ +# + +PORTNAME= libdfui +PORTVERSION= 4.1.20060122 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= philip + +MAINTAINER= andrew+ports@fubar.geek.nz +COMMENT= Abstract user interface protocol library + +LIB_DEPENDS= aura3.3:${PORTSDIR}/devel/libaura + +USE_BZIP2= yes +INSTALLS_SHLIB= yes + +SONAME= ${SOLINK}.4 +SOLINK= ${PORTNAME}4.so + +PLIST_FILES= lib/${SONAME} \ + lib/${SOLINK} \ + include/dfui4/conn_caps.h \ + include/dfui4/conn_npipe.h \ + include/dfui4/conn_tcp.h \ + include/dfui4/dfui.h \ + include/dfui4/dump.h \ + include/dfui4/encoding.h \ + include/dfui4/lang.h \ + include/dfui4/system.h +PLIST_DIRS= include/dfui4 +PORTDOCS= README + +MAKE_ENV= SONAME=${SONAME} SOLINK=${SOLINK} + +post-patch: + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${SONAME} ${PREFIX}/lib/${SONAME} + ${LN} -s ${PREFIX}/lib/${SONAME} ${PREFIX}/lib/${SOLINK} + ${MKDIR} ${PREFIX}/include/dfui4 + ${INSTALL_DATA} ${WRKSRC}/conn_caps.h ${PREFIX}/include/dfui4/ + ${INSTALL_DATA} ${WRKSRC}/conn_npipe.h ${PREFIX}/include/dfui4/ + ${INSTALL_DATA} ${WRKSRC}/conn_tcp.h ${PREFIX}/include/dfui4/ + ${INSTALL_DATA} ${WRKSRC}/dfui.h ${PREFIX}/include/dfui4/ + ${INSTALL_DATA} ${WRKSRC}/dump.h ${PREFIX}/include/dfui4/ + ${INSTALL_DATA} ${WRKSRC}/encoding.h ${PREFIX}/include/dfui4/ + ${INSTALL_DATA} ${WRKSRC}/lang.h ${PREFIX}/include/dfui4/ + ${INSTALL_DATA} ${WRKSRC}/system.h ${PREFIX}/include/dfui4/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/devel/libdfui/distinfo b/devel/libdfui/distinfo new file mode 100644 index 0000000..652597e --- /dev/null +++ b/devel/libdfui/distinfo @@ -0,0 +1,3 @@ +MD5 (libdfui-4.1.20060122.tar.bz2) = f60ecff4db1998c4f0276d60e6276d3d +SHA256 (libdfui-4.1.20060122.tar.bz2) = 6767fe42d6d778c50104422d7fa2768eb79d3c90476dbf9e1d2a1c5605df798f +SIZE (libdfui-4.1.20060122.tar.bz2) = 20152 diff --git a/devel/libdfui/files/patch-Makefile b/devel/libdfui/files/patch-Makefile new file mode 100644 index 0000000..102bcce --- /dev/null +++ b/devel/libdfui/files/patch-Makefile @@ -0,0 +1,38 @@ +--- Makefile.orig Tue Apr 18 12:40:44 2006 ++++ Makefile Tue Apr 18 13:41:51 2006 +@@ -1,9 +1,6 @@ + # Makefile for libdfui. + # $Id: Makefile,v 1.28 2005/08/26 22:44:37 cpressey Exp $ + +-BASE?=../.. +-include ${BASE}/Config +- + LIB= dfui + LIB_VER=4 + +@@ -12,12 +9,11 @@ + form.o \ + dump.o system.o lang.o + +-CFLAGS+= ${EXTRA_CFLAGS} ${WARNS} -fPIC -I../libaura +-CFLAGS+= -I/usr/src/lib -I/usr/src/lib/libcaps/${MACHINE_ARCH} -DSMP +-CFLAGS+= -I/usr/local/include -I/usr/pkg/include +-LDFLAGS+= -L../libaura +-LDFLAGS+= -L/usr/local/lib -L/usr/pkg/lib +-LDFLAGS+= -laura ++CFLAGS+= ${EXTRA_CFLAGS} ${WARNS} -fPIC -I%%PREFIX%%/include/aura3 ++CFLAGS+= -DSMP ++CFLAGS+= -I/usr/local/include ++LDFLAGS+= -L/usr/local/lib ++LDFLAGS+= -laura3 + + # Default target: + +@@ -27,7 +23,6 @@ + + ${SONAME}: ${OBJS} + ${CC} ${OBJS} -shared ${LDFLAGS} -o ${SONAME} +- ${LN} -sf ${SONAME} ${SOLINK} + + ${ANAME}: ${OBJS} + ${AR} rc ${ANAME} ${OBJS} diff --git a/devel/libdfui/pkg-descr b/devel/libdfui/pkg-descr new file mode 100644 index 0000000..4a9ae4f --- /dev/null +++ b/devel/libdfui/pkg-descr @@ -0,0 +1,4 @@ +DFUI is a user interface abstraction in the form of a protocol by +which application logic (such as a system installer) in the backend +can talk to a concrete user interface (such as curses or GTK) in +the frontend. |