aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-06-13 06:46:37 +0800
committerpawel <pawel@FreeBSD.org>2014-06-13 06:46:37 +0800
commit91c126009b30db1963e14818fc458303f013d4c2 (patch)
tree0d8da4ed5fa2f187a126f5749a98d183615ad349
parentdd31583d6308642c9d4ac3be5542bb40d9248d9c (diff)
downloadfreebsd-ports-gnome-91c126009b30db1963e14818fc458303f013d4c2.tar.gz
freebsd-ports-gnome-91c126009b30db1963e14818fc458303f013d4c2.tar.zst
freebsd-ports-gnome-91c126009b30db1963e14818fc458303f013d4c2.zip
Add staging support
-rw-r--r--misc/gnome-osd/Makefile15
-rw-r--r--misc/gnome-osd/pkg-plist3
2 files changed, 4 insertions, 14 deletions
diff --git a/misc/gnome-osd/Makefile b/misc/gnome-osd/Makefile
index a127d67e7bf7..12ccd6568e99 100644
--- a/misc/gnome-osd/Makefile
+++ b/misc/gnome-osd/Makefile
@@ -18,23 +18,14 @@ GNU_CONFIGURE= yes
GCONF_SCHEMAS= gnome-osd.schemas
-MAN1= gnome-osd-client.1
-
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
-.for file in AUTHORS NEWS README
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS NEWS README \
+ ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
diff --git a/misc/gnome-osd/pkg-plist b/misc/gnome-osd/pkg-plist
index e3cdd00c6a3b..ca79e2a071c4 100644
--- a/misc/gnome-osd/pkg-plist
+++ b/misc/gnome-osd/pkg-plist
@@ -37,6 +37,7 @@ etc/xdg/autostart/gnome-osd-event-bridge.desktop
%%PYTHON_SITELIBDIR%%/gnomeosd/xscreensaver.pyo
libdata/bonobo/servers/GNOME_OSD.server
libexec/gnome-osd-server
+man/man1/gnome-osd-client.1.gz
share/applications/gnome-osd-properties.desktop
share/dbus-1/services/pt.inescporto.telecom.GnomeOSD.EventBridge.service
share/dbus-1/services/pt.inescporto.telecom.GnomeOSD.service
@@ -63,6 +64,4 @@ share/locale/zh_CN/LC_MESSAGES/gnome-osd.mo
share/pixmaps/gnome-osd.png
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%
-@dirrmtry share/dbus-1/services
-@dirrmtry share/dbus-1
@dirrm %%PYTHON_SITELIBDIR%%/gnomeosd