- GNUstep-Make 2.0.7

* New configuration file to set default installation
* gnustep-make now uses the -no-print-directory flag when invoking make
* Change in path checking algorithm in GNUstep.sh and GNUstep.csh
- use SUBST_CMD
This commit is contained in:
ajacoutot 2008-12-23 15:25:04 +00:00
parent 9cb0ce5119
commit 77b0e2d1ab
8 changed files with 42 additions and 42 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.14 2008/10/03 07:21:56 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.15 2008/12/23 15:25:04 ajacoutot Exp $
# WARNING: this port does NOT use the x11/gnustep MODULE
@ -6,7 +6,7 @@ PKG_ARCH= *
COMMENT= GNUstep makefile package
DISTNAME= gnustep-make-2.0.6
DISTNAME= gnustep-make-2.0.7
CATEGORIES= devel x11/gnustep
HOMEPAGE= http://www.gnustep.org/
@ -32,13 +32,14 @@ CONFIGURE_ARGS= --with-layout=openbsd \
--with-thread-lib="-pthread"
pre-configure:
@perl -p -e 's,!!PREFIX!!,${PREFIX},g' files/openbsd \
> ${WRKSRC}/FilesystemLayouts/openbsd
${SUBST_CMD} -c ${FILESDIR}/openbsd \
${WRKSRC}/FilesystemLayouts/openbsd
post-install:
@sed -e 's,!!PREFIX!!,${TRUEPREFIX},g' \
< ${FILESDIR}/README.OpenBSD > ${PREFIX}/share/GNUstep/README.OpenBSD
${INSTALL_DATA} ${WRKSRC}/GNUstep.conf \
${PREFIX}/share/GNUstep/GNUstep.conf
${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD \
${PREFIX}/share/GNUstep/README.OpenBSD
chown ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/GNUstep/README.OpenBSD
${INSTALL_DATA} ${WRKSRC}/{GNUstep.conf,installation-domains.conf} \
${PREFIX}/share/GNUstep/
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (gnustep/gnustep-make-2.0.6.tar.gz) = WOu2ctEJJaIAQkLqsa7CJQ==
RMD160 (gnustep/gnustep-make-2.0.6.tar.gz) = vi/JwHQ0nhSYfXmEKv/dOuyctZc=
SHA1 (gnustep/gnustep-make-2.0.6.tar.gz) = zFceWW0EkO6cfowksS8+N8EY6aQ=
SHA256 (gnustep/gnustep-make-2.0.6.tar.gz) = 9HMblfmxb8ipGNkhvgCom55lqGc0YlF26Y2yJBVfnkI=
SIZE (gnustep/gnustep-make-2.0.6.tar.gz) = 477219
MD5 (gnustep/gnustep-make-2.0.7.tar.gz) = Gks898ym0ekLhANAEkgGMA==
RMD160 (gnustep/gnustep-make-2.0.7.tar.gz) = XUvYy2ifWwb6rRZrQe9VYvM+X1E=
SHA1 (gnustep/gnustep-make-2.0.7.tar.gz) = 0q7IJjnJZFMHkWfs4NZOfRoqyic=
SHA256 (gnustep/gnustep-make-2.0.7.tar.gz) = BUqTAeX1tUvljo8GhypmqtMzOhZkUwKUh1utkQubBHI=
SIZE (gnustep/gnustep-make-2.0.7.tar.gz) = 483812

View File

@ -1,4 +1,4 @@
# $OpenBSD: README.OpenBSD,v 1.5 2007/12/16 12:39:52 ajacoutot Exp $
# $OpenBSD: README.OpenBSD,v 1.6 2008/12/23 15:25:04 ajacoutot Exp $
#
# post-install optionnal steps
@ -6,17 +6,17 @@
To take advantage of all the features from the GNUstep framework, you
should add the following lines to your ~/.xsession or ~/.xinitrc:
. !!PREFIX!!/share/GNUstep/Makefiles/GNUstep.sh # (from gnustep-base)
!!PREFIX!!/bin/gdnc # notifications daemon (from gnustep-base)
!!PREFIX!!/bin/gpbs # clipboard/pasteboard daemon (from gnustep-back)
!!PREFIX!!/bin/make_services # update service cache (from gnustep-gui)
. ${TRUEPREFIX}/share/GNUstep/Makefiles/GNUstep.sh # (from gnustep-make)
${TRUEPREFIX}/bin/gdnc # notifications daemon (from gnustep-base)
${TRUEPREFIX}/bin/gpbs # clipboard/pasteboard daemon (from gnustep-back)
${TRUEPREFIX}/bin/make_services # update service cache (from gnustep-gui)
To enable gdomap(8), the distributed objects lookup daemon (from
gnustep-base), add the following lines to services(5):
gdomap 538/tcp # GNUstep distrib objects
gdomap 538/udp # GNUstep distrib objects
Then see rc(8) to have "!!PREFIX!!/bin/gdomap -p" launched at boot time.
Then see rc(8) to have "${TRUEPREFIX}/bin/gdomap -p" launched at boot time.
For more Information regarding the GNUstep services see their respective
manual pages: GNUstep(7), gdnc(1), gpbs(1), make_services(1), gdomap(8)
@ -27,15 +27,15 @@ manual pages: GNUstep(7), gdnc(1), gpbs(1), make_services(1), gdomap(8)
#
While opening GNUstep applications using their complete path is possible
(i.e. !!PREFIX!!/libexec/GNUstep/ApplicationName.app/ApplicationName),
(i.e. ${TRUEPREFIX}/libexec/GNUstep/ApplicationName.app/ApplicationName),
you're advised to use the "openapp" wrapper to do so.
For instance, to start the Calculator application, you would use:
!!PREFIX!!/bin/openapp Calculator
${TRUEPREFIX}/bin/openapp Calculator
According to your display, you may find the fonts to be too large/small
for your taste.
To change the default fonts size ("9"), use the following command:
!!PREFIX!!/bin/defaults write NSGlobalDomain NSFontSize <fontsize>
${TRUEPREFIX}/bin/defaults write NSGlobalDomain NSFontSize <fontsize>
#
@ -44,7 +44,7 @@ To change the default fonts size ("9"), use the following command:
In case you do not want stripped libraries and binaries, you have to
remove the -s flag from the definition of INSTALL_PROGRAM in the
!!PREFIX!!/share/GNUstep/Makefiles/config.make file.
${TRUEPREFIX}/share/GNUstep/Makefiles/config.make file.
#

View File

@ -1,8 +1,8 @@
# $OpenBSD: openbsd,v 1.1.1.1 2007/05/29 03:00:34 ajacoutot Exp $
# $OpenBSD: openbsd,v 1.2 2008/12/23 15:25:04 ajacoutot Exp $
#
# OpenBSD filesystem layout
GNUSTEP_DEFAULT_PREFIX=!!PREFIX!!
GNUSTEP_DEFAULT_PREFIX=${PREFIX}
GNUSTEP_SYSTEM_USERS_DIR=/home
GNUSTEP_NETWORK_USERS_DIR=/home

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-GNUmakefile_in,v 1.3 2008/05/05 09:31:30 ajacoutot Exp $
--- GNUmakefile.in.orig Mon May 5 11:09:29 2008
+++ GNUmakefile.in Mon May 5 11:11:33 2008
$OpenBSD: patch-GNUmakefile_in,v 1.4 2008/12/23 15:25:04 ajacoutot Exp $
--- GNUmakefile.in.orig Tue Oct 21 16:45:48 2008
+++ GNUmakefile.in Tue Dec 23 13:47:10 2008
@@ -98,7 +98,7 @@ export GNUSTEP_TARGET_LDIR
export MAYBE_LIBRARY_COMBO
@ -28,7 +28,7 @@ $OpenBSD: patch-GNUmakefile_in,v 1.3 2008/05/05 09:31:30 ajacoutot Exp $
$(EC)(echo "Installing gnustep-make support software")
$(EC)(for f in config.guess config.sub install-sh mkinstalldirs \
clean_cpu.sh clean_os.sh \
@@ -223,17 +219,11 @@ install: generated-files
@@ -221,17 +217,11 @@ install: generated-files
"$(srcdir)/mkinstalldirs" "$(mandir)/man1" \
"$(mandir)/man7"; \
$(INSTALL_DATA) "$(srcdir)/Documentation/debugapp.1" "$(mandir)/man1"; \

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Instance_bundle_make,v 1.3 2008/05/05 09:31:30 ajacoutot Exp $
--- Instance/bundle.make.orig Mon May 5 11:05:42 2008
+++ Instance/bundle.make Mon May 5 11:06:10 2008
@@ -82,6 +82,8 @@ endif
$OpenBSD: patch-Instance_bundle_make,v 1.4 2008/12/23 15:25:04 ajacoutot Exp $
--- Instance/bundle.make.orig Tue Oct 21 13:18:05 2008
+++ Instance/bundle.make Tue Dec 23 13:47:10 2008
@@ -87,6 +87,8 @@ endif
ifeq ($(BUILD_DLL),yes)
BUNDLE_OBJ_EXT = $(DLL_LIBEXT)

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Instance_framework_make,v 1.3 2008/06/23 10:59:17 ajacoutot Exp $
--- Instance/framework.make.orig Sat May 24 16:47:33 2008
+++ Instance/framework.make Mon Jun 23 11:22:19 2008
@@ -532,13 +532,7 @@ $(GNUSTEP_BUILD_DIR)/$(GNUSTEP_INSTANCE).framework/$(G
$OpenBSD: patch-Instance_framework_make,v 1.4 2008/12/23 15:25:04 ajacoutot Exp $
--- Instance/framework.make.orig Tue Oct 21 13:18:05 2008
+++ Instance/framework.make Tue Dec 23 13:47:10 2008
@@ -537,13 +537,7 @@ $(GNUSTEP_BUILD_DIR)/$(GNUSTEP_INSTANCE).framework/$(G
$(GNUSTEP_BUILD_DIR)/$(GNUSTEP_INSTANCE).framework/$(GNUSTEP_TARGET_LDIR)/$(GNUSTEP_INSTANCE): $(GNUSTEP_BUILD_DIR)/$(GNUSTEP_INSTANCE).framework/$(GNUSTEP_TARGET_LDIR)/
ifeq ($(MAKE_CURRENT_VERSION),yes)
$(ECHO_NOTHING)cd $(GNUSTEP_BUILD_DIR)/$(GNUSTEP_INSTANCE).framework/$(GNUSTEP_TARGET_LDIR); \
@ -16,7 +16,7 @@ $OpenBSD: patch-Instance_framework_make,v 1.3 2008/06/23 10:59:17 ajacoutot Exp
endif
endif
endif
@@ -553,8 +547,7 @@ $(FRAMEWORK_FILE): $(DUMMY_FRAMEWORK_OBJ_FILE) $(OBJ_F
@@ -558,8 +552,7 @@ $(FRAMEWORK_FILE): $(DUMMY_FRAMEWORK_OBJ_FILE) $(OBJ_F
$(ECHO_LINKING) \
$(LIB_LINK_CMD) || $(RM) $(FRAMEWORK_FILE) ; \
(cd $(LIB_LINK_OBJ_DIR); \
@ -26,7 +26,7 @@ $OpenBSD: patch-Instance_framework_make,v 1.3 2008/06/23 10:59:17 ajacoutot Exp
$(END_ECHO)
PRINCIPAL_CLASS = $(strip $($(GNUSTEP_INSTANCE)_PRINCIPAL_CLASS))
@@ -623,11 +616,7 @@ endif
@@ -628,11 +621,7 @@ endif
$(RM_LN_S) $(FRAMEWORK_LIBRARY_FILE); \
$(RM_LN_S) $(SONAME_FRAMEWORK_FILE); \
$(RM_LN_S) $(VERSION_FRAMEWORK_LIBRARY_FILE); \

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2008/01/09 14:18:31 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.4 2008/12/23 15:25:04 ajacoutot Exp $
bin/debugapp
bin/gnustep-config
bin/openapp
@ -110,8 +110,6 @@ share/GNUstep/Makefiles/java-executable.template
share/GNUstep/Makefiles/java-tool.make
share/GNUstep/Makefiles/java.make
share/GNUstep/Makefiles/jni.make
share/GNUstep/Makefiles/ld_lib_path.csh
share/GNUstep/Makefiles/ld_lib_path.sh
share/GNUstep/Makefiles/library-combo.make
share/GNUstep/Makefiles/library.make
share/GNUstep/Makefiles/messages.make
@ -138,3 +136,4 @@ share/GNUstep/Makefiles/test-tool.make
share/GNUstep/Makefiles/tool.make
share/GNUstep/Makefiles/vendor.sh
share/GNUstep/README.OpenBSD
share/GNUstep/installation-domains.conf