diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-07-29 21:08:08 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-07-29 21:08:08 +0800 |
commit | 3bc9ecccbd8279e4254d8eade21cc1a1837decfb (patch) | |
tree | 900d31f3b59f9afa886f58df96b70c9769290c16 /textproc | |
parent | 29b96cbff450db224f993aea577e37c2d98b548f (diff) | |
download | freebsd-ports-gnome-3bc9ecccbd8279e4254d8eade21cc1a1837decfb.tar.gz freebsd-ports-gnome-3bc9ecccbd8279e4254d8eade21cc1a1837decfb.tar.zst freebsd-ports-gnome-3bc9ecccbd8279e4254d8eade21cc1a1837decfb.zip |
- Update MASTER_SITES
- Pet portlint: do not use pkg-plist with PLIST_*
- Cosmetic change
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/hyphen/Makefile | 22 | ||||
-rw-r--r-- | textproc/hyphen/pkg-plist | 8 |
2 files changed, 14 insertions, 16 deletions
diff --git a/textproc/hyphen/Makefile b/textproc/hyphen/Makefile index 9895a1c39dfa..896843449908 100644 --- a/textproc/hyphen/Makefile +++ b/textproc/hyphen/Makefile @@ -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> diff --git a/textproc/hyphen/pkg-plist b/textproc/hyphen/pkg-plist deleted file mode 100644 index acbacecd3726..000000000000 --- a/textproc/hyphen/pkg-plist +++ /dev/null @@ -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%% |