aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gtkspell
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2006-05-11 11:51:11 +0800
committerjylefort <jylefort@FreeBSD.org>2006-05-11 11:51:11 +0800
commit02b0671037573d40cde449f14ef09fa964698e18 (patch)
tree1cc2109b9d5bb64aae255c86db114653cb3e04fc /textproc/gtkspell
parent500a4fbbaa6218f7f4a006b2e52b619f4438c8f7 (diff)
downloadfreebsd-ports-graphics-02b0671037573d40cde449f14ef09fa964698e18.tar.gz
freebsd-ports-graphics-02b0671037573d40cde449f14ef09fa964698e18.tar.zst
freebsd-ports-graphics-02b0671037573d40cde449f14ef09fa964698e18.zip
Move the gtkspell2 programming reference to the gtkspell2-reference port.
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 c126a90e0c8..ce93ce7559b 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 ae1202c56b5..9670f1c00ad 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