pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/typolight Prevent extra '*.orig' files to be insta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/43ba0c072fd1
branches:  trunk
changeset: 556152:43ba0c072fd1
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Mar 17 11:15:53 2009 +0000

description:
Prevent extra '*.orig' files to be installed.

Bump PKGREVISION.

diffstat:

 www/typolight/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r c81142c206d1 -r 43ba0c072fd1 www/typolight/Makefile
--- a/www/typolight/Makefile    Tue Mar 17 10:50:49 2009 +0000
+++ b/www/typolight/Makefile    Tue Mar 17 11:15:53 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2009/01/25 04:46:06 taca Exp $
+# $NetBSD: Makefile,v 1.12 2009/03/17 11:15:53 taca Exp $
 #
 
 DISTNAME=      typolight-${TL_VERSION}
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=typolight/}
 
@@ -98,6 +99,9 @@
        cd ${WRKSRC}; ${RM} -rf music_academy.css \
                templates/example_website.sql tl_files/music_academy
 
+pre-install:
+       ${FIND} ${WRKSRC:Q} -name "*.orig*" -exec ${RM} -f {} \;
+
 do-install:
        cd ${WRKSRC}; pax -rw -pm ${WWW_FILES} ${DESTDIR}${PREFIX}/${TL_WEBDIR}
        cd ${WRKSRC}/system; \



Home | Main Index | Thread Index | Old Index