1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/textproc/hyphen/Makefile
Baptiste Daroussin ab7cfab5ab Stagify,
Strip binaries
Fix shebang
Turn perl into a run dep as well (needed for bin/substrings.pl)
Bump portrevision
2013-11-04 11:30:40 +00:00

46 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= hyphen
PORTVERSION= 2.8.6
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/hunspell/Hyphen/${PORTVERSION:R}/
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= office@FreeBSD.org
COMMENT= Library for high quality hyphenation and justification
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
GNU_CONFIGURE= yes
USES= pathfix perl5 shebangfix
USE_LDCONFIG= yes
SHEBANG_FILES= substrings.pl
CONFIGURE_ENV+= ac_cv_prog_AWK=gawk
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
CONFIGURE_ENV+= ac_cv_prog_AWK=gawk
.for ALIAS in ${USALIASES}
PLIST_FILES+= %%DATADIR%%/hyph_${ALIAS}.dic
.endfor
post-install:
.for ALIAS in ${USALIASES}
${LN} -s hyph_en_US.dic ${STAGEDIR}${DATADIR}/hyph_${ALIAS}.dic
.endfor
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libhyphen.so.2
.include <bsd.port.mk>