pkgsrc/www/typolight27-translations/Makefile

43 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.42 2010/06/07 11:24:30 taca Exp $
#
DISTNAME= typolight${TL_VER}-translations-${VERS}
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= # defined for each distfiles
DISTFILES= ${TL_DISTFILES}
EXTRACT_DIR= ${WRKSRC}
MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www.contao.org/download.html
COMMENT= Language files for TYPOlight CMS
LICENSE= gnu-lgpl-v2.1
DEPENDS+= typolight${TL_VER}>=${TL_PKGVER}:../../www/typolight${TL_VER}
# Use time stamp of latest translation.
VERS= 20100131
USE_TOOLS= pax
NO_BUILD= yes
NO_CONFIGURE= yes
PKG_DESTDIR_SUPPORT= user-destdir
SEPARATED_MODULES= development pun_bridge
.include "options.mk"
pre-install:
${FIND} ${WRKSRC} -name "*.orig*" -exec ${RM} -f {} \;
.for d in ${SEPARATED_MODULES}
${RM} -fr ${WRKSRC}/system/modules/${d}
.endfor
${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \;
do-install:
cd ${WRKSRC}; pax -rw . ${DESTDIR}${PREFIX}/${TL_WEBDIR}
.include "../../www/typolight27/Makefile.version"
.include "../../www/typolight/Makefile.common"
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"