# New ports collection makefile for:	pspell
# Date created:				13th June 2000
# Whom:					Ade Lovett <ade@FreeBSD.org>
#
# $FreeBSD: ports/textproc/pspell/Makefile,v 1.19 2001/10/30 01:41:23 petef Exp $
#

PORTNAME=	pspell
PORTVERSION=	0.12.2
PORTREVISION=	1
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	${PORTNAME}-${PORTVERSION:S/^0//}

MAINTAINER=	petef@FreeBSD.org

LIB_DEPENDS=	ltdl.1:${PORTSDIR}/devel/libtool

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--enable-doc-dir=${PREFIX}/share/doc/pspell
INSTALLS_SHLIB=	yes

post-build:
	@cd ${WRKSRC}/modules && ${SH} ./add-modules

post-install:
	@cd ${WRKSRC}/modules && ${SETENV} ${MAKE_ENV} ${MAKE} install

.include <bsd.port.mk>
