blob: 82a0b89cadb27754e1ac90b97d52523d0d9c0bb7 (
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
42
43
|
# $NetBSD: Makefile,v 1.21 2012/10/01 15:38:32 taca Exp $
#
DISTNAME= contao${CT_VER}-translations-${VERS}
CATEGORIES= www
MASTER_SITES= # defined for each distfiles
DISTFILES= ${CT_DISTFILES}
EXTRACT_DIR= ${WRKSRC}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www.contao.org/download.html
COMMENT= Language files for Contao CMS
LICENSE= gnu-lgpl-v3
DEPENDS+= contao${CT_VER}>=${CT_PKGVER}:../../www/contao${CT_VER}
# Use time stamp of latest translation.
VERS= 201209250
CT_VERS= 211
USE_TOOLS= pax
NO_BUILD= yes
NO_CONFIGURE= yes
PLIST_SRC= ${WRKDIR}/PLIST
.include "options.mk"
pre-install:
${RM} -f ${WRKSRC}/system/modules/backend/languages/*/tl_task.php
${FIND} ${WRKSRC}/system/modules \
\( -name "*.orig*" -o -name tl_flash.php \) -exec ${RM} -f {} \;
${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \;
do-install:
cd ${WRKSRC}; pax -rw . ${DESTDIR}${PREFIX}/${CT_WEBDIR}
${SED} -e 1q PLIST.master > ${PLIST_SRC}
for lang in ${CT_LANGUAGES}; do \
${SED} -e 1d -e "s|@lang@|$${lang}|" PLIST.master; \
done | ${SORT} >> ${PLIST_SRC}
.include "../../www/contao/Makefile.common"
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"
|