Bug 47700 - New port: XawPlus, a 3D replacement for Xaw
Summary: New port: XawPlus, a 3D replacement for Xaw
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-31 03:00 UTC by DNPM
Modified: 2003-09-04 15:54 UTC (History)
0 users

See Also:


Attachments
xawplus.sh (11.93 KB, text/plain)
2003-01-31 03:00 UTC, DNPM
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description DNPM 2003-01-31 03:00:21 UTC
A replacement for Xaw with a nicer 3-D look and some extensions
Comment 1 corecode@corecode.ath.cx 2003-01-31 03:25:39 UTC
Lately DNPM told:

> sed 's/^X//' >x11-toolkits/xawplus/Makefile << 'END-of-x11-toolkits/xawplus/Makefile'
[...]
> XWRKSRC=${WRKDIR}/XawPlus
          ^ add tab

> X
> XUSE_X_PREFIX=	yes
> XINSTALLS_SHLIB=	yes
> XLDCONFIG_DIRS=%%X11BASE%%/lib

needed? missing tab.

> Xpost-install:
> X.if !defined(NOPORTDOCS)
> X	${MKDIR} ${PREFIX}/share/doc/XawPlus

use ${DOCSDIR}

> X	${CP} ${WRKSRC}/README ${PREFIX}/share/doc/XawPlus

use ${INSTALL_DATA}

> X	${CP} ${WRKSRC}/doc/* ${PREFIX}/share/doc/XawPlus
> X	${MKDIR} ${PREFIX}/share/examples/XawPlus

${EXAMPLESDIR}?

> sed 's/^X//' >x11-toolkits/xawplus/files/patch-aa << 'END-of-x11-toolkits/xawplus/files/patch-aa'
> X--- Makefile.orig	Sat Sep  7 12:59:26 2002
> X+++ Makefile	Wed Jan 29 17:09:14 2003
> X@@ -22,9 +22,9 @@
> X # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
> X #
> X 
> X-LIB_PATH =	-L/usr/X11/lib			# Libraries for X
> X-INC_PATH =	-I. -I/usr/X11/include 		# Header files for X
> X-INST_LIBS=	/usr/X11/lib
> X+LIB_PATH =	-L$(PREFIX)/lib			# Libraries for X
> X+INC_PATH =	-I. -I$(PREFIX)/include 		# Header files for X

use ${X11BASE}?

[...]
> X install:
> X-		rm -rf /usr/X11/include/X11/XawPlus
> X-		mkdir -p /usr/X11/include/X11/XawPlus
> X-		cp ./X11/XawPlus/*.h /usr/X11/include/X11/XawPlus
> X+		rm -rf $(PREFIX)/include/X11/XawPlus
> X+		mkdir -p $(PREFIX)/include/X11/XawPlus
> X+		cp ./X11/XawPlus/*.h $(PREFIX)/include/X11/XawPlus

use ${INSTALL_DATA} to set correct owner/modes?

cheers
  simon

-- 
/"\   http://corecode.ath.cx/#donate
\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
Comment 2 Greg Lewis freebsd_committer freebsd_triage 2003-09-04 15:54:11 UTC
State Changed
From-To: open->closed

Committed with Simon's clean ups and some of my own.  Thanks!