openbsd-ports/audio/wmtune/Makefile
naddy 5f2065c764 - Make use of new bsd.port.mk feature and replace error reporting through
.BEGIN with ERRORS.
- Sync NEED_VERSION accordingly.
ok espie@
2001-07-18 10:59:00 +00:00

45 lines
844 B
Makefile

# $OpenBSD: Makefile,v 1.3 2001/07/18 10:59:00 naddy Exp $
COMMENT= "premier dockable radio tuner"
ONLY_FOR_ARCHS= i386
DISTNAME= wmtune-1.1c
CATEGORIES= audio x11 x11/windowmaker
NEED_VERSION= 1.422
HOMEPAGE= http://soren.org/linux/wmtune/
MAINTAINER= Vladimir Popov <pva48@mail.ru>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}dl/
USE_X11= Yes
FLAVORS= aztech zoltrix radiotrack
FLAVOR?= aztech
.if ${FLAVOR:L} == "aztech"
CFLAGS+= -DAZTECH
.elif ${FLAVOR:L} == "zoltrix"
CFLAGS+= -DZOLTRIX
.elif ${FLAVOR:L} == "radiotrack"
CFLAGS+= -DRADIOTRACK
.else
ERRORS+= "Fatal: Conflicting flavor: ${FLAVOR}"
.endif
WRKDIST= ${WRKDIR}/wmtune-1.0.1-combined/
BINMODE= 4555
post-extract:
@cp files/wmtune.1 ${WRKDIST}
.include <bsd.port.mk>