freebsd-ports/textproc/aspell/Makefile.inc
Thierry Thomas 74f1a45911 Really normalize Aspell dictionaries ports PKGVERSION...
textproc/aspell/Makefile.inc had been forgotten in the previous commit.

PR:		ports/106573
Submitted by:	Marcin Wisnicki <mwisnicki+freebsd (at) gmail.com>
Reported by:	Michel TALON <talon (at) lpthe.jussieu.fr>
Pointyhat to:	/me
2007-02-14 23:11:55 +00:00

24 lines
659 B
Makefile

# $FreeBSD$
# To be included by dictionaries ports.
MASTER_SITES?= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR?= aspell/dict/${DICT}
DISTNAME?= aspell${DISTVERSION}
PORTVERSION?= ${DISTVERSION:L:C/cvs/0_/:C/pt_../p/:C/[0-9]?-?[a-z]+-//g:C/([0-9])([a-z])/\1.\2/g:C/:(.)/\1/g:C/[^a-z0-9+]+/./g}
.if ${PORTNAME} == "en-aspell" || defined(WITHOUT_DICTEN)
LIB_DEPENDS= aspell:${PORTSDIR}/textproc/aspell-without-dicten
.else
LIB_DEPENDS= aspell:${PORTSDIR}/textproc/aspell
.endif
USE_BZIP2= yes
USE_GMAKE= yes
HAS_CONFIGURE= yes
PLIST_SUB= VER=${VER}
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/etc/aspell.ver)
. include "${LOCALBASE}/etc/aspell.ver"
.endif