[csw-devel] SF.net SVN: gar:[7250] csw/mgar/pkg/pyantlrrt/trunk/Makefile

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Thu Nov 12 19:38:14 CET 2009


Revision: 7250
          http://gar.svn.sourceforge.net/gar/?rev=7250&view=rev
Author:   wahwah
Date:     2009-11-12 18:38:13 +0000 (Thu, 12 Nov 2009)

Log Message:
-----------
pyantlr: Renaming the package in the Makefile

Modified Paths:
--------------
    csw/mgar/pkg/pyantlrrt/trunk/Makefile

Modified: csw/mgar/pkg/pyantlrrt/trunk/Makefile
===================================================================
--- csw/mgar/pkg/pyantlrrt/trunk/Makefile	2009-11-12 17:45:17 UTC (rev 7249)
+++ csw/mgar/pkg/pyantlrrt/trunk/Makefile	2009-11-12 18:38:13 UTC (rev 7250)
@@ -2,9 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-GARNAME = pyantlrrt
+GARNAME = py_antlr
 GARVERSION = 3.1.1
-CATEGORIES = lib
+CATEGORIES = python
 
 DESCRIPTION = Python ANTLR runtime
 define BLURB
@@ -16,28 +16,23 @@
 
 WORKSRC = $(WORKDIR)/antlr_python_runtime-$(GARVERSION)
 
-REQUIRED_PKGS = CSWcswclassutils CSWpython CSWpython-rt
-PREREQUISITE_PKGS = $(REQUIRED_PKGS) CSWpysetuptools
+PACKAGES = CSWpy-antlr
+CATALOGNAME = py_antlr
+PREREQUISITE_PKGS = CSWpysetuptools
 
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-SPKG_CLASSES = none cswpycompile
 ARCHALL = 1
 
-PROTOTYPE_FILTER = awk ' \
-  $$$$3 ~/.*\.py$$$$/ { $$$$2 = "pycompile" } \
-  { print }'
+# BUILD_SCRIPTS = $(WORKSRC)/setup.py
 
-CONFIGURE_SCRIPTS =
-BUILD_SCRIPTS = $(WORKSRC)/setup.py
+# INSTALL_SCRIPTS = $(WORKSRC)/setup.py
+# INSTALL_ARGS += --root=$(DESTDIR) --prefix=$(prefix)
 
-INSTALL_SCRIPTS = $(WORKSRC)/setup.py
-INSTALL_ARGS += --root=$(DESTDIR) --prefix=$(prefix)
-
 TEST_SCRIPTS =
 
-post-install-modulated:
+include gar/category.mk
+
+post-install:
 	gfind $(DESTDIR) -type f -name '*.pyc' -exec rm {} \;
 	@$(MAKECOOKIE)
-
-include gar/category.mk


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