openbsd-ports/editors/openoffice3-dicts/Makefile
2010-05-20 12:51:41 +00:00

56 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.6 2010/05/20 12:51:41 robert Exp $
PKG_ARCH= *
V= 0.1
NAME= openoffice3-dicts
PKGNAME= ${NAME}-${V}
CATEGORIES= editors
HOMEPAGE= http://extensions.services.openoffice.org/dictionary
MAINTAINER= Robert Nagy <robert@openbsd.org>
# opensource/notspecified
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://blade2k.humppa.hu/openoffice3-dicts/
LANGUAGES= ar_AR de_DE en_GB en_US fa_FA fr_FR hu_HU nl_NL \
pl_PL ru_RU sl_SL
EXTRACT_CASES= *.oxt) break;;
RUN_DEPENDS= :openoffice->=3:editors/openoffice3
DIST_SUBDIR= ${NAME}-${V}
NO_EXTRACT= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
# define one language for the main package
SUBPACKAGE?= -en_GB
.for i in ${LANGUAGES}
MULTI_PACKAGES+=-$i
DISTFILES+= $i.oxt
PKGNAME-$i= ${NAME}-$i-${V}p1
COMMENT-$i= $i dictionary for OpenOffice.Org 3
.endfor
PKGNAME-en_GB= ${NAME}-en_GB-${V}p1
# use the same for all subpackages
MESSAGE= ${PKGDIR}/MESSAGE
do-install:
.for i in ${LANGUAGES}
${INSTALL_DATA_DIR} ${PREFIX}/openoffice.org3/share/extension/install/
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$i.oxt ${PREFIX}/openoffice.org3/share/extension/install/
.endfor
.include <bsd.port.mk>