[csw-devel] SF.net SVN: gar:[15232] csw/mgar/pkg

Maciej Bliziński maciej at opencsw.org
Sun Jul 31 12:58:12 CEST 2011


Em 29/07/2011 15:23, <khabermann at users.sourceforge.net> escreveu:
>
> Revision: 15232
>          http://gar.svn.sourceforge.net/gar/?rev=15232&view=rev
> Author:   khabermann
> Date:     2011-07-29 14:23:37 +0000 (Fri, 29 Jul 2011)
>
> Log Message:
> -----------
> tcl-bwidget: initial commit
>
> Added Paths:
> -----------
>    csw/mgar/pkg/tcl-bwidget/
>    csw/mgar/pkg/tcl-bwidget/Makefile
>    csw/mgar/pkg/tcl-bwidget/branches/
>    csw/mgar/pkg/tcl-bwidget/tags/
>    csw/mgar/pkg/tcl-bwidget/trunk/
>    csw/mgar/pkg/tcl-bwidget/trunk/Makefile
>    csw/mgar/pkg/tcl-bwidget/trunk/checksums
>    csw/mgar/pkg/tcl-bwidget/trunk/files/
>
> Added: csw/mgar/pkg/tcl-bwidget/Makefile
> ===================================================================
> --- csw/mgar/pkg/tcl-bwidget/Makefile                           (rev 0)
> +++ csw/mgar/pkg/tcl-bwidget/Makefile   2011-07-29 14:23:37 UTC (rev
15232)
> @@ -0,0 +1,15 @@
> +# vim: ft=make ts=4 sw=4 noet
> +
> +default:
> +       @echo "You are in the pkg/ directory."
> +
> +%:
> +       $(MAKE) -C trunk $*
> +
> +paranoid-%:
> +       $(MAKE) -C trunk $* || exit 2
> +
> +export BUILDLOG ?= $(shell pwd)/buildlog.txt
> +
> +report-%:
> +       $(MAKE) -C trunk $* || echo "   *** make $* in $$i failed ***" >>
$(BUILDLOG)
>
>
> Property changes on: csw/mgar/pkg/tcl-bwidget/trunk
> ___________________________________________________________________
> Added: svn:ignore
>   + cookies
> download
> work
>
>
> Added: svn:externals
>   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2
>
>
> Added: csw/mgar/pkg/tcl-bwidget/trunk/Makefile
> ===================================================================
> --- csw/mgar/pkg/tcl-bwidget/trunk/Makefile
(rev 0)
> +++ csw/mgar/pkg/tcl-bwidget/trunk/Makefile     2011-07-29 14:23:37 UTC
(rev 15232)
> @@ -0,0 +1,34 @@
> +# $Id$
> +# TODO (release-critical prefixed with !, non release-critical with *)
> +#
> +NAME = bwidget
> +PACKAGES = CSWtclbwidget
> +CATALOGNAME_CSWtclbwidget = tcl-bwidget
> +VERSION = 1.9.5
> +GARTYPE = v2
> +CATEGORIES = lang
> +ARCHALL_CSWtclbwidget = 1
> +DESCRIPTION = The BWidget Toolkit is a high-level widget set for Tcl/Tk
> +RUNTIME_DEP_PKGS_CSWiwidgets = CSWtcl CSWtclitcl CSWtclitk
> +
> +MASTER_SITES = $(SF_MIRROR)
> +DISTFILES  = $(DISTNAME).tar.gz
> +
> +CONFIGURE_SCRIPTS =
> +
> +BUILD_SCRIPTS =
> +
> +INSTALL_SCRIPTS = custom
> +
> +TEST_SCRIPTS =
> +
> +TEST_TARGET =
> +
> +install-custom:
> +       ( TCL_INSTDIR=$(DESTDIR)/opt/csw/lib/tcl`echo 'puts $$tcl_version'
| /opt/csw/bin/tclsh`/$(NAME)$(VERSION) ;\

If you use $(bindir) instead of /opt/csw/bin, you avoid hardcoding /opt/csw.
This way, you make it easier to build this package in a different prefix.
There was recently a discussion on users@ about this topic.

> +       mkdir -p -m 755 $$TCL_INSTDIR ;\
> +       cp -pr $(WORKSRC)/* $$TCL_INSTDIR )
> +       $(MAKECOOKIE)
> +
> +include gar/category.mk
> +
>
>
> Property changes on: csw/mgar/pkg/tcl-bwidget/trunk/Makefile
> ___________________________________________________________________
> Added: svn:keywords
>   + Id
>
> Added: csw/mgar/pkg/tcl-bwidget/trunk/checksums
> ===================================================================
> --- csw/mgar/pkg/tcl-bwidget/trunk/checksums
 (rev 0)
> +++ csw/mgar/pkg/tcl-bwidget/trunk/checksums    2011-07-29 14:23:37 UTC
(rev 15232)
> @@ -0,0 +1 @@
> +2ec9a66ce2e0a7c4e741fc30a9d46b2b  bwidget-1.9.5.tar.gz
>
>
> This was sent by the SourceForge.net collaborative development platform,
the world's largest Open Source development site.
> _______________________________________________
> devel mailing list
> devel at lists.opencsw.org
> https://lists.opencsw.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/devel/attachments/20110731/7f464d76/attachment.html>


More information about the devel mailing list