[csw-devel] SF.net SVN: gar:[10312] csw/mgar/pkg/x3270/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jun 24 18:06:47 CEST 2010


Revision: 10312
          http://gar.svn.sourceforge.net/gar/?rev=10312&view=rev
Author:   dmichelsen
Date:     2010-06-24 16:06:47 +0000 (Thu, 24 Jun 2010)

Log Message:
-----------
x3270: Several fixes and default files added

Modified Paths:
--------------
    csw/mgar/pkg/x3270/trunk/Makefile
    csw/mgar/pkg/x3270/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/x3270/trunk/files/ibm-1027_P100-1995.cnv
    csw/mgar/pkg/x3270/trunk/files/ibm-1385_P100-1997.cnv
    csw/mgar/pkg/x3270/trunk/files/ibm-1388_P103-2001.cnv
    csw/mgar/pkg/x3270/trunk/files/ibm-300_P110-1997.cnv
    csw/mgar/pkg/x3270/trunk/files/ibm-837_P100-2000.cnv

Modified: csw/mgar/pkg/x3270/trunk/Makefile
===================================================================
--- csw/mgar/pkg/x3270/trunk/Makefile	2010-06-24 14:12:36 UTC (rev 10311)
+++ csw/mgar/pkg/x3270/trunk/Makefile	2010-06-24 16:06:47 UTC (rev 10312)
@@ -1,6 +1,6 @@
 # $Id$
 GARNAME = x3270
-GARVERSION = 3.3.10ga5
+GARVERSION = $(BASEREL).10ga5
 CATEGORIES = apps
 
 DESCRIPTION = An IBM 3270 terminal emulator
@@ -11,6 +11,13 @@
 DISTFILES  = suite3270-$(GARVERSION)-src.tgz
 DISTFILES += COPYING
 
+CONVERSIONS  = ibm-1027_P100-1995.cnv
+CONVERSIONS += ibm-1385_P100-1997.cnv
+CONVERSIONS += ibm-1388_P103-2001.cnv
+CONVERSIONS += ibm-300_P110-1997.cnv
+CONVERSIONS += ibm-837_P100-2000.cnv
+DISTFILES += $(CONVERSIONS)
+
 PATCHFILES = 0001-Add-Error-function.patch
 
 # File name regex to get notifications about upstream software releases
@@ -30,13 +37,51 @@
 EXTRA_LINKER_FLAGS = -liconv
 
 WORKSRC = $(WORKDIR)
-CONFIGURE_SCRIPTS = $(foreach S,$(SUBSYSTEMS),$(WORKDIR)/$S-$(BASEREL)/configure)
+# CONFIGURE_SCRIPTS = $(foreach S,$(SUBSYSTEMS),$(WORKDIR)/$S-$(BASEREL)/configure)
+CONFIGURE_SCRIPTS = $(addprefix x3270-,$(SUBSYSTEMS))
+
+sysconfdir = /etc/opt/csw
+CONFIGURE_ARGS-tcl3270 = --with-tcl=8.4
+CONFIGURE_ARGS-x3270 = --without-pr3287 --with-fontdir=$(sharedstatedir)/x3270
 CONFIGURE_ARGS = $(DIRPATHS)
 
 BUILD_SCRIPTS = $(foreach S,$(SUBSYSTEMS),$(WORKDIR)/$S-$(BASEREL)/Makefile)
 TEST_SCRIPTS = 
 INSTALL_SCRIPTS = $(BUILD_SCRIPTS)
+INSTALL_ARGS = install.man
 
+# Otherwise one manpage ends up in /usr/openwin/...
+INSTALL_OVERRIDE_VARS = MANPATH BINDIR
+INSTALL_OVERRIDE_VAR_MANPATH = $(mandir)
+INSTALL_OVERRIDE_VAR_BINDIR = $(bindir)
 
+# EXTRA_PAX_ARGS = -s ",\./usr/openwin/bin/,.$(bindir)/,p"
 
+MIGRATE_FILES = $(addprefix x3270/,ibm_hosts $(CONVERSIONS))
+PRESERVECONF = $(addprefix $(sysconfdir)/,$(MIGRATE_FILES))
+
+#MANPAGES  = s3270-$(BASEREL)/s3270
+#MANPAGES += c3270-$(BASEREL)/c3270
+#MANPAGES += tcl3270-$(BASEREL)/tcl3270
+#MANPAGES += pr3287-$(BASEREL)/pr3287
+#MANPAGES += x3270-$(BASEREL)/x3270
+#MANPAGES += x3270-$(BASEREL)/x3270if
+#MANPAGES += x3270-$(BASEREL)/x3270-script
+
 include gar/category.mk
