41aa63fa0b
. lib (default, implicit); . build, . patch. The default is the same, all existing ports stay valid. 2. Introduce variable ICONV_CMD with default to ${LOCALBASE}/bin/iconv. It is intended to get the value of /usr/bin/iconv at recent 10.x. 3. Adopt all ports to using USES+= icomv:build and iconv:patch and change iconv (executable) at Makefile commands to ${ICONV_CMD} at those ports. Submitted by: bsam (me, via e-mail) Approved by: portmgr (bapt)
29 lines
646 B
Makefile
29 lines
646 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= hunspell
|
|
PORTVERSION= 1.6.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= ukrainian textproc
|
|
MASTER_SITES= SF/ispell-uk/spell-uk/${PORTVERSION}
|
|
DISTNAME= spell-uk-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
COMMENT= Ukrainian hunspell dictionaries
|
|
|
|
USES= iconv:build shebangfix perl5
|
|
ALL_TARGET= myspell
|
|
USE_GMAKE= yes
|
|
USE_PERL5= build
|
|
SHEBANG_FILES= bin/*.pl
|
|
|
|
PLIST_FILES= %%DATADIR%%/uk_UA.aff \
|
|
%%DATADIR%%/uk_UA.dic
|
|
PLIST_DIRSTRY= %%DATADIR%%
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}/
|
|
cd ${WRKSRC}/dist/my${DISTNAME}/ && ${INSTALL_DATA} uk_UA.aff uk_UA.dic ${DATADIR}/
|
|
|
|
.include <bsd.port.mk>
|