openbsd-ports/www/drupal5/locale-de/Makefile

24 lines
658 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2008/02/16 16:46:59 espie Exp $
COMMENT = german translation
LANG = de
DISTNAME = ${LANG}-5.x-1.0
PKGNAME = drupal5-${LANG}-1.0
RUN_DEPENDS = ::www/drupal5/autolocale
KLUDGE = ${DRUPAL_MODS}/node
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/${DRUPAL_ROOT}/profiles/localized
${INSTALL_DATA} ${WRKDIST}/installer.po ${PREFIX}/${DRUPAL_ROOT}/profiles/localized/${LANG}.po
# XXX kludge to make this `appear' on first import
${INSTALL_DATA_DIR} ${PREFIX}/${KLUDGE}/po
${INSTALL_DATA} ${WRKDIST}/${LANG}.po ${PREFIX}/${KLUDGE}/po
chown -R www.www ${PREFIX}/${DRUPAL_ROOT}
SUBST_VARS += KLUDGE LANG
.include <bsd.port.mk>