openbsd-ports/misc/wmtimer/Makefile

38 lines
735 B
Makefile

# $OpenBSD: Makefile,v 1.4 2001/02/01 17:34:27 wilfried Exp $
DISTNAME= wmtimer-2.2
CATEGORIES= misc x11 x11/windowmaker
NEED_VERSION= 1.340
HOMEPAGE= http://www.dwave.net/~jking/wmtimer/
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
FLAVORS= gold
FLAVOR?=
LIB_DEPENDS= gtk.1.2::x11/gtk+
USE_X11= Yes
WRKSRC= ${WRKDIST}/wmtimer
do-configure:
.if ${FLAVOR:L} == "gold"
@cd ${WRKSRC} && \
ln -sf wmtimer-gold.xpm wmtimer.xpm
.else
@cd ${WRKSRC} && \
ln -sf wmtimer-default.xpm wmtimer.xpm
.endif
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/wmtimer ${PREFIX}/bin
.include <bsd.port.mk>