Replace configure `script' with equivalent MAKE_FLAGS/FAKE_FLAGS.
This commit is contained in:
parent
60390ed3d3
commit
2c60e80206
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2004/11/28 22:41:26 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2006/11/02 10:54:15 espie Exp $
|
||||
|
||||
COMMENT= "dropping jewels game for X11"
|
||||
|
||||
@ -13,6 +13,14 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= X11 Xext c
|
||||
MAKE_FLAGS= HSCORE_FILE=/var/games/xjewel.scores \
|
||||
USERDEFS='-DICON_WINDOW -DUSE_SELECT -DGETPWENT' \
|
||||
BINDIR='${PREFIX}/bin' \
|
||||
MANDIR='${PREFIX}/man/cat6' \
|
||||
MANSUFFIX=6 \
|
||||
FFILE=pcf.gz
|
||||
|
||||
FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR=${WRKINST}
|
||||
|
||||
CONFIGURE_STYLE=imake
|
||||
|
||||
|
17
games/xjewel/scripts/configure
vendored
17
games/xjewel/scripts/configure
vendored
@ -1,17 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd $WRKSRC || exit 1;
|
||||
|
||||
mv Imakefile Imakefile.orig
|
||||
sed -e s/snf/pcf.gz/ <Imakefile.orig>Imakefile
|
||||
|
||||
cat >> Imakefile <<END
|
||||
|
||||
HSCORE_FILE = /var/games/xjewel.scores
|
||||
USERDEFS = -DICON_WINDOW -DUSE_SELECT -DGETPWENT
|
||||
BINDIR = $PREFIX/bin
|
||||
MANDIR = $PREFIX/man/cat6
|
||||
MANSUFFIX = 6
|
||||
END
|
||||
|
||||
exit 0;
|
Loading…
Reference in New Issue
Block a user