openbsd-ports/misc/wmtimer/Makefile
naddy a5e6464ab3 - add USE_X11
- fix LIB_DEPENDS
submitted by Peter Stromberg <home@wilfried.net>
2001-01-17 16:13:28 +00:00

38 lines
713 B
Makefile

# $OpenBSD: Makefile,v 1.2 2001/01/17 16:13:30 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+
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>