head	1.11;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.9;
locks; strict;
comment	@# @;


1.11
date	2012.11.17.05.57.59;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2012.06.28.02.17.14;	author sunpoet;	state Exp;
branches;
next	1.9;

1.9
date	2011.08.17.18.03.02;	author sunpoet;	state Exp;
branches;
next	1.8;

1.8
date	2011.08.12.19.17.04;	author sunpoet;	state Exp;
branches;
next	1.7;

1.7
date	2011.08.09.13.33.40;	author sunpoet;	state Exp;
branches;
next	1.6;

1.6
date	2011.08.01.21.58.24;	author bapt;	state Exp;
branches;
next	1.5;

1.5
date	2011.07.29.13.11.01;	author sunpoet;	state Exp;
branches;
next	1.4;

1.4
date	2011.07.28.07.12.00;	author sunpoet;	state Exp;
branches;
next	1.3;

1.3
date	2011.07.25.08.53.20;	author sunpoet;	state Exp;
branches;
next	1.2;

1.2
date	2011.07.22.05.30.02;	author bapt;	state Exp;
branches;
next	1.1;

1.1
date	2011.07.20.14.01.55;	author bapt;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Switch exporter over
@
text
@# New ports collection makefile for:	hunspell
# Date created:		2011-07-20
# Whom:			Baptiste Daroussin <bapt@@FreeBSD.org>
#
# $FreeBSD: head/german/hunspell/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	hunspell
PORTVERSION=	20120607
CATEGORIES=	german textproc
MASTER_SITES=	http://www.j3e.de/ispell/igerman98/dict/
DISTNAME=	igerman98-${PORTVERSION}
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	office@@FreeBSD.org
COMMENT=	German hunspell dictionaries

BUILD_DEPENDS=	buildhash:${PORTSDIR}/textproc/ispell \
		hunspell:${PORTSDIR}/textproc/hunspell

USE_BZIP2=	yes
ALL_TARGET=	hunspell-all
USE_GMAKE=	yes
USE_PERL5_BUILD=	yes

PLIST_FILES=	%%DATADIR%%/de_AT.aff \
		%%DATADIR%%/de_AT.dic \
		%%DATADIR%%/de_CH.aff \
		%%DATADIR%%/de_CH.dic \
		%%DATADIR%%/de_DE.aff \
		%%DATADIR%%/de_DE.dic
PLIST_DIRSTRY=	%%DATADIR%%

CHALIASES=	de_LI
DEALIASES=	de_BE de_LU
.for ALIAS in ${CHALIASES} ${DEALIASES}
PLIST_FILES+=	%%DATADIR%%/${ALIAS}.aff \
		%%DATADIR%%/${ALIAS}.dic
.endfor

do-install:
	${MKDIR} ${DATADIR}/
	${INSTALL_DATA} ${WRKSRC}/hunspell/de_AT.aff ${WRKSRC}/hunspell/de_AT.dic \
		${WRKSRC}/hunspell/de_CH.aff ${WRKSRC}/hunspell/de_CH.dic \
		${WRKSRC}/hunspell/de_DE.aff ${WRKSRC}/hunspell/de_DE.dic ${DATADIR}/
.for ALIAS in ${CHALIASES}
	${LN} -s de_CH.aff ${DATADIR}/${ALIAS}.aff
	${LN} -s de_CH.dic ${DATADIR}/${ALIAS}.dic
.endfor
.for ALIAS in ${DEALIASES}
	${LN} -s de_DE.aff ${DATADIR}/${ALIAS}.aff
	${LN} -s de_DE.dic ${DATADIR}/${ALIAS}.dic
.endfor

.include <bsd.port.mk>
@


1.10
log
@- Update to 20120607
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@- Set DIST_SUBDIR: move dist files to DISTDIR/hunspell
@
text
@d9 1
a9 2
PORTVERSION=	20110609
PORTREVISION=	1
@


1.8
log
@- Unify COMMENT and pkg-descr
- Set WRKSRC
- Fix typo
- Add trailing slash of WWW
@
text
@d14 1
@


1.7
log
@- Fix PLIST: explicitly list installing filenames
- Fix typo
@
text
@d16 1
a16 1
COMMENT=	Hunspell german dictionary
@


1.6
log
@Fix build

Reported by:	pointyhat (pav@@)
@
text
@d43 3
a45 1
	${INSTALL_DATA} ${WRKSRC}/hunspell/*.aff ${WRKSRC}/hunspell/*.dic ${DATADIR}/
@


1.5
log
@- Move language prefix to PKGNAMEPREFIX
- Use DATADIR
- Use PLIST_DIRSTRY for DATADIR
- Explicitly list installing filenames
- Bump PORTREVISION for PORTNAME and PLIST change
- Sort PLIST
- Cosmetic change
@
text
@d18 2
a19 1
BUILD_DEPENDS=	buildhash:${PORTSDIR}/textproc/ispell
@


1.4
log
@- Add perl as build dependency [1]
- Use PLIST_DIRSTRY for PREFIX/share/hunspell
- Bump PORTREVISION for PLIST change
- Cosmetic change

Reported by:	pointyhat [1]
@
text
@d25 7
a31 7
PLIST_FILES=	share/hunspell/de_AT.aff \
		share/hunspell/de_AT.dic \
		share/hunspell/de_CH.aff \
		share/hunspell/de_CH.dic \
		share/hunspell/de_DE.aff \
		share/hunspell/de_DE.dic
PLIST_DIRSTRY=	share/hunspell
d36 2
a37 2
PLIST_FILES+=	share/hunspell/${ALIAS}.aff \
		share/hunspell/${ALIAS}.dic
d41 2
a42 2
	${MKDIR} ${PREFIX}/share/hunspell/
	${INSTALL_DATA} ${WRKSRC}/hunspell/*.aff ${WRKSRC}/hunspell/*.dic ${PREFIX}/share/hunspell/
d44 2
a45 2
	${LN} -s de_CH.aff ${PREFIX}/share/hunspell/${ALIAS}.aff
	${LN} -s de_CH.dic ${PREFIX}/share/hunspell/${ALIAS}.dic
d48 2
a49 2
	${LN} -s de_DE.aff ${PREFIX}/share/hunspell/${ALIAS}.aff
	${LN} -s de_DE.dic ${PREFIX}/share/hunspell/${ALIAS}.dic
@


1.3
log
@- Fix typo
@
text
@d10 1
d21 1
a21 1
WRKSRC=		${WRKDIR}/igerman98-${PORTVERSION}
d23 1
d25 2
a26 4
ALL_TARGET=	hunspell-all

PLIST_FILES=	share/hunspell/de_DE.aff \
		share/hunspell/de_DE.dic \
d29 3
a31 3
		share/hunspell/de_AU.aff \
		share/hunspell/de_AU.dic
PLIST_DIRS=	share/hunspell
d33 1
d35 1
a35 3
CHALIASES=	de_LI

.for ALIAS in ${DEALIASES}
d39 4
d44 6
a49 2
PLIST_FILES+=	share/hunspell/${ALIAS}.aff \
		share/hunspell/${ALIAS}.dic
a51 15
do-install:
	@@${MKDIR} ${PREFIX}/share/hunspell
	@@${INSTALL_DATA} ${WRKSRC}/hunspell/*.aff \
		${WRKSRC}/hunspell/*.dic \
		${PREFIX}/share/hunspell/
	@@cd ${PREFIX}/share/hunspell; \
	for alias in ${DEALIASES}; do \
		${LN} -s de_DE.aff $${alias}.aff ; \
		${LN} -s de_DE.dic $${alias}.dic ; \
	done; \
	for alias in ${CHALIASES}; do \
		${LN} -s de_CH.aff $${alias}.aff ; \
		${LN} -s de_CH.dic $${alias}.dic ; \
	done;

@


1.2
log
@Pass matainership to the new office team
@
text
@d15 1
a15 1
COMMENT=	Hunspell german dictionnary
d20 1
a20 1
WRKSRC=	${WRKDIR}/igerman98-${PORTVERSION}
d46 13
a58 13
		@@${MKDIR} ${PREFIX}/share/hunspell
		@@${INSTALL_DATA} ${WRKSRC}/hunspell/*.aff \
			${WRKSRC}/hunspell/*.dic \
			${PREFIX}/share/hunspell/
		@@cd ${PREFIX}/share/hunspell; \
		for alias in ${DEALIASES}; do \
			${LN} -s de_DE.aff $${alias}.aff ; \
			${LN} -s de_DE.dic $${alias}.dic ; \
		done; \
		for alias in ${CHALIASES}; do \
			${LN} -s de_CH.aff $${alias}.aff ; \
			${LN} -s de_CH.dic $${alias}.dic ; \
		done;
@


1.1
log
@Add german hunspell dictionnaries
@
text
@d14 1
a14 1
MAINTAINER=	bapt@@FreeBSD.org
@

