aboutsummaryrefslogtreecommitdiffstats
path: root/games/slune
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2006-09-02 03:48:56 +0800
committeracm <acm@FreeBSD.org>2006-09-02 03:48:56 +0800
commit1620d3318b841f9e78d40219d5a02a29fc769c46 (patch)
tree2fe5a8bd8af79da38141c6a8cb3a0434acb8a2ff /games/slune
parent8a357ad12e74427893775716332548fa20ccc5fb (diff)
downloadfreebsd-ports-gnome-1620d3318b841f9e78d40219d5a02a29fc769c46.tar.gz
freebsd-ports-gnome-1620d3318b841f9e78d40219d5a02a29fc769c46.tar.zst
freebsd-ports-gnome-1620d3318b841f9e78d40219d5a02a29fc769c46.zip
- Fix installation process, it wasn't respecting LOCALBASE [1]
- Bump PORTREVISION Reported by: kris [1] Approved by: garga (mentor)
Diffstat (limited to 'games/slune')
-rw-r--r--games/slune/Makefile5
-rw-r--r--games/slune/files/patch-setup.cfg6
2 files changed, 7 insertions, 4 deletions
diff --git a/games/slune/Makefile b/games/slune/Makefile
index f3aa36cb9f54..db8b3f2a0fa9 100644
--- a/games/slune/Makefile
+++ b/games/slune/Makefile
@@ -7,7 +7,7 @@
PORTNAME= slune
PORTVERSION= 1.0.12
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games python
MASTER_SITES= http://download.gna.org/slune/
DISTNAME= Slune-${PORTVERSION}
@@ -30,6 +30,9 @@ USE_PYDISTUTILS= yes
USE_GL= yes
USE_SDL= sdl mixer
+post-patch:
+ @${REINPLACE_CMD} -i "" -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.cfg
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/games/slune/files/patch-setup.cfg b/games/slune/files/patch-setup.cfg
index a8f35aef19d5..b33f860aaf79 100644
--- a/games/slune/files/patch-setup.cfg
+++ b/games/slune/files/patch-setup.cfg
@@ -7,9 +7,9 @@
-install-purelib = /usr/share
-install-scripts = /usr/bin
-install-data = /usr/share
-+install-purelib = /usr/X11R6/share
-+install-scripts = /usr/X11R6/bin
-+install-data = /usr/X11R6/share
++install-purelib = %%LOCALBASE%%/share
++install-scripts = %%LOCALBASE%%/bin
++install-data = %%LOCALBASE%%/share
[install_lib]
compile = 1