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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Nov 8 13:29:49 CET 2011


Revision: 16136
          http://gar.svn.sourceforge.net/gar/?rev=16136&view=rev
Author:   dmichelsen
Date:     2011-11-08 12:29:49 +0000 (Tue, 08 Nov 2011)
Log Message:
-----------
clpbar: Use REINPLACE

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

Modified: csw/mgar/pkg/clpbar/trunk/Makefile
===================================================================
--- csw/mgar/pkg/clpbar/trunk/Makefile	2011-11-08 09:57:51 UTC (rev 16135)
+++ csw/mgar/pkg/clpbar/trunk/Makefile	2011-11-08 12:29:49 UTC (rev 16136)
@@ -21,6 +21,11 @@
 
 VENDOR_URL = http://clpbar.sourceforge.net/
 
+REINPLACE_MATCH = /etc/clpbarrc
+REINPLACE_WITH = $(CLPBARRC)
+REINPLACE_FILES += args.c
+REINPLACE_FILES += bar.1.in
+
 CONFIGURE_ARGS += $(DIRPATHS)
 # It is 64 bit when *I* say so
 CONFIGURE_ARGS += --disable-use-m64
@@ -29,13 +34,6 @@
 
 include gar/category.mk
 
-post-extract-modulated:
-	perl -pi \
-		-e 's,/etc/clpbarrc,$(CLPBARRC),g;' \
-		$(WORKSRC)/args.c \
-		$(WORKSRC)/bar.1.in
-	@$(MAKECOOKIE)
-
 post-install-modulated:
 	ginstall -d $(DESTDIR)$(dir $(CLPBARRC))
 	ginstall $(WORKDIR)/clpbarrc $(DESTDIR)$(CLPBARRC)

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