summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank J. Laszlo <laszlof@FreeBSD.org>2006-12-11 16:37:01 +0000
committerFrank J. Laszlo <laszlof@FreeBSD.org>2006-12-11 16:37:01 +0000
commitc1dfafadd5f416dbb502eac1c6d3d8708525f728 (patch)
tree91a6e9dc3d1e8f312fe375eef216f37d13c53dad
parentBackout previous commit (diff)
Move REINPLACE_CMD to post-patch, where it should be
modify do-install to --exclude "*.bak" produced by REINPLACE Submitted by: kris via pointyhat Approved by: maintainer (implicit)
Notes
Notes: svn path=/head/; revision=179500
-rw-r--r--games/bubbros/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/bubbros/Makefile b/games/bubbros/Makefile
index 23b529b87d1f..35082666f75e 100644
--- a/games/bubbros/Makefile
+++ b/games/bubbros/Makefile
@@ -21,9 +21,11 @@ USE_PYTHON= yes
USE_BZIP2= yes
USE_XLIB= yes
-do-build:
+post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \
${WRKSRC}/display/setup.py
+
+do-build:
# Compile the statesaver extension module
cd ${WRKSRC}/bubbob; ${PYTHON_CMD} setup.py build_ext -i
# Compile the X-window client extension module
@@ -31,7 +33,7 @@ do-build:
do-install:
@${MKDIR} ${DATADIR}
- (cd ${WRKSRC}; tar --exclude build --exclude "*.orig" -cf - bubbob common display http2 java metaserver BubBob.py) | \
+ (cd ${WRKSRC}; tar --exclude build --exclude "*.orig" --exclude "*.bak" -cf - bubbob common display http2 java metaserver BubBob.py) | \
(cd ${DATADIR}; tar --unlink -xf -)
@${PRINTF} "#!/bin/sh\ncd ${DATADIR} && \
exec ${PYTHON_CMD} ${DATADIR}/BubBob.py\n" > ${WRKDIR}/bubbros.sh