diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-05-11 11:51:11 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-05-11 11:51:11 +0800 |
commit | 02b0671037573d40cde449f14ef09fa964698e18 (patch) | |
tree | 1cc2109b9d5bb64aae255c86db114653cb3e04fc /textproc | |
parent | 500a4fbbaa6218f7f4a006b2e52b619f4438c8f7 (diff) | |
download | freebsd-ports-gnome-02b0671037573d40cde449f14ef09fa964698e18.tar.gz freebsd-ports-gnome-02b0671037573d40cde449f14ef09fa964698e18.tar.zst freebsd-ports-gnome-02b0671037573d40cde449f14ef09fa964698e18.zip |
Move the gtkspell2 programming reference to the gtkspell2-reference port.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/gtkspell-reference/Makefile | 5 | ||||
-rw-r--r-- | textproc/gtkspell/Makefile | 14 | ||||
-rw-r--r-- | textproc/gtkspell/pkg-plist | 8 | ||||
-rw-r--r-- | textproc/gtkspell2-reference/Makefile | 5 | ||||
-rw-r--r-- | textproc/gtkspell2/Makefile | 14 | ||||
-rw-r--r-- | textproc/gtkspell2/pkg-plist | 8 |
7 files changed, 33 insertions, 22 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index e88c08784ec2..634e7dd3d363 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -154,6 +154,7 @@ SUBDIR += gtk-doc SUBDIR += gtkdiff SUBDIR += gtkspell2 + SUBDIR += gtkspell2-reference SUBDIR += gu-aspell SUBDIR += gutenmark SUBDIR += gv-aspell diff --git a/textproc/gtkspell-reference/Makefile b/textproc/gtkspell-reference/Makefile new file mode 100644 index 000000000000..fe0035ece1de --- /dev/null +++ b/textproc/gtkspell-reference/Makefile @@ -0,0 +1,5 @@ +# $FreeBSD$ + +REFERENCE_SRC= ${WRKSRC}/docs + +.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk" 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 diff --git a/textproc/gtkspell2-reference/Makefile b/textproc/gtkspell2-reference/Makefile new file mode 100644 index 000000000000..fe0035ece1de --- /dev/null +++ b/textproc/gtkspell2-reference/Makefile @@ -0,0 +1,5 @@ +# $FreeBSD$ + +REFERENCE_SRC= ${WRKSRC}/docs + +.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk" diff --git a/textproc/gtkspell2/Makefile b/textproc/gtkspell2/Makefile index c126a90e0c82..ce93ce7559b6 100644 --- a/textproc/gtkspell2/Makefile +++ b/textproc/gtkspell2/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/gtkspell2/pkg-plist b/textproc/gtkspell2/pkg-plist index ae1202c56b5a..9670f1c00ad4 100644 --- a/textproc/gtkspell2/pkg-plist +++ b/textproc/gtkspell2/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 |