openbsd-ports/misc/wmtimer/Makefile
naddy 5b5af3fa05 Import wmtimer 2.2.
Submitted by Peter Stromberg <home@wilfried.net>.

WMTimer is a dockable alarm clock for WindowMaker which can
be run in alarm, countdown timer, or chronograph mode.  In
alarm or timer mode, you can either execute a command or
sound the system bell when the time is reached.  Wmtimer is
configurable through the command line or the GTK GUI.
2001-01-11 22:45:21 +00:00

37 lines
704 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2001/01/11 22:45:21 naddy Exp $
DISTNAME= wmtimer-2.2
CATEGORIES= misc x11
NEED_VERSION= 1.340
HOMEPAGE= http://www.dwave.net/~jking/wmtimer/
MAINTAINER= Peter Stromberg <home@wilfried.net>
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+
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>