2002-04-19 07:05:52 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2002/04/19 11:05:52 wilfried Exp $
|
2001-03-28 04:59:37 -05:00
|
|
|
|
|
|
|
COMMENT= 'wm-app; minesweeper'
|
2001-02-09 08:06:24 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
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
|
2001-02-09 08:06:24 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
2001-02-09 08:06:24 -05:00
|
|
|
|
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-03-09 09:28:45 -05:00
|
|
|
|
2001-09-24 05:27:52 -04:00
|
|
|
MODULES= gettext
|
2001-05-21 10:11:29 -04:00
|
|
|
LIB_DEPENDS= wraster.4::x11/windowmaker \
|
2001-03-28 04:59:37 -05:00
|
|
|
PropList.2::devel/libproplist
|
2001-02-09 08:06:24 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
USE_X11= Yes
|
2001-10-25 18:34:48 -04:00
|
|
|
NO_REGRESS= Yes
|
2001-02-09 08:06:24 -05:00
|
|
|
CONFIGURE_STYLE= imake
|
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
FLAVORS= 8bpp
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
WRKDIST= ${WRKDIR}/wmtimebomb.app
|
2001-02-09 08:06:24 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
SAMPLE_DIR= ${PREFIX}/share/examples/wmtimebomb
|
|
|
|
SUBST_VARS+= SAMPLE_DIR
|
2001-02-09 08:06:24 -05:00
|
|
|
|
|
|
|
pre-configure:
|
2001-03-09 09:28:45 -05:00
|
|
|
.if ${FLAVOR:L:M8pp}
|
2001-02-09 08:06:24 -05:00
|
|
|
cd ${WRKSRC} && \
|
|
|
|
rm XPM && ln -s XPM.lo XPM
|
|
|
|
.else
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
rm XPM && ln -s XPM.hi XPM
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2001-03-28 04:59:37 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/wmtimebomb ${PREFIX}/bin
|
2001-02-09 08:06:24 -05:00
|
|
|
${INSTALL_DATA_DIR} ${SAMPLE_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/example.modefile ${SAMPLE_DIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|