diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-06-01 11:43:40 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-06-01 11:43:40 +0800 |
commit | f0ba73740da2297a58999d50e51f3d8fbcc2e4f0 (patch) | |
tree | ad0b547079420359ee6f26264da67a2f5672e690 /x11 | |
parent | 1730dc4df6806d25ccbe9c945fe29efb037faa5a (diff) | |
download | marcuscom-ports-f0ba73740da2297a58999d50e51f3d8fbcc2e4f0.tar.gz marcuscom-ports-f0ba73740da2297a58999d50e51f3d8fbcc2e4f0.tar.zst marcuscom-ports-f0ba73740da2297a58999d50e51f3d8fbcc2e4f0.zip |
Add NOPORTDOCS knob.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2338 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libgnome/Makefile | 7 | ||||
-rw-r--r-- | x11/libgnome/pkg-plist | 54 |
2 files changed, 34 insertions, 27 deletions
diff --git a/x11/libgnome/Makefile b/x11/libgnome/Makefile index e12af09eb..14a8d9701 100644 --- a/x11/libgnome/Makefile +++ b/x11/libgnome/Makefile @@ -20,6 +20,7 @@ RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper USE_BZIP2= yes USE_X_PREFIX= yes +USE_REINPLACE= yes USE_XPM= yes USE_GMAKE= yes USE_GNOME= gnomeprefix gnomehack lthack gnomehier intlhack esound \ @@ -30,4 +31,10 @@ USE_LIBTOOL_VER=13 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" +.if defined(NOPORTDOCS) +post-patch: + @${REINPLACE_CMD} -e 's|gnome-data po doc|gnome-data po|g' \ + ${WRKSRC}/Makefile.in +.endif + .include <bsd.port.mk> diff --git a/x11/libgnome/pkg-plist b/x11/libgnome/pkg-plist index b4aa2ecb4..94e4ae102 100644 --- a/x11/libgnome/pkg-plist +++ b/x11/libgnome/pkg-plist @@ -78,32 +78,32 @@ lib/libgnome-2.so lib/libgnome-2.so.701 libdata/bonobo/servers/GNOME_Moniker_std.server libdata/pkgconfig/libgnome-2.0.pc -%%DOCSDIR%%/ch01s02.html -%%DOCSDIR%%/ch01s03.html -%%DOCSDIR%%/ch01s04.html -%%DOCSDIR%%/ch01s05.html -%%DOCSDIR%%/home.png -%%DOCSDIR%%/index.html -%%DOCSDIR%%/index.sgml -%%DOCSDIR%%/left.png -%%DOCSDIR%%/libgnome-gnome-config.html -%%DOCSDIR%%/libgnome-gnome-exec.html -%%DOCSDIR%%/libgnome-gnome-gconf.html -%%DOCSDIR%%/libgnome-gnome-help.html -%%DOCSDIR%%/libgnome-gnome-i18n.html -%%DOCSDIR%%/libgnome-gnome-init.html -%%DOCSDIR%%/libgnome-gnome-program.html -%%DOCSDIR%%/libgnome-gnome-score.html -%%DOCSDIR%%/libgnome-gnome-sound.html -%%DOCSDIR%%/libgnome-gnome-triggers.html -%%DOCSDIR%%/libgnome-gnome-url.html -%%DOCSDIR%%/libgnome-gnome-util.html -%%DOCSDIR%%/libgnome-libgnometypebuiltins.html -%%DOCSDIR%%/libgnome.devhelp -%%DOCSDIR%%/libgnome.html -%%DOCSDIR%%/right.png -%%DOCSDIR%%/style.css -%%DOCSDIR%%/up.png +%%PORTDOCS%%%%DOCSDIR%%/ch01s02.html +%%PORTDOCS%%%%DOCSDIR%%/ch01s03.html +%%PORTDOCS%%%%DOCSDIR%%/ch01s04.html +%%PORTDOCS%%%%DOCSDIR%%/ch01s05.html +%%PORTDOCS%%%%DOCSDIR%%/home.png +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/index.sgml +%%PORTDOCS%%%%DOCSDIR%%/left.png +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-config.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-exec.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-gconf.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-help.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-i18n.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-init.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-program.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-score.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-sound.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-triggers.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-url.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-gnome-util.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome-libgnometypebuiltins.html +%%PORTDOCS%%%%DOCSDIR%%/libgnome.devhelp +%%PORTDOCS%%%%DOCSDIR%%/libgnome.html +%%PORTDOCS%%%%DOCSDIR%%/right.png +%%PORTDOCS%%%%DOCSDIR%%/style.css +%%PORTDOCS%%%%DOCSDIR%%/up.png share/locale/am/LC_MESSAGES/libgnome-2.0.mo share/locale/ar/LC_MESSAGES/libgnome-2.0.mo share/locale/az/LC_MESSAGES/libgnome-2.0.mo @@ -168,7 +168,7 @@ share/locale/wa/LC_MESSAGES/libgnome-2.0.mo share/locale/yi/LC_MESSAGES/libgnome-2.0.mo share/locale/zh_CN/LC_MESSAGES/libgnome-2.0.mo share/locale/zh_TW/LC_MESSAGES/libgnome-2.0.mo -@dirrm %%DOCSDIR%% +%%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm include/libgnome-2.0/libgnome @dirrm include/libgnome-2.0 @dirrm etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/typing_break |