openbsd-ports/games/wmtimebomb/Makefile

51 lines
1.1 KiB
Makefile
Raw Normal View History

2002-03-21 15:57:06 -05:00
# $OpenBSD: Makefile,v 1.11 2002/03/21 20:57:07 espie Exp $
COMMENT= 'wm-app; minesweeper'
DISTNAME= wmtimebomb.20
PKGNAME= wmtimebomb-0.2.0
CATEGORIES= games x11 x11/windowmaker
2002-03-21 15:57:06 -05:00
NEED_VERSION= 1.515
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/mharo/ \
2001-03-14 07:23:10 -05:00
ftp://ftp.sra.co.jp/pub/os/FreeBSD/distfiles/
2001-09-24 05:27:52 -04:00
MODULES= gettext
2001-05-21 10:11:29 -04:00
LIB_DEPENDS= wraster.4::x11/windowmaker \
PropList.2::devel/libproplist
USE_X11= Yes
2001-10-25 18:34:48 -04:00
NO_REGRESS= Yes
CONFIGURE_STYLE= imake
FLAVORS= 8bpp
FLAVOR?=
WRKDIST= ${WRKDIR}/wmtimebomb.app
SAMPLE_DIR= ${PREFIX}/share/examples/wmtimebomb
SUBST_VARS+= SAMPLE_DIR
pre-configure:
.if ${FLAVOR:L:M8pp}
cd ${WRKSRC} && \
rm XPM && ln -s XPM.lo XPM
.else
cd ${WRKSRC} && \
rm XPM && ln -s XPM.hi XPM
.endif
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/wmtimebomb ${PREFIX}/bin
${INSTALL_DATA_DIR} ${SAMPLE_DIR}
${INSTALL_DATA} ${WRKSRC}/example.modefile ${SAMPLE_DIR}
.include <bsd.port.mk>