1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Update MASTER_SITES

- Pet portlint: do not use pkg-plist with PLIST_*
- Cosmetic change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2011-07-29 13:08:08 +00:00
parent f33b824e4d
commit a600d4522c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=278526
2 changed files with 14 additions and 16 deletions

View File

@ -9,30 +9,36 @@ PORTNAME= hyphen
PORTVERSION= 2.7.1
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/hunspell/Hyphen/2.7/
MASTER_SITES= SF/hunspell/Hyphen/${PORTVERSION:R}/
MAINTAINER= office@FreeBSD.org
COMMENT= Library for high quality hyphenation and justification
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
GNU_CONFIGURE= yes
USE_GNOME= gnomehack
USE_LDCONFIG= yes
USE_PERL5_BUILD= yes
GNU_CONFIGURE= yes
PLIST_FILES= bin/substrings.pl \
include/hyphen.h \
lib/libhyphen.a \
lib/libhyphen.la \
lib/libhyphen.so \
lib/libhyphen.so.2 \
%%DATADIR%%/hyph_en_US.dic
PLIST_DIRSTRY= %%DATADIR%%
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
PLIST_FILES+= %%DATADIR%%/hyph_${ALIAS}.dic
.endfor
post-install:
@cd ${DATADIR}; \
for alias in ${USALIASES}; do \
${LN} -s hyph_en_US.dic hyph_$${alias}.dic ; \
done
.for ALIAS in ${USALIASES}
${LN} -s hyph_en_US.dic ${DATADIR}/hyph_${ALIAS}.dic
.endfor
.include <bsd.port.mk>

View File

@ -1,8 +0,0 @@
bin/substrings.pl
lib/libhyphen.so.2
lib/libhyphen.so
lib/libhyphen.la
lib/libhyphen.a
include/hyphen.h
%%DATADIR%%/hyph_en_US.dic
@dirrmtry %%DATADIR%%