+
+configure-x3270-%:
+	@echo " ==> Running configure for $*"
+	cd $(WORKDIR)/$*-$(BASEREL) && $(CONFIGURE_ENV) ./configure $(CONFIGURE_ARGS) $(CONFIGURE_ARGS-$*)
+	@$(MAKECOOKIE)
+
+post-install-modulated:
+	ginstall -d $(DESTDIR)$(libdir)/x3270
+	ginstall $(WORKSRC)/x3270-$(BASEREL)/x3270_glue.expect $(DESTDIR)$(libdir)/x3270/x3270_glue.expect
+	#ginstall -d $(DESTDIR)$(mandir)/man1
+	#$(foreach M,$(MANPAGES),ginstall $(WORKSRC)/$(M).man $(DESTDIR)$(mandir)/man1/$(notdir $M).1;)
+	ginstall -d $(DESTDIR)$(mandir)/man5
+	ginstall $(WORKSRC)/x3270-$(BASEREL)/ibm_hosts.man $(DESTDIR)$(mandir)/man5/ibm_hosts.5
+	$(foreach S,$(SUBSYSTEMS),ginstall -d $(DESTDIR)$(docdir)/x3270/$S; cp -rp $(WORKSRC)/$S-$(BASEREL)/README $(WORKSRC)/$S-$(BASEREL)/html $(DESTDIR)$(docdir)/x3270/$S;)
+	$(foreach C,$(CONVERSIONS),ginstall $(WORKDIR)/$C $(DESTDIR)$(sysconfdir)/x3270/$C;)
+	@$(MAKECOOKIE)

Modified: csw/mgar/pkg/x3270/trunk/checksums
===================================================================
--- csw/mgar/pkg/x3270/trunk/checksums	2010-06-24 14:12:36 UTC (rev 10311)
+++ csw/mgar/pkg/x3270/trunk/checksums	2010-06-24 16:06:47 UTC (rev 10312)
@@ -1,3 +1,8 @@
 c44cd68f5450aec260ee3866ad0a7177  0001-Add-Error-function.patch
 63a33fe276b48131d50ee84e665f3a3e  COPYING
+dd7f1ab9a53ab6ff17be8a7f328713cc  ibm-1027_P100-1995.cnv
+6a04cfbfdda619ec2b1424a1168996f8  ibm-1385_P100-1997.cnv
+079111e619157e0f8d5156e6bafda225  ibm-1388_P103-2001.cnv
+2d8643cc3f22c60846e5bf980328c9b6  ibm-300_P110-1997.cnv
+3c2397ee0befcf53743faca9f351c902  ibm-837_P100-2000.cnv
 d373e5657d688d3e5ce35eb226ab19e8  suite3270-3.3.10ga5-src.tgz

Added: csw/mgar/pkg/x3270/trunk/files/ibm-1027_P100-1995.cnv
===================================================================
(Binary files differ)


Property changes on: csw/mgar/pkg/x3270/trunk/files/ibm-1027_P100-1995.cnv
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + application/octet-stream

Added: csw/mgar/pkg/x3270/trunk/files/ibm-1385_P100-1997.cnv
===================================================================
(Binary files differ)


Property changes on: csw/mgar/pkg/x3270/trunk/files/ibm-1385_P100-1997.cnv
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + application/octet-stream

Added: csw/mgar/pkg/x3270/trunk/files/ibm-1388_P103-2001.cnv
===================================================================
(Binary files differ)


Property changes on: csw/mgar/pkg/x3270/trunk/files/ibm-1388_P103-2001.cnv
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + application/octet-stream

Added: csw/mgar/pkg/x3270/trunk/files/ibm-300_P110-1997.cnv
===================================================================
(Binary files differ)


Property changes on: csw/mgar/pkg/x3270/trunk/files/ibm-300_P110-1997.cnv
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + application/octet-stream

Added: csw/mgar/pkg/x3270/trunk/files/ibm-837_P100-2000.cnv
===================================================================
(Binary files differ)


Property changes on: csw/mgar/pkg/x3270/trunk/files/ibm-837_P100-2000.cnv
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:mime-type
   + application/octet-stream


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list