diff options
author | ahze <ahze@FreeBSD.org> | 2005-03-19 18:37:45 +0000 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2005-03-19 18:37:45 +0000 |
commit | 8c753926a7c7211a2ddee772f8fb28c7b79ed5b1 (patch) | |
tree | d2da8acd361047a950315a326288290bb02610db /deskutils/splashsetter/Makefile | |
parent | 0410318cd84a6899844c0409a6597c2e22954c93 (diff) | |
download | FreeBSD-ports-8c753926a7c7211a2ddee772f8fb28c7b79ed5b1.zip FreeBSD-ports-8c753926a7c7211a2ddee772f8fb28c7b79ed5b1.tar.gz |
- show the menu-icon which disappeared in gnome 2.10
- s/X11BASE/PREFIX/ to respect PREFIX
- Add gnomeprefix to create gnomedirs
PR: ports/78951
Submitted by: maintainer
Diffstat (limited to 'deskutils/splashsetter/Makefile')
-rw-r--r-- | deskutils/splashsetter/Makefile | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/deskutils/splashsetter/Makefile b/deskutils/splashsetter/Makefile index 6efaecd..38d6ae2 100644 --- a/deskutils/splashsetter/Makefile +++ b/deskutils/splashsetter/Makefile @@ -7,7 +7,7 @@ PORTNAME= splashsetter PORTVERSION= 0.6.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= deskutils gnome MASTER_SITES= http://webonaut.com/distfiles/${PORTNAME}/ @@ -18,10 +18,10 @@ USE_BZIP2= yes USE_X_PREFIX= yes USE_REINPLACE= yes USE_PYTHON= yes -USE_GNOME= pygnome2 +USE_GNOME= pygnome2 gnomeprefix do-build: - @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \ + @${REINPLACE_CMD} -e 's|/usr/X11R6|${PREFIX}|g' \ ${WRKSRC}/*.py @${FIND} ${WRKSRC} -name '*.bak' -delete @${FIND} ${WRKSRC} -name '*.orig' -delete @@ -29,19 +29,21 @@ do-build: @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} do-install: - ${MKDIR} ${X11BASE}/share/gnome/pixmaps/${PORTNAME}/splash - ${MKDIR} ${X11BASE}/libexec/${PORTNAME} + ${MKDIR} ${PREFIX}/share/gnome/pixmaps/${PORTNAME}/splash + ${MKDIR} ${PREFIX}/libexec/${PORTNAME} @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} \ - ${X11BASE}/libexec/${PORTNAME}/ + ${PREFIX}/libexec/${PORTNAME}/ @${INSTALL_DATA} ${WRKSRC}/*.py* \ - ${X11BASE}/libexec/${PORTNAME}/ + ${PREFIX}/libexec/${PORTNAME}/ @${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop \ - ${X11BASE}/share/gnome/applications/ + ${PREFIX}/share/gnome/applications/ @${INSTALL_DATA} ${WRKSRC}/*.svg \ - ${X11BASE}/share/gnome/pixmaps/${PORTNAME}/ + ${PREFIX}/share/gnome/pixmaps/${PORTNAME}/ + @${INSTALL_DATA} ${WRKSRC}/splashsetter_icon.svg \ + ${PREFIX}/share/gnome/pixmaps/${PORTNAME}.svg @${INSTALL_DATA} ${WRKSRC}/*.png \ - ${X11BASE}/share/gnome/pixmaps/${PORTNAME}/splash/ - @${LN} -sf ${X11BASE}/libexec/${PORTNAME}/${PORTNAME} \ - ${X11BASE}/bin/${PORTNAME} + ${PREFIX}/share/gnome/pixmaps/${PORTNAME}/splash/ + @${LN} -sf ${PREFIX}/libexec/${PORTNAME}/${PORTNAME} \ + ${PREFIX}/bin/${PORTNAME} .include <bsd.port.mk> |