1 |
# $MidnightBSD$ |
2 |
# $FreeBSD: head/textproc/hyphen/Makefile 370171 2014-10-06 13:45:10Z bapt $ |
3 |
|
4 |
PORTNAME= hyphen |
5 |
PORTVERSION= 2.8.8 |
6 |
CATEGORIES= textproc |
7 |
MASTER_SITES= SF/hunspell/Hyphen/${PORTVERSION:R}/ |
8 |
DIST_SUBDIR= ${PORTNAME} |
9 |
|
10 |
MAINTAINER= ports@MidnightBSD.org |
11 |
COMMENT= Library for high quality hyphenation and justification |
12 |
|
13 |
LICENSE= lgpl2.1 lgpl3 mpl |
14 |
LICENSE_COMB= dual |
15 |
|
16 |
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk |
17 |
|
18 |
CONFIGURE_ENV= ac_cv_prog_AWK=gawk |
19 |
GNU_CONFIGURE= yes |
20 |
USES= libtool pathfix perl5 shebangfix |
21 |
USE_LDCONFIG= yes |
22 |
SHEBANG_FILES= substrings.pl |
23 |
INSTALL_TARGET= install-strip |
24 |
|
25 |
PLIST_FILES= bin/substrings.pl \ |
26 |
include/hyphen.h \ |
27 |
lib/libhyphen.a \ |
28 |
lib/libhyphen.so \ |
29 |
lib/libhyphen.so.0 \ |
30 |
lib/libhyphen.so.0.3.0 \ |
31 |
%%DATADIR%%/hyph_en_US.dic |
32 |
|
33 |
USALIASES= en_AG en_AU en_BS en_BW en_BZ en_CA en_DK en_GB en_GH en_HK \ |
34 |
en_IE en_IN en_JM en_NA en_NZ en_PH en_SG en_TT en_ZA en_ZW |
35 |
|
36 |
.for ALIAS in ${USALIASES} |
37 |
PLIST_FILES+= %%DATADIR%%/hyph_${ALIAS}.dic |
38 |
.endfor |
39 |
|
40 |
post-install: |
41 |
.for ALIAS in ${USALIASES} |
42 |
${LN} -s hyph_en_US.dic ${STAGEDIR}${DATADIR}/hyph_${ALIAS}.dic |
43 |
.endfor |
44 |
|
45 |
.include <bsd.port.mk> |