aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-05-18 01:23:35 +0800
committerjylefort <jylefort@FreeBSD.org>2005-05-18 01:23:35 +0800
commit56503537ec11e40a3909ed6b9ad2bb43b7a502a4 (patch)
tree6c4e649948f19c73d3383c33f62fd248dd8193a8 /x11
parent2a28a0f1d9adc608188672404483dfbacc4abd40 (diff)
downloadfreebsd-ports-gnome-56503537ec11e40a3909ed6b9ad2bb43b7a502a4.tar.gz
freebsd-ports-gnome-56503537ec11e40a3909ed6b9ad2bb43b7a502a4.tar.zst
freebsd-ports-gnome-56503537ec11e40a3909ed6b9ad2bb43b7a502a4.zip
- Fix the packing list when NOPORTDOCS is defined [1]
- Use SUB_FILES=pkg-deinstall PR: ports/81156 [1] Submitted by: Björn König <bkoenig@cs.tu-berlin.de> [1]
Diffstat (limited to 'x11')
-rw-r--r--x11/libgnome/Makefile4
-rw-r--r--x11/libgnome/files/pkg-deinstall.in (renamed from x11/libgnome/pkg-deinstall.in)0
-rw-r--r--x11/libgnome/pkg-plist54
3 files changed, 28 insertions, 30 deletions
diff --git a/x11/libgnome/Makefile b/x11/libgnome/Makefile
index 8f756754b087..11a5da3b4203 100644
--- a/x11/libgnome/Makefile
+++ b/x11/libgnome/Makefile
@@ -32,7 +32,7 @@ USE_LIBTOOL_VER=15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
+SUB_FILES= pkg-deinstall
GCONF_SCHEMAS= desktop_gnome_accessibility_keyboard.schemas \
desktop_gnome_accessibility_startup.schemas \
@@ -49,8 +49,6 @@ GCONF_SCHEMAS= desktop_gnome_accessibility_keyboard.schemas \
desktop_gnome_typing_break.schemas
post-patch:
- @${SED} -e 's|%%X11BASE%%|${X11BASE}|g' \
- < ${MASTERDIR}/pkg-deinstall.in > ${PKGDEINSTALL}
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/libgnome/libgnome-2.0.pc.in
.if defined(NOPORTDOCS)
diff --git a/x11/libgnome/pkg-deinstall.in b/x11/libgnome/files/pkg-deinstall.in
index 0ac463865c7f..0ac463865c7f 100644
--- a/x11/libgnome/pkg-deinstall.in
+++ b/x11/libgnome/files/pkg-deinstall.in
diff --git a/x11/libgnome/pkg-plist b/x11/libgnome/pkg-plist
index 6a186eaadcac..a577d91cd99d 100644
--- a/x11/libgnome/pkg-plist
+++ b/x11/libgnome/pkg-plist
@@ -22,32 +22,32 @@ lib/libgnome-2.so
lib/libgnome-2.so.1000
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
@@ -117,4 +117,4 @@ share/locale/zh_CN/LC_MESSAGES/libgnome-2.0.mo
share/locale/zh_TW/LC_MESSAGES/libgnome-2.0.mo
@dirrm include/libgnome-2.0/libgnome
@dirrm include/libgnome-2.0
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%