openbsd-ports/textproc/enchant/Makefile
2006-11-10 19:11:22 +00:00

46 lines
1.1 KiB
Makefile
Executable File

# $OpenBSD: Makefile,v 1.1.1.1 2006/11/10 19:11:22 ajacoutot Exp $
COMMENT= "generic spell checking library/wrapper"
DISTNAME= enchant-1.3.0
SHARED_LIBS += enchant 4.0 # .4.0
CATEGORIES= textproc
HOMEPAGE= http://www.abisource.com/projects/enchant/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.abisource.com/downloads/enchant/1.3.0/
WANTLIB= c m stdc++
LIB_DEPENDS= aspell.>=16::textproc/aspell/core \
glib-2.0,gmodule-2.0::devel/glib2
MODULES= devel/gettext
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= ac_cv_lib_aspell_new_aspell_config=yes
CONFIGURE_ARGS= --enable-aspell \
--with-aspell-prefix=${LOCALBASE} \
--enable-ispell \
--with-ispell-dir=${LOCALBASE}/lib/ispell/ \
--disable-myspell \
--disable-uspell \
--disable-hspell
pre-configure:
perl -pi -e 's,MKDIRPROG-mkdir,MKDIRPROG-mkdir -p,g' \
${WRKSRC}/install-sh
perl -pi -e 's,\$$\(datadir\),${LOCALBASE}/share,g' \
${WRKSRC}/doc/enchant.1
.include <bsd.port.mk>