pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-gettext-activerecord Remove .orig files bef...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8341ecba72ce
branches:  trunk
changeset: 572192:8341ecba72ce
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Feb 21 21:41:55 2010 +0000

description:
Remove .orig files before installation to match PLIST.

diffstat:

 devel/ruby-gettext-activerecord/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 95f19f4b3457 -r 8341ecba72ce devel/ruby-gettext-activerecord/Makefile
--- a/devel/ruby-gettext-activerecord/Makefile  Sun Feb 21 19:32:25 2010 +0000
+++ b/devel/ruby-gettext-activerecord/Makefile  Sun Feb 21 21:41:55 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2010/02/16 03:11:52 taca Exp $
+# $NetBSD: Makefile,v 1.3 2010/02/21 21:41:55 joerg Exp $
 
 DISTNAME=      gettext_activerecord-2.1.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/}
@@ -16,5 +16,8 @@
 post-extract:
        cd ${WRKSRC}; ${FIND} . -xdev -type f -print | ${XARGS} ${CHMOD} g-w
 
+pre-build:
+       ${FIND} ${WRKSRC} -name \*.orig -exec rm {} \;
+
 .include "../../misc/rubygems/rubygem.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index