pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/typolight27-translations * Use SEPARATED_MODULES a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ddb59f84fd47
branches:  trunk
changeset: 567720:ddb59f84fd47
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Nov 24 04:23:19 2009 +0000

description:
* Use SEPARATED_MODULES as separated modules which should be remove
  translation files before install.

* Fix PLIST.uk.

Bump PKGREVISION.

diffstat:

 www/typolight27-translations/Makefile |  10 +++++++---
 www/typolight27-translations/PLIST.uk |   3 +--
 2 files changed, 8 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r 24d068840346 -r ddb59f84fd47 www/typolight27-translations/Makefile
--- a/www/typolight27-translations/Makefile     Tue Nov 24 01:08:06 2009 +0000
+++ b/www/typolight27-translations/Makefile     Tue Nov 24 04:23:19 2009 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.33 2009/11/22 16:18:00 taca Exp $
+# $NetBSD: Makefile,v 1.34 2009/11/24 04:23:19 taca Exp $
 #
 
 DISTNAME=      typolight${TL_VER}-translations-${VERS}
+PKGREVISION=   1
 CATEGORIES=    www
 MASTER_SITES=  # defined for each distfiles
 DISTFILES=     ${TL_DISTFILES}
@@ -22,12 +23,15 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+SEPARATED_MODULES=     development pun_bridge
+
 .include "options.mk"
 
 pre-install:
        ${FIND} ${WRKSRC} -name "*.orig*" -exec ${RM} -f {} \;
-       cd ${WRKSRC}; \
-               ${RM} -fr system/modules/development system/modules/pun_bridge
+.for d in ${SEPARATED_MODULES}
+       ${RM} -fr ${WRKSRC}/system/modules/${d}
+.endfor
 
 do-install:
        cd ${WRKSRC}; pax -rw . ${DESTDIR}${PREFIX}/${TL_WEBDIR}
diff -r 24d068840346 -r ddb59f84fd47 www/typolight27-translations/PLIST.uk
--- a/www/typolight27-translations/PLIST.uk     Tue Nov 24 01:08:06 2009 +0000
+++ b/www/typolight27-translations/PLIST.uk     Tue Nov 24 04:23:19 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.uk,v 1.6 2009/11/22 07:58:43 taca Exp $
+@comment $NetBSD: PLIST.uk,v 1.7 2009/11/24 04:23:19 taca Exp $
 ${TL_WEBDIR}/system/modules/backend/languages/uk/.htaccess
 ${TL_WEBDIR}/system/modules/backend/languages/uk/countries.php
 ${TL_WEBDIR}/system/modules/backend/languages/uk/default.php
@@ -56,7 +56,6 @@
 ${TL_WEBDIR}/system/modules/glossary/languages/uk/tl_glossary_term.php
 ${TL_WEBDIR}/system/modules/glossary/languages/uk/tl_module.php
 ${TL_WEBDIR}/system/modules/listing/languages/uk/.htaccess
-${TL_WEBDIR}/system/modules/listing/languages/uk/default.php
 ${TL_WEBDIR}/system/modules/listing/languages/uk/modules.php
 ${TL_WEBDIR}/system/modules/listing/languages/uk/tl_module.php
 ${TL_WEBDIR}/system/modules/memberlist/languages/uk/.htaccess



Home | Main Index | Thread Index | Old Index