diff options
author | marcus <marcus@FreeBSD.org> | 2003-04-15 22:21:27 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-04-15 22:21:27 +0000 |
commit | 6d467aac219aa7406f7230d59a0c1bb74527d2fc (patch) | |
tree | 8f08aaf8442ca8492b38bb1b608a099ead69409f /x11/xscreensaver-gnome/Makefile | |
parent | 0b2c06793eb9cacb15633adf30837689deae2cc5 (diff) | |
download | FreeBSD-ports-6d467aac219aa7406f7230d59a0c1bb74527d2fc.zip FreeBSD-ports-6d467aac219aa7406f7230d59a0c1bb74527d2fc.tar.gz |
Add a pkg-install check to see if xscreensaver is already installed. This
way, users won't end up with two versions of xscreensaver.
Based on patches that were
Submitted by: Miguel Mendez <flynn@energyhq.homeip.net>
Diffstat (limited to 'x11/xscreensaver-gnome/Makefile')
-rw-r--r-- | x11/xscreensaver-gnome/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/x11/xscreensaver-gnome/Makefile b/x11/xscreensaver-gnome/Makefile index e9d2858..d586053 100644 --- a/x11/xscreensaver-gnome/Makefile +++ b/x11/xscreensaver-gnome/Makefile @@ -71,6 +71,11 @@ post-patch: @${REINPLACE_CMD} -e 's|malloc[.]h|stdlib.h|g' \ ${WRKSRC}/hacks/glx/extrusion.c +.if !defined(PACKAGE_BUILDING) +pre-install: + @${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL +.endif + post-install: @${INSTALL_DATA} ${WRKSRC}/utils/images/logo-50.xpm \ ${PREFIX}/share/gnome/pixmaps/xscreensaver.xpm |