mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
This is now the mega port that installs the GNUstep stuff.
Set to version 1.0.2.
This commit is contained in:
parent
b6e5062e77
commit
8ffca28f27
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44456
@ -6,16 +6,23 @@
|
||||
#
|
||||
|
||||
PORTNAME= gnustep
|
||||
PORTVERSION= 0.6.6
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://ftp.codefactory.se/pub/gnu/gstep/ \
|
||||
http://planetmirror.com/pub/gnustep/core/
|
||||
DISTNAME= gstep-core-${PORTVERSION}
|
||||
PORTVERSION= 1.0.2
|
||||
CATEGORIES= lang devel
|
||||
MASTER_SITES= # empty
|
||||
DISTFILES= # empty
|
||||
EXTRACT_ONLY= # empty
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
tiff.4:${PORTSDIR}/graphics/tiff
|
||||
RUN_DEPENDS= ${PREFIX}/System/Makefiles/GNUstep.sh:${PORTSDIR}/devel/gnustep-make \
|
||||
${SYSLIBDIR}/libobjc.so:${PORTSDIR}/lang/gnustep-objc \
|
||||
${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base \
|
||||
${COMBOLIBDIR}/libgnustep-gui.so:${PORTSDIR}/x11-toolkits/gnustep-gui \
|
||||
${XGPSBUNDLEDIR}/libgnustep-xgps:${PORTSDIR}/x11-toolkits/gnustep-xgps
|
||||
${SYSLIBDIR}/lib:${PORTSDIR}/lang/gnustep-guile
|
||||
|
||||
PREFIX= ${LOCALBASE}/GNUstep
|
||||
NO_BUILD= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -23,41 +30,16 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
|
||||
BROKEN= "Sorry, this port does not work on FreeBSD-2.2.x"
|
||||
.endif
|
||||
|
||||
USE_NEWGCC= yes
|
||||
PREFIX= ${LOCALBASE}/GNUstep
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL} -c" INSTALL_DATA="${INSTALL} -c"
|
||||
CONFIGURE_ARGS= --with-library-combo=gnu-gnu-gnu-xgps \
|
||||
--with-jpeg-library=${LOCALBASE}/lib \
|
||||
--with-jpeg-include=${LOCALBASE}/include \
|
||||
--with-tiff-library=${LOCALBASE}/lib \
|
||||
--with-tiff-include=${LOCALBASE}/include # --enable-threads=posix
|
||||
CONFIGURE_TARGET=
|
||||
USE_BISON= yes
|
||||
USE_GMAKE= yes
|
||||
USE_XLIB= 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} VERSION=${PORTVERSION}
|
||||
|
||||
ETCDIR= ${PREFIX}/../etc
|
||||
SYSLIBDIR= ${PREFIX}/System/Libraries/${GNU_ARCH}/${OPSYS:L}
|
||||
COMBOLIBDIR= ${SYSLIBDIR}/gnu-gnu-gnu-xgps
|
||||
XGPSBUNDLEDIR= ${PREFIX}/System/Library/Bundles/libgnustep-xgps.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/
|
||||
|
||||
post-patch:
|
||||
.for f in bundle gswapp gswbundle woapp wobundle
|
||||
${PERL} -pi -e 's/\$$\(TAR\) ch --exclude=CVS --to-stdout/\$$\(TAR\) -ch --exclude=CVS -f -/g' ${WRKSRC}/make/${f}.make
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${ETCDIR}
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/GNUstep.sh ${ETCDIR}/rc.d
|
||||
${INSTALL_DATA} ${FILESDIR}/gdomap_if ${ETCDIR}
|
||||
do-install: # empty
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +0,0 @@
|
||||
MD5 (gstep-core-0.6.6.tar.gz) = 23d87610859a542b98c348fd9e66b8f8
|
@ -1,31 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
|
||||
echo "$0: Cannot determine the PREFIX" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
IFFILE=${PREFIX}/etc/gdomap_if
|
||||
PIDFILE=/var/run/gdomap.pid
|
||||
GNUSTEP_SYSTEM_ROOT=${PREFIX}/GNUstep/System
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
if [ -e ${GNUSTEP_SYSTEM_ROOT}/Makefiles/GNUstep.sh ]; then
|
||||
. ${GNUSTEP_SYSTEM_ROOT}/Makefiles/GNUstep.sh
|
||||
if [ -x ${GNUSTEP_SYSTEM_ROOT}/Tools/gdomap ]; then
|
||||
rm -f ${PIDFILE}
|
||||
${GNUSTEP_SYSTEM_ROOT}/Tools/gdomap -a ${IFFILE} -I ${PIDFILE}
|
||||
echo -n ' GNUstep'
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
stop)
|
||||
[ -r ${PIDFILE} ] && kill $(cat ${PIDFILE}) && echo -n ' GNUstep'
|
||||
;;
|
||||
*)
|
||||
echo "Usage: `basename $0` {start|stop}" >&2
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1 +0,0 @@
|
||||
127.0.0.1 255.255.255.0
|
@ -1,11 +0,0 @@
|
||||
--- gui/Source/GNUmakefile.preamble.orig Sun Oct 15 21:47:59 2000
|
||||
+++ gui/Source/GNUmakefile.preamble Sun Oct 15 21:48:16 2000
|
||||
@@ -63,7 +63,7 @@
|
||||
ADDITIONAL_CFLAGS =
|
||||
|
||||
# Additional include directories the compiler should search
|
||||
-ADDITIONAL_INCLUDE_DIRS = -I../Headers
|
||||
+ADDITIONAL_INCLUDE_DIRS = -I../Headers -I${LOCALBASE}/include
|
||||
|
||||
# Additional LDFLAGS to pass to the linker
|
||||
ADDITIONAL_LDFLAGS =
|
@ -1,11 +0,0 @@
|
||||
--- xgps/Source/GNUmakefile.preamble.orig Sun Oct 15 22:12:02 2000
|
||||
+++ xgps/Source/GNUmakefile.preamble Sun Oct 15 22:12:26 2000
|
||||
@@ -55,7 +55,7 @@
|
||||
ADDITIONAL_CFLAGS =
|
||||
|
||||
# Additional include directories the compiler should search
|
||||
-ADDITIONAL_INCLUDE_DIRS = -I../Headers \
|
||||
+ADDITIONAL_INCLUDE_DIRS = -I../Headers -I${LOCALBASE}/include \
|
||||
-I$(GNUSTEP_TARGET_CPU)/$(GNUSTEP_TARGET_OS) \
|
||||
-I./SharedX
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user