blob: 3b20d1570607328d959e6d644c25f11b492abe2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $NetBSD: Makefile,v 1.12 2009/09/29 13:47:03 taca Exp $
#
DISTNAME= drupal6-translations-20090926
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"
|