2011-06-18 01:23:20 +02:00
|
|
|
# New ports collection makefile for: hyphen
|
|
|
|
# Date created: 2011-06-18
|
|
|
|
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= hyphen
|
|
|
|
PORTVERSION= 2.7.1
|
2011-07-20 17:21:11 +02:00
|
|
|
PORTREVISION= 1
|
2011-06-18 01:23:20 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= SF/hunspell/Hyphen/2.7/
|
|
|
|
|
2011-07-22 07:30:11 +02:00
|
|
|
MAINTAINER= office@FreeBSD.org
|
2011-06-18 01:23:20 +02:00
|
|
|
COMMENT= Library for high quality hyphenation and justification
|
|
|
|
|
|
|
|
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
|
|
|
|
|
|
|
|
USE_GNOME= gnomehack
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_PERL5_BUILD= yes
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2011-07-20 17:21:11 +02:00
|
|
|
USALIASES= en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK \
|
|
|
|
en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW
|
|
|
|
|
|
|
|
.for ALIAS in ${USALIASES}
|
|
|
|
PLIST_FILES+= share/hyphen/hyph_${ALIAS}.dic
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@cd ${DATADIR}; \
|
|
|
|
for alias in ${USALIASES}; do \
|
|
|
|
${LN} -s hyph_en_US.dic hyph_$${alias}.dic ; \
|
|
|
|
done
|
|
|
|
|
2011-06-18 01:23:20 +02:00
|
|
|
.include <bsd.port.mk>
|