# New ports collection makefile for:	ja-openoffice-templates
# Date created:				2003/10/10
# Whom:					nork@FreeBSD.org
#
# $FreeBSD: ports/japanese/openoffice-templates/Makefile,v 1.24 2005/08/11 04:28:33 maho Exp $
#

PORTNAME=	templates
PORTVERSION=	${OPENOFFICE_VER}.20041007
PORTREVISION=	2
CATEGORIES=	japanese editors
MASTER_SITES=	http://ooosupport.good-day.net/
PKGNAMEPREFIX=	ja-openoffice-
DIST_SUBDIR?=	openoffice1.1
DISTNAME=	impress_${PORTNAME}

MAINTAINER=	openoffice@FreeBSD.org
COMMENT=	OpenOffice.org 1.1 Impress Templates

RUN_DEPENDS=	${LOCALBASE}/${OPENOFFICE}/program/soffice:${PORTSDIR}/editors/openoffice-1.1

BROKEN=		Install fails
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=2005-09-22

NO_BUILD=	yes
PLIST_FILES=	${OOTEMPLATES:S|^|${TEMPLATEDIR}/|}

OPENOFFICE=	OpenOffice.org${OPENOFFICE_VER}
OPENOFFICE_VER=	1.1.5
TEMPLATEDIR=	${OPENOFFICE}/share/template/japanese/layout

OOTEMPLATES=	\
		A4-kariert.sti			\
		Black-cyan-yellow.ja.sti	\
		Black-orange.ja.sti		\
		Blue-yellow-white.ja.sti	\
		BlueBoxes_ja_11.sti		\
		BlueSilver_ja_11.sti		\
		BlueWavesTempl-1_ja_11.sti	\
		Blue_Circles_ja_11.sti		\
		Blue_Lines.sti			\
		Butterflies.sti			\
		Candy.ja.sti			\
		Cheesy.ja.sti			\
		Cubes_1x_ja_11.sti		\
		DABlueChecker.sti		\
		DABlueCircle.sti		\
		DABlueCloud.sti			\
		DABlueStars.sti			\
		DABlueWhiteFlower.sti		\
		DALetters.sti			\
		DAMultiStars2.sti		\
		DAOrangeTexture.sti		\
		DAPinkCloud.sti			\
		DASnowFlacks.sti		\
		DASparkle.sti			\
		Foot-prints.ja.sti		\
		Foral-StudioA02.sti		\
		Foral-Studio_A01.sti		\
		Grad-blue.ja.sti		\
		Grad-blue_2.ja.sti		\
		Grad-blue_3.ja.sti		\
		Grad-cyan-black.ja.sti		\
		Grad-gray-blue.ja.sti		\
		Grad-lightblue.ja.sti		\
		Grad-lightblue_2.ja.sti		\
		Grad-mediumblue.ja.sti		\
		Grad-purple.ja.sti		\
		Gray-green.ja.sti		\
		Hatch_ja_11.sti			\
		Marble.ja.sti			\
		MarbleTempl-2_ja_11.sti		\
		Music.ja.sti			\
		Notepad_ja_11.sti		\
		OOo.sti				\
		OOo2.sti			\
		Ortra_ja_11.sti			\
		Pixels.ja.sti			\
		Roses.ja.sti			\
		Solar_ja_11.sti			\
		Sunburst_ja_11.sti		\
		White-blue.ja.sti		\
		White-blue_sky.ja.sti		\
		White-red.ja.sti		\
		White-red_2.ja.sti		\
		White-red_3.ja.sti		\
		With-year-2003.ja.sti		\
		With-year-2004.ja.sti		\
		With-year-2005.ja.sti		\
		With-years.ja.sti		\
		blue.sti			\
		bluesquares.sti			\
		coolblack.sti			\
		coolspace.sti			\
		earthlight.sti			\
		jp-temple.sti			\
		kamometemplate.sti		\
		karteikarte.sti			\
		lamp.sti			\
		landscape.sti			\
		lay_wood.sti			\
		mondo_cyan.sti			\
		mondo_green.sti			\
		mondo_yellow.sti		\
		ooo_blue.sti			\
		ooo_red.sti			\
		openblue.sti			\
		redStar.sti			\
		relief.sti			\
		sidepanel_blue.sti		\
		sidepanel_cloud.sti		\
		sidepanel_green.sti		\
		sidepanel_red.sti		\
		sun4.sti			\
		templatecopyright

do-install:
.for FILE in ${OOTEMPLATES}
	@${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/${TEMPLATEDIR}/${FILE}
.endfor

.include <bsd.port.mk>
