aboutsummaryrefslogtreecommitdiff
path: root/textproc/gtkspell
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
parent4fe68db297c1601a852b9c5a8f63f5fa76eed446 (diff)
downloadports-acc7ca62eed126bd9e2c8b58bbffeb88c87ee8e1.tar.gz
ports-acc7ca62eed126bd9e2c8b58bbffeb88c87ee8e1.zip
Notes
Diffstat (limited to 'textproc/gtkspell')
-rw-r--r--textproc/gtkspell/Makefile14
-rw-r--r--textproc/gtkspell/pkg-plist8
2 files changed, 11 insertions, 11 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
diff --git a/textproc/gtkspell/pkg-plist b/textproc/gtkspell/pkg-plist
index ae1202c56b5a..9670f1c00ad4 100644
--- a/textproc/gtkspell/pkg-plist
+++ b/textproc/gtkspell/pkg-plist
@@ -4,13 +4,6 @@ lib/libgtkspell.la
lib/libgtkspell.so
lib/libgtkspell.so.0
libdata/pkgconfig/gtkspell-2.0.pc
-%%DOCSDIR%%/chapter-tutorial.html
-%%DOCSDIR%%/gtkspell-gtkspell.html
-%%DOCSDIR%%/index.html
-%%DOCSDIR%%/index.sgml
-%%DOCSDIR%%/reference.html
-%%DOCSDIR%%/tutorial-building.html
-%%DOCSDIR%%/tutorial.html
share/locale/be/LC_MESSAGES/gtkspell.mo
share/locale/de/LC_MESSAGES/gtkspell.mo
share/locale/el/LC_MESSAGES/gtkspell.mo
@@ -35,7 +28,6 @@ share/locale/vi/LC_MESSAGES/gtkspell.mo
share/locale/wa/LC_MESSAGES/gtkspell.mo
share/locale/zh_CN/LC_MESSAGES/gtkspell.mo
share/locale/zh_TW/LC_MESSAGES/gtkspell.mo
-@dirrm %%DOCSDIR%%
@dirrm include/gtkspell-2.0/gtkspell
@dirrm include/gtkspell-2.0
@dirrmtry share/locale/rm/LC_MESSAGES