2001-03-14 07:23:10 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2001/03/14 12:23:16 wilfried Exp $
|
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
|
|
|
|
NEED_VERSION= 1.340
|
2001-02-09 08:06:24 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
HOMEPAGE= http://www.maliwan.org/wmtimebomb.shtml
|
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
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
MASTER_SITES= ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/mharo/ \
|
2001-03-14 07:23:10 -05:00
|
|
|
ftp://ftp.funet.fi/pub/FreeBSD/eurocrypt/distfiles/ \
|
|
|
|
ftp://ftp.sra.co.jp/pub/os/FreeBSD/distfiles/
|
2001-03-09 09:28:45 -05:00
|
|
|
|
|
|
|
LIB_DEPENDS= wraster.2::x11/windowmaker \
|
|
|
|
PropList.2::devel/libproplist \
|
|
|
|
jpeg.62::graphics/jpeg \
|
|
|
|
tiff.35::graphics/tiff \
|
|
|
|
png.1::graphics/png \
|
|
|
|
gif.4::graphics/giflib
|
2001-02-09 08:06:24 -05:00
|
|
|
|
2001-03-09 09:28:45 -05:00
|
|
|
USE_X11= 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:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmtimebomb ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${SAMPLE_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/example.modefile ${SAMPLE_DIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|