aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-04-13 15:34:29 +0800
committerdinoex <dinoex@FreeBSD.org>2003-04-13 15:34:29 +0800
commitdd39192df6ad45880ffe9596b55ca7d6bb24f07f (patch)
tree3d82dfa4a65bfa657cd9fe416e9060aea6967fc7 /lang
parentec2a8253036d92ac0646a135cc33c1079e18f84f (diff)
downloadfreebsd-ports-gnome-dd39192df6ad45880ffe9596b55ca7d6bb24f07f.tar.gz
freebsd-ports-gnome-dd39192df6ad45880ffe9596b55ca7d6bb24f07f.tar.zst
freebsd-ports-gnome-dd39192df6ad45880ffe9596b55ca7d6bb24f07f.zip
- Use libobjc.so
- Cleanup - Use bsd.gnustep.mk - build with X11 by default - add Option WITHOUT_X11 - Fix PLIST PR: 50479
Diffstat (limited to 'lang')
-rw-r--r--lang/gnustep-guile/Makefile53
-rw-r--r--lang/gnustep-guile/pkg-plist25
2 files changed, 40 insertions, 38 deletions
diff --git a/lang/gnustep-guile/Makefile b/lang/gnustep-guile/Makefile
index 328405916a80..1f83897758f6 100644
--- a/lang/gnustep-guile/Makefile
+++ b/lang/gnustep-guile/Makefile
@@ -16,58 +16,35 @@ MASTER_SITE_SUBDIR= libs
MAINTAINER= dinoex@FreeBSD.org
COMMENT= GNUstep interface to the GUILE scheme interpreter
-BUILD_DEPENDS= ${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libcallback.a:${PORTSDIR}/devel/ffcall
-RUN_DEPENDS= ${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base
-LIB_DEPENDS= guile.10:${PORTSDIR}/lang/guile
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 300000
-BROKEN= "Sorry, this port does not work on FreeBSD-2.2.x"
-.endif
+LIB_DEPENDS+= guile.10:${PORTSDIR}/lang/guile
PREFIX= ${LOCALBASE}/GNUstep
+NO_MTREE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=
USE_GMAKE= yes
MAKEFILE=
MAKE_FLAGS= OPTFLAG="${CFLAGS}"
-NO_MTREE= yes
-USE_GCC= 3.2
+PLIST_SUB+= GUILE_VER="${GUILE_VER}"
MAN1= greg.1
-.if ${MACHINE_ARCH} == "i386"
-GNU_ARCH= ix86
+.if defined(WITHOUT_X11)
+PKGNAMESUFFIX?= -nox11
+USE_GNUSTEP_BASE= yes
+PLIST_SUB+= USEX11="@comment "
.else
-GNU_ARCH= ${MACHINE_ARCH}
+USE_GNUSTEP_BACK= yes
+PLIST_SUB+= USEX11=""
.endif
-PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} VERSION=${PORTVERSION}
-COMBOLIBDIR= ${PREFIX}/System/Libraries/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu
-
-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)
+.include <bsd.port.pre.mk>
-do-build:
- @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
+USE_GNUSTEP_CONFIGURE= yes
+USE_GNUSTEP_BUILD= yes
+USE_GNUSTEP_INSTALL= yes
+.include "${PORTSDIR}/devel/gnustep/bsd.gnustep.mk"
-do-install:
- @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
- ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+GUILE_VER!= (cd ${PORTSDIR}/lang/guile && make -V PORTVERSION)
.include <bsd.port.post.mk>
diff --git a/lang/gnustep-guile/pkg-plist b/lang/gnustep-guile/pkg-plist
index c65dd82bb88b..e6230f4dec85 100644
--- a/lang/gnustep-guile/pkg-plist
+++ b/lang/gnustep-guile/pkg-plist
@@ -1,3 +1,15 @@
+%%USEX11%%System/Applications/guile-gui.app/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/guile-gui
+%%USEX11%%System/Applications/guile-gui.app/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/library_paths.openapp
+%%USEX11%%System/Applications/guile-gui.app/Resources/Info-gnustep.plist
+%%USEX11%%System/Applications/guile-gui.app/Resources/guile-gui.desktop
+%%USEX11%%System/Applications/guile-gui.app/guile-gui
+%%USEX11%%System/Applications/guile-gui.app/stamp.make
+%%USEX11%%System/Applications/gui.app/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/gui
+%%USEX11%%System/Applications/gui.app/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/library_paths.openapp
+%%USEX11%%System/Applications/gui.app/Resources/Info-gnustep.plist
+%%USEX11%%System/Applications/gui.app/Resources/gui.desktop
+%%USEX11%%System/Applications/gui.app/gui
+%%USEX11%%System/Applications/gui.app/stamp.make
System/Headers/ScriptKit/Guile.h
System/Headers/ScriptKit/GuileInterpreter.h
System/Headers/ScriptKit/GuileInvocation.h
@@ -16,6 +28,7 @@ System/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libScriptKit.so.1.0.0
System/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libgg_base.so
System/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libgg_base.so.%%VERSION%%
System/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libgg_base.so.1
+%%USEX11%%System/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libgg_gui.so.%%VERSION%%
System/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libgstep_guile.so
System/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libgstep_guile.so.%%VERSION%%
System/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libgstep_guile.so.1
@@ -29,6 +42,16 @@ lib/libgreg.a
lib/libgreg.la
lib/libgreg.so
lib/libgreg.so.1
+%%USEX11%%@dirrm System/Applications/guile-gui.app/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu
+%%USEX11%%@dirrm System/Applications/guile-gui.app/%%GNU_ARCH%%/%%OPSYS%%
+%%USEX11%%@dirrm System/Applications/guile-gui.app/%%GNU_ARCH%%
+%%USEX11%%@dirrm System/Applications/guile-gui.app/Resources
+%%USEX11%%@dirrm System/Applications/guile-gui.app
+%%USEX11%%@dirrm System/Applications/gui.app/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu
+%%USEX11%%@dirrm System/Applications/gui.app/%%GNU_ARCH%%/%%OPSYS%%
+%%USEX11%%@dirrm System/Applications/gui.app/%%GNU_ARCH%%
+%%USEX11%%@dirrm System/Applications/gui.app/Resources
+%%USEX11%%@dirrm System/Applications/gui.app
@dirrm System/Libraries/Guile/languages/gstep-guile
@dirrm System/Libraries/Guile/languages
@dirrm System/Libraries/Guile
@@ -39,3 +62,5 @@ lib/libgreg.so.1
@dirrm info
@dirrm man/man1
@dirrm man
+@cwd %%LOCALBASE%%
+share/guile/%%GUILE_VER%%/ice-9/greg.scm