aboutsummaryrefslogtreecommitdiff
path: root/textproc/gtkspell/Makefile
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-11 03:51:11 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-11 03:51:11 +0000
commitacc7ca62eed126bd9e2c8b58bbffeb88c87ee8e1 (patch)
treebc067dde9cd2fc377bdc8d2dbdd74a6742d51655 /textproc/gtkspell/Makefile
parent4fe68db297c1601a852b9c5a8f63f5fa76eed446 (diff)
downloadports-acc7ca62eed126bd9e2c8b58bbffeb88c87ee8e1.tar.gz
ports-acc7ca62eed126bd9e2c8b58bbffeb88c87ee8e1.zip
Notes
Diffstat (limited to 'textproc/gtkspell/Makefile')
-rw-r--r--textproc/gtkspell/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/textproc/gtkspell/Makefile b/textproc/gtkspell/Makefile
index c126a90e0c82..ce93ce7559b6 100644
--- a/textproc/gtkspell/Makefile
+++ b/textproc/gtkspell/Makefile
@@ -7,7 +7,6 @@
PORTNAME= gtkspell2
PORTVERSION= 2.0.11
-PORTREVISION= 2
CATEGORIES= textproc gnome
MASTER_SITES= http://gtkspell.sourceforge.net/download/
DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
@@ -15,9 +14,15 @@ DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= A GTK+ 2 spell checking component
+PREFIX?= ${X11BASE}
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 3
+
LIB_DEPENDS= pspell.16:${PORTSDIR}/textproc/aspell
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_PERL5= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gtk20
@@ -27,6 +32,9 @@ INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/2$//}
+post-patch:
+ @${REINPLACE_CMD} -e '/^SUBDIRS/ s|docs||' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>
+
+.endif