From be2afe62df3d9c91bd0d26193a1c3a42fb19b4d7 Mon Sep 17 00:00:00 2001 From: espie Date: Thu, 2 Nov 2006 10:56:56 +0000 Subject: [PATCH] zap configure script --- games/xdeblock/Makefile | 5 ++++- games/xdeblock/scripts/configure | 5 ----- 2 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 games/xdeblock/scripts/configure diff --git a/games/xdeblock/Makefile b/games/xdeblock/Makefile index f20cde50d7e..dcb2a66eb29 100644 --- a/games/xdeblock/Makefile +++ b/games/xdeblock/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.21 2004/11/28 22:41:25 espie Exp $ +# $OpenBSD: Makefile,v 1.22 2006/11/02 10:56:56 espie Exp $ COMMENT= "block action game" @@ -21,6 +21,9 @@ WRKDIST= ${WRKDIR}/xdeblo_v1.0 NO_REGRESS= Yes +pre-configure: + perl -pi -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/Imakefile ${WRKSRC}/main.c + do-install: ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xdeblock/mapf ${INSTALL_PROGRAM} ${WRKSRC}/xdeblo ${PREFIX}/bin diff --git a/games/xdeblock/scripts/configure b/games/xdeblock/scripts/configure deleted file mode 100644 index d0f6c99f7de..00000000000 --- a/games/xdeblock/scripts/configure +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -/usr/bin/perl -pi -e 's|/usr/X11R6|'$X11BASE'|g' $WRKSRC/Imakefile -/usr/bin/perl -pi -e 's|/usr/X11R6|'$X11BASE'|g' $WRKSRC/main.c -