diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-10-29 04:58:35 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-10-29 04:58:35 +0800 |
commit | 40f0dae34dfb091d74006107ccbb67fb81266113 (patch) | |
tree | fee716af96446d239cb3efe00e1c571beaaf4416 /x11-toolkits | |
parent | 68c76db035385fcaf594176667f53961cc1ad084 (diff) | |
download | freebsd-ports-gnome-40f0dae34dfb091d74006107ccbb67fb81266113.tar.gz freebsd-ports-gnome-40f0dae34dfb091d74006107ccbb67fb81266113.tar.zst freebsd-ports-gnome-40f0dae34dfb091d74006107ccbb67fb81266113.zip |
New GNUstep backend
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/gnustep-back/Makefile | 82 | ||||
-rw-r--r-- | x11-toolkits/gnustep-back/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/gnustep-back/pkg-comment | 1 | ||||
-rw-r--r-- | x11-toolkits/gnustep-back/pkg-descr | 9 | ||||
-rw-r--r-- | x11-toolkits/gnustep-back/pkg-plist | 27 |
6 files changed, 121 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 9cf86a4c64cb..bf16bd27d177 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -30,6 +30,7 @@ SUBDIR += gnome-- SUBDIR += gnome-look SUBDIR += gnome-themes + SUBDIR += gnustep-back SUBDIR += gnustep-gui SUBDIR += gnustep-xgps SUBDIR += gob diff --git a/x11-toolkits/gnustep-back/Makefile b/x11-toolkits/gnustep-back/Makefile new file mode 100644 index 000000000000..f8b7c2683e1e --- /dev/null +++ b/x11-toolkits/gnustep-back/Makefile @@ -0,0 +1,82 @@ +B +# New ports collection makefile for: gnustep-back +# Date created: 27.October 2002 +# Whom: dirk.meyer@dinoex.sub.org +# +# $FreeBSD$ +# + +PORTNAME= gnustep-back +PORTVERSION= 0.8.2 +CATEGORIES= x11-toolkits +MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/ \ + http://archive.progeny.com/gnustep/core/ \ + ftp://ftp.easynet.nl/mirror/GNUstep/core/ + +MAINTAINER= dinoex@FreeBSD.org + +BUILD_DEPENDS= ${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/x11-toolkits/gnustep-gui +RUN_DEPENDS= ${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/x11-toolkits/gnustep-gui +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ + tiff.4:${PORTSDIR}/graphics/tiff + +BREAKS_IF_PEDANTIC= yes +CONFIGURE_ARGS+= --with-tiff-library=${LOCALBASE}/lib +CONFIGURE_ARGS+= --with-tiff-include=${LOCALBASE}/include +CONFIGURE_ARGS+= --with-jpeg-library=${LOCALBASE}/lib +CONFIGURE_ARGS+= --with-jpeg-include=${LOCALBASE}/include +CONFIGURE_ARGS+= --enable-xlib + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 300000 +BROKEN= "Sorry, this port does not work on FreeBSD-2.2.x" +.endif + +PREFIX= ${LOCALBASE}/GNUstep +GNU_CONFIGURE= yes +CONFIGURE_TARGET= +USE_GMAKE= yes +MAKEFILE= +MAKE_FLAGS= OPTFLAG="${CFLAGS}" +NO_MTREE= yes + +.if ${MACHINE_ARCH} == "i386" +GNU_ARCH= ix86 +.else +GNU_ARCH= ${MACHINE_ARCH} +.endif +PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} VERSION=${PORTVERSION} \ + MAJORVERSION=${PORTVERSION:C/([0-9]).*/\1/1} + +COMBOLIBDIR= ${PREFIX}/System/Libraries/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu + +post-extract: +.for file in config.guess config.sub install-sh + @${CP} ${PREFIX}/System/Makefiles/${file} ${WRKSRC} +.endfor + +do-configure: + @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \ + if ! ${SETENV} CC="${CC}" CXX="${CXX}" \ + CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ + INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \ + INSTALL_DATA="${INSTALL} -c" \ + INSTALL_PROGRAM="${INSTALL} -c" \ + INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ + ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; then \ + ${ECHO} "===> Script \"${CONFIGURE_SCRIPT}\" failed: here are the contents of \"${CONFIGURE_LOG}\""; \ + ${CAT} ${CONFIGURE_LOG}; \ + ${ECHO} "(end of \"${CONFIGURE_LOG}\")"; \ + ${FALSE}; \ + fi) + +do-build: + @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET}) + +do-install: + @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET}) + +.include <bsd.port.post.mk> diff --git a/x11-toolkits/gnustep-back/distinfo b/x11-toolkits/gnustep-back/distinfo new file mode 100644 index 000000000000..4f600ecf6f2f --- /dev/null +++ b/x11-toolkits/gnustep-back/distinfo @@ -0,0 +1 @@ +MD5 (gnustep-back-0.8.2.tar.gz) = dc7b7400306d8df28966ba81a49e56aa diff --git a/x11-toolkits/gnustep-back/pkg-comment b/x11-toolkits/gnustep-back/pkg-comment new file mode 100644 index 000000000000..a3ace364d3e8 --- /dev/null +++ b/x11-toolkits/gnustep-back/pkg-comment @@ -0,0 +1 @@ +GNUstep GUI backend diff --git a/x11-toolkits/gnustep-back/pkg-descr b/x11-toolkits/gnustep-back/pkg-descr new file mode 100644 index 000000000000..ff648a92c60f --- /dev/null +++ b/x11-toolkits/gnustep-back/pkg-descr @@ -0,0 +1,9 @@ +GNUstep is a set of general-purpose Objective-C libraries base on the +OpenStep standard developed by NeXT (now Apple) Inc. The libraries +consist of everything from foundation classes, such as dictionaries and +arrays, to GUI interface classes such as windows, sliders, buttons, etc. + +Please contact the GNUstep maintainers at <discussion@gnustep.org> in +case of questions and help offers. + +WWW: http://www.gnustep.org/ diff --git a/x11-toolkits/gnustep-back/pkg-plist b/x11-toolkits/gnustep-back/pkg-plist new file mode 100644 index 000000000000..eb1d605de3d0 --- /dev/null +++ b/x11-toolkits/gnustep-back/pkg-plist @@ -0,0 +1,27 @@ +System/Headers/gnustep/gsc/GSContext.h +System/Headers/gnustep/gsc/GSGState.h +System/Headers/gnustep/gsc/GSGStateOps.h +System/Headers/gnustep/gsc/gscolors.h +System/Headers/gnustep/x11/XGServer.h +System/Headers/gnustep/x11/XGServerWindow.h +System/Headers/gnustep/xlib/XGContext.h +System/Headers/gnustep/xlib/XGGState.h +System/Headers/gnustep/xlib/XGGeometry.h +System/Headers/gnustep/xlib/XGPrivate.h +System/Library/Bundles/libgnustep-back.bundle/Contents/Info.plist +System/Library/Bundles/libgnustep-back.bundle/Resources/Info-gnustep.plist +System/Library/Bundles/libgnustep-back.bundle/Resources/Info.plist +System/Library/Bundles/libgnustep-back.bundle/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libgnustep-back +System/Tools/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/font_cacher +System/Tools/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/gpbs +@exec ln -sf ../Resources %D/System/Library/Bundles/libgnustep-back.bundle/Contents/Resources +@unexec rm -f %D/System/Library/Bundles/libgnustep-back.bundle/Contents/Resources +@dirrm System/Library/Bundles/libgnustep-back.bundle/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu +@dirrm System/Library/Bundles/libgnustep-back.bundle/%%GNU_ARCH%%/%%OPSYS%% +@dirrm System/Library/Bundles/libgnustep-back.bundle/%%GNU_ARCH%% +@dirrm System/Library/Bundles/libgnustep-back.bundle/Resources +@dirrm System/Library/Bundles/libgnustep-back.bundle/Contents +@dirrm System/Library/Bundles/libgnustep-back.bundle +@dirrm System/Headers/gnustep/gsc +@dirrm System/Headers/gnustep/x11 +@dirrm System/Headers/gnustep/xlib |