db13a38472
* pkgsrc change: remove PLIST.common_end which isn't needed any more. * Add Belarusian(be), Catalan(ca), Indonesian(id), Dutch(nl), Turkish(tr) and Ukrainian(uk). * Update Danish(da), Greek(el), Spanish(es), Brazilian Portuguese(pt-br), Russian(ru) and Swedish(sv)
41 lines
953 B
Makefile
41 lines
953 B
Makefile
# $NetBSD: Makefile,v 1.11 2009/07/01 01:36:45 taca Exp $
|
|
#
|
|
|
|
DISTNAME= drupal6-translations-20090621
|
|
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
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
#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
|
|
cd ${WRKSRC}; ${RM} -fr drupal google_groups
|
|
|
|
do-install:
|
|
cd ${WRKSRC}; pax -rw . ${DESTDIR}${PREFIX}/${DRUPAL_BASE}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|