Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2006 20:54:44 +1200 (NZST)
From:      Andrew Turner <andrew+ports@fubar.geek.nz>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        andrew@fubar.geek.nz
Subject:   ports/95989: New Port: devel/libdfui A user interface abstraction library
Message-ID:  <20060418085444.3DDBA6160@serv.int.fubar.geek.nz>
Resent-Message-ID: <200604180900.k3I90SxX032202@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95989
>Category:       ports
>Synopsis:       New Port: devel/libdfui A user interface abstraction library
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 18 09:00:28 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Turner
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
none
>Environment:
System: FreeBSD serv.int.fubar.geek.nz 5.4-STABLE FreeBSD 5.4-STABLE #9: Sun Jan 29 12:45:34 NZDT 2006 root@serv.int.fubar.geek.nz:/usr/obj/srctrees/RELENG_5/sys/GENERIC i386


	
>Description:
	Lubdfui is a user interface abstraction used by the BSD Installer. It is designed to display simple menus to a user over a pipe or network.
	Philip Paeps should have to distfile to be placed in ${MASTER_SITE_LOCAL}. MASTER_SITE_SUBDIR needs to
be set to the appropriate value.
>How-To-Repeat:
	
>Fix:

	

--- port-devel-libdfui.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	distinfo
#	files
#	files/patch-Makefile
#	pkg-descr
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:   libdfui
X# Date created:        18 April 2006
X# Whom:                Andrew Turner <andrew+ports@fubar.geek.nz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libdfui
XPORTVERSION=	4.1.20060122
XCATEGORIES=	devel
XMASTER_SITES=	${MASTER_SITE_LOCAL}
X
XMAINTAINER=	andrew+ports@fubar.geek.nz
XCOMMENT=	Abstract user interface protocol library
X
XLIB_DEPENDS=	aura3.3:${PORTSDIR}/devel/libaura
X
XUSE_BZIP2=	yes
XINSTALLS_SHLIB=	yes
X
XSONAME=		${SOLINK}.4
XSOLINK=		${PORTNAME}4.so
X
XPLIST_FILES=	lib/${SONAME} \
X		lib/${SOLINK} \
X		include/dfui4/conn_caps.h \
X		include/dfui4/conn_npipe.h \
X		include/dfui4/conn_tcp.h \
X		include/dfui4/dfui.h \
X		include/dfui4/dump.h \
X		include/dfui4/encoding.h \
X		include/dfui4/lang.h \
X		include/dfui4/system.h
XPLIST_DIRS=	include/dfui4
XPORTDOCS=	README
X
XMAKE_ENV=	SONAME=${SONAME} SOLINK=${SOLINK}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/Makefile
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${SONAME} ${PREFIX}/lib/${SONAME}
X	${LN} -s ${PREFIX}/lib/${SONAME} ${PREFIX}/lib/${SOLINK}
X	${MKDIR} ${PREFIX}/include/dfui4
X	${INSTALL_DATA} ${WRKSRC}/conn_caps.h ${PREFIX}/include/dfui4/
X	${INSTALL_DATA} ${WRKSRC}/conn_npipe.h ${PREFIX}/include/dfui4/
X	${INSTALL_DATA} ${WRKSRC}/conn_tcp.h ${PREFIX}/include/dfui4/
X	${INSTALL_DATA} ${WRKSRC}/dfui.h ${PREFIX}/include/dfui4/
X	${INSTALL_DATA} ${WRKSRC}/dump.h ${PREFIX}/include/dfui4/
X	${INSTALL_DATA} ${WRKSRC}/encoding.h ${PREFIX}/include/dfui4/
X	${INSTALL_DATA} ${WRKSRC}/lang.h ${PREFIX}/include/dfui4/
X	${INSTALL_DATA} ${WRKSRC}/system.h ${PREFIX}/include/dfui4/
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-Makefile
echo x - distinfo
sed 's/^X//' >distinfo << 'END-of-distinfo'
XMD5 (libdfui-4.1.20060122.tar.bz2) = f60ecff4db1998c4f0276d60e6276d3d
XSHA256 (libdfui-4.1.20060122.tar.bz2) = 6767fe42d6d778c50104422d7fa2768eb79d3c90476dbf9e1d2a1c5605df798f
XSIZE (libdfui-4.1.20060122.tar.bz2) = 20152
END-of-distinfo
echo c - files
mkdir -p files > /dev/null 2>&1
echo x - files/patch-Makefile
sed 's/^X//' >files/patch-Makefile << 'END-of-files/patch-Makefile'
X--- Makefile.orig	Tue Apr 18 12:40:44 2006
X+++ Makefile	Tue Apr 18 13:41:51 2006
X@@ -1,9 +1,6 @@
X # Makefile for libdfui.
X # $Id: Makefile,v 1.28 2005/08/26 22:44:37 cpressey Exp $
X 
X-BASE?=../..
X-include ${BASE}/Config
X-
X LIB=	dfui
X LIB_VER=4
X 
X@@ -12,12 +9,11 @@
X 	form.o \
X 	dump.o system.o lang.o
X 
X-CFLAGS+=	${EXTRA_CFLAGS} ${WARNS} -fPIC -I../libaura
X-CFLAGS+=	-I/usr/src/lib -I/usr/src/lib/libcaps/${MACHINE_ARCH} -DSMP
X-CFLAGS+=	-I/usr/local/include -I/usr/pkg/include
X-LDFLAGS+=	-L../libaura
X-LDFLAGS+=	-L/usr/local/lib -L/usr/pkg/lib
X-LDFLAGS+=	-laura
X+CFLAGS+=	${EXTRA_CFLAGS} ${WARNS} -fPIC -I%%PREFIX%%/include/aura3
X+CFLAGS+=	-DSMP
X+CFLAGS+=	-I/usr/local/include
X+LDFLAGS+=	-L/usr/local/lib
X+LDFLAGS+=	-laura3
X 
X # Default target:
X 
X@@ -27,7 +23,6 @@
X 
X ${SONAME}: ${OBJS}
X 	${CC} ${OBJS} -shared ${LDFLAGS} -o ${SONAME}
X-	${LN} -sf ${SONAME} ${SOLINK}
X 
X ${ANAME}: ${OBJS}
X 	${AR} rc ${ANAME} ${OBJS}
END-of-files/patch-Makefile
echo x - pkg-descr
sed 's/^X//' >pkg-descr << 'END-of-pkg-descr'
XDFUI is a user interface abstraction in the form of a protocol by
Xwhich application logic (such as a system installer) in the backend
Xcan talk to a concrete user interface (such as curses or GTK) in
Xthe frontend.
END-of-pkg-descr
exit
--- port-devel-libdfui.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060418085444.3DDBA6160>