2002-08-19 20:08:57 +00:00
|
|
|
# New ports collection makefile for: gtkspell2
|
|
|
|
# Date created: 19 Aug 2002
|
|
|
|
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gtkspell2
|
2003-05-17 21:10:44 +00:00
|
|
|
PORTVERSION= 2.0.4
|
2002-08-19 20:08:57 +00:00
|
|
|
CATEGORIES= textproc gnome
|
|
|
|
MASTER_SITES= http://gtkspell.sourceforge.net/download/
|
|
|
|
DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A GTK+ 2 spell checking component
|
2002-08-19 20:08:57 +00:00
|
|
|
|
2003-04-22 04:46:36 +00:00
|
|
|
LIB_DEPENDS= pspell.15:${PORTSDIR}/textproc/aspell
|
2002-08-19 20:08:57 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_PERL5= yes
|
|
|
|
USE_GMAKE= yes
|
2003-04-22 04:46:36 +00:00
|
|
|
USE_GNOME= gnomeprefix gnomehack gtk20
|
2002-08-19 20:08:57 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-05-17 21:10:44 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2002-08-19 20:08:57 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|