zap configure script

This commit is contained in:
espie 2006-11-02 10:56:56 +00:00
parent 2c60e80206
commit be2afe62df
2 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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