diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-01 03:01:23 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-05-01 03:01:23 +0800 |
commit | b72a1068c33f8d3f2c84c7568268422614f273a2 (patch) | |
tree | 7d258aeac2a35753a96ba92df4e41d2c327900a2 /x11/gnome-screensaver/Makefile | |
parent | f103b63ea9122459c5f7184727f286936e2db500 (diff) | |
download | marcuscom-ports-b72a1068c33f8d3f2c84c7568268422614f273a2.tar marcuscom-ports-b72a1068c33f8d3f2c84c7568268422614f273a2.tar.gz marcuscom-ports-b72a1068c33f8d3f2c84c7568268422614f273a2.tar.bz2 marcuscom-ports-b72a1068c33f8d3f2c84c7568268422614f273a2.tar.lz marcuscom-ports-b72a1068c33f8d3f2c84c7568268422614f273a2.tar.xz marcuscom-ports-b72a1068c33f8d3f2c84c7568268422614f273a2.tar.zst marcuscom-ports-b72a1068c33f8d3f2c84c7568268422614f273a2.zip |
- Argh, I totally missed post-install.. it's what creates the .desktop files,
not gnome-screensaver.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6181 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-screensaver/Makefile')
-rw-r--r-- | x11/gnome-screensaver/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile index 428e0939a..f243a34c2 100644 --- a/x11/gnome-screensaver/Makefile +++ b/x11/gnome-screensaver/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/gnome-screensaver/Makefile,v 1.38 2006/04/30 06:01:15 ahze Exp $ +# $MCom: ports/x11/gnome-screensaver/Makefile,v 1.39 2006/04/30 18:51:04 ahze Exp $ # PORTNAME= gnome-screensaver PORTVERSION= 2.15.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} @@ -44,6 +44,15 @@ XSCREENSAVER_DIR= ${X11BASE}/share/xscreensaver/config BROKEN= Does not build on 4.X .endif +pre-install: + @${CP} ${.CURDIR}/pkg-plist ${PLIST} + @cd ${XSCREENSAVER_DIR} && ${FIND} -s * -maxdepth 1 -type f -name "*.xml" | \ + ${SED} -e 's:^:share/gnome/gnome-screensaver/themes/xscreensaver/:' | \ + ${SED} -e 's:[.]xml$$:.desktop:' >> ${PLIST} + @${ECHO_CMD} @dirrm share/gnome/gnome-screensaver/themes/xscreensaver >> ${PLIST} + @${ECHO_CMD} @dirrm share/gnome/gnome-screensaver/themes >> ${PLIST} + @${ECHO_CMD} @dirrm share/gnome/gnome-screensaver >> ${PLIST} + post-patch: @${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g' \ ${WRKSRC}/configure |