aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-09-01 19:48:56 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-09-01 19:48:56 +0000
commit7028e50a544dbc574c9b500140265188fbada104 (patch)
tree33aae2bebe7f045d5469239d7c9711ac456e560f
parentb33e86ed5bfaa98daff769da12be66c39dcae650 (diff)
downloadports-7028e50a544dbc574c9b500140265188fbada104.tar.gz
ports-7028e50a544dbc574c9b500140265188fbada104.zip
Notes
-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