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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Nov 8 13:30:24 CET 2011


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

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

Modified: csw/mgar/pkg/convmv/trunk/Makefile
===================================================================
--- csw/mgar/pkg/convmv/trunk/Makefile	2011-11-08 12:29:49 UTC (rev 16136)
+++ csw/mgar/pkg/convmv/trunk/Makefile	2011-11-08 12:30:23 UTC (rev 16137)
@@ -23,22 +23,24 @@
 LICENSE = GPL2
 ARCHALL = 1
 
-# We define upstream file regex so we can be notifed of new upstream software release
-UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
-
 CONFIGURE_SCRIPTS = 
 BUILD_SCRIPTS = 
 
 INSTALL_ARGS = MANDIR=$(mandir) PREFIX=$(prefix)
 TEST_ARGS = TAR=gtar
 
+REINPLACEMENTS += perl
+REINPLACE_MATCH_perl = /usr/bin/perl
+REINPLACE_WITH_perl = /opt/csw/bin/perl
+REINPLACE_FILES_perl += convmv
+
+REINPLACEMENTS += ginstall
+REINPLACE_MATCH_ginstall = \tinstall
+REINPLACE_WITH_ginstall = \tginstall
+REINPLACE_FILES_ginstall += Makefile
+
 include gar/category.mk
 
-post-extract-modulated:
-	@perl -pi -e 's|/usr/bin/perl|/opt/csw/bin/perl|' $(WORKSRC)/convmv
-	@perl -pi -e 's|\tinstall|\tginstall|' $(WORKSRC)/Makefile
-	@$(MAKECOOKIE)
-
 post-install-modulated: DOCDEST=$(DESTDIR)$(docdir)/$(NAME)
 post-install-modulated:
 	@ginstall -d $(DOCDEST)

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