openbsd-ports/textproc/aspell/core/Makefile
ajacoutot 0930a718a4 - revert previous s/pthread/lpthread and keep linking with -lpthread for
now until I have time to fix the breakage induced on dependent ports

issue reported by matthieu@ and Aaron Stellman
2008-11-01 19:19:29 +00:00

57 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.21 2008/11/01 19:19:29 ajacoutot Exp $
COMMENT= spell checker designed to eventually replace Ispell
DISTNAME= aspell-0.60.6
PKGNAME= ${DISTNAME}p2
SHARED_LIBS += aspell 17.0 # .16.4
SHARED_LIBS += pspell 17.0 # .16.4
DIST_SUBDIR= aspell
CATEGORIES= textproc
DIST_EN= aspell6-en-6.0-0
MASTER_SITES0= ${MASTER_SITE_GNU:=aspell/}
MASTER_SITES1= ${MASTER_SITE_GNU:=aspell/dict/en/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:0 \
${DIST_EN}.tar.bz2:1
HOMEPAGE= http://aspell.net/
MAINTAINER= Jolan Luff <jolan@openbsd.org>
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m ncurses pthread stdc++
MODULES= devel/gettext
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--enable-static \
--enable-dict-dir=${PREFIX}/share/aspell
post-build:
cd ${WRKDIR}/${DIST_EN} && \
cp ${WRKSRC}/data/* . && \
./configure --vars \
ASPELL=${WRKBUILD}/aspell \
ASPELL_FLAGS="--local-data-dir=${WRKDIR}/${DIST_EN}" \
PREZIP=${WRKBUILD}/prezip-bin && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS}
post-install:
cd ${WRKDIR}/${DIST_EN} && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} \
dictdir=${PREFIX}/share/aspell \
datadir=${PREFIX}/lib/aspell \
${INSTALL_TARGET}
.include <bsd.port.mk>