# ports collection makefile for:        SiteBuilder locales
# Revision:                             06112310
# Version:                              3.0.2
# Date created:                         November, 7 2006
# Whom:                                 SWSoft, Inc <info@swsoft.com>
#
# $FreeBSD: ports/plesk/sitebuilder-locales/Makefile,v 1.1 2006/11/04 17:33:07 SWSoft Exp $
# $Id: Makefile.tmpl,v 1.4 2006/11/22 08:55:46 ksteuck Exp $
#

PORTNAME:= sitebuilder-locales
PORTVERSION:= 3.0.2
PORTREVISION=
CATEGORIES:= swsoft
MASTER_SITES?= http://autoinstall.plesk.com/SiteBuilder/SiteBuilder_${PORTVERSION}/dist-pkg-FreeBSD-${OSREL}-i386/distfiles/ \
               http://autoinstall.plesk.com/SiteBuilder_${PORTVERSION}/dist-pkg-FreeBSD-${OSREL}-i386/distfiles/

MAINTAINER:= admins@swsoft.com
COMMENT:= Sitebuilder locales package

SB_RELEASE:=06112310

LOCALES_SUFFIX_LIST:= es_ES fr_FR it_IT ja_JP pt_BR pt_PT ru_RU zh_CN zh_TW hu_HU
.for locale in $(LOCALES_SUFFIX_LIST)
  LOCALES+= $(locale)_language_pack.sh
.endfor


DISTFILES:= $(LOCALES)
#EXTRACT_ONLY=   yes# none

NO_EXTRACT=yes
NO_BUILD=yes
NO_SCRIPTS=yes

RUN_DEPENDS=    ${LOCALBASE}/sitebuilder/.version:${PORTSDIR}/swsoft/sitebuilder

NO_CONFIGURE= yes

do-install:
.for locale in $(DISTFILES)
	@sh ${DISTDIR}/$(locale)
.endfor
#@sh ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}

.include <plesk.install.mk>

