pkgsrc/www/drupal6-translations/Makefile
taca 5d2abc01d8 Update drupal6-translations to 20080901.
* pkgsrc changes:

  Now intdoruce options framework to select translation files.
  (All languages are selected if no option specified.)

* 20080901 changes:

  - Enable gu (Gujarati language) support since 1.0 was released.
  - Update pt-br (Brazilian Portuguese) to 1.0-rc5.
2008-09-01 15:16:24 +00:00

39 lines
885 B
Makefile

# $NetBSD: Makefile,v 1.4 2008/09/01 15:16:24 taca Exp $
#
DISTNAME= drupal6-translations-20080901
CATEGORIES= www
MASTER_SITES= http://ftp.drupal.org/files/projects/
DISTFILES= ${DL_DISTFILES}
DIST_SUBDIR= drupal6-${STAMP}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://drupal.org/project/Translations
COMMENT= Langate translation files for drupal 6.x
DEPENDS+= drupal>=6.3:../../www/drupal6
#
# update STAMP when any distfile's content changed without its filename.
STAMP= 20080816
USE_TOOLS+= pax
NO_CONFIGURE= yes
NO_BUILD= yes
EXTRACT_DIR= ${WRKSRC}
WRKSRC= ${WRKDIR}/drupal
PKG_DESTDIR_SUPPORT= user-destdir
PLIST_SUBST+= DRUPAL_BASE=${DRUPAL_BASE:Q}
.include "options.mk"
DRUPAL_BASE?= share/drupal
pre-install:
cd ${WRKSRC}; ${CHMOD} ${NONBINMODE} *.txt
do-install:
cd ${WRKSRC}; pax -rw . ${DESTDIR}${PREFIX}/${DRUPAL_BASE}
.include "../../mk/bsd.pkg.mk"