aboutsummaryrefslogtreecommitdiffstats
path: root/games/bubbros/Makefile
diff options
context:
space:
mode:
authorlaszlof <laszlof@FreeBSD.org>2006-12-12 00:37:01 +0800
committerlaszlof <laszlof@FreeBSD.org>2006-12-12 00:37:01 +0800
commitb3e2797d4e5b61bfad15fb36e519a7a819fde5e8 (patch)
treee81c5a46077c3260e354ea7e6dfbd3f4b1bf2cab /games/bubbros/Makefile
parentdda0fc3eb6c2397df0e4a74382f4689c750efa58 (diff)
downloadfreebsd-ports-gnome-b3e2797d4e5b61bfad15fb36e519a7a819fde5e8.tar.gz
freebsd-ports-gnome-b3e2797d4e5b61bfad15fb36e519a7a819fde5e8.tar.zst
freebsd-ports-gnome-b3e2797d4e5b61bfad15fb36e519a7a819fde5e8.zip
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)
Diffstat (limited to 'games/bubbros/Makefile')
-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