openbsd-ports/games/wmtimebomb/Makefile

47 lines
1001 B
Makefile
Raw Normal View History

2002-09-17 10:35:03 -04:00
# $OpenBSD: Makefile,v 1.13 2002/09/17 14:35:03 wilfried Exp $
COMMENT= 'wm-app; minesweeper'
DISTNAME= wmtimebomb.20
PKGNAME= wmtimebomb-0.2.0
CATEGORIES= games x11 x11/windowmaker
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
2002-04-19 07:05:52 -04:00
PERMIT_PACKAGE_CDROM= "no licence"
PERMIT_PACKAGE_FTP= "no licence"
PERMIT_DISTFILES_CDROM= "no licence"
PERMIT_DISTFILES_FTP= "no licence"
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>