openbsd-ports/audio/wmtune/Makefile
pvalchev 6df2dfa2a9 For the zoltrix flavor where this is installed setuid (for a sysarch() call...
to get access for direct I/O port access) only run as root for that small
amount of code; from maintainer Vladimir Popov
XXX this should probably be changed later
2002-10-01 06:36:31 +00:00

38 lines
687 B
Makefile

# $OpenBSD: Makefile,v 1.7 2002/10/01 06:36:31 pvalchev Exp $
COMMENT= "premier dockable radio tuner"
DISTNAME= wmtune-1.1c
PKGNAME= ${DISTNAME}p1
CATEGORIES= audio x11 x11/windowmaker
HOMEPAGE= http://www.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/
MAKE_ENV= CC="${CC}"
USE_X11= Yes
FLAVORS= zoltrix
FLAVOR?=
.if ${FLAVOR:L} == "zoltrix"
CFLAGS+= -DZOLTRIX
BINMODE= 4555
ONLY_FOR_ARCHS= i386
.endif
WRKDIST= ${WRKDIR}/wmtune-1.0.1-combined/
post-extract:
@cp files/wmtune.1 ${WRKDIST}
.include <bsd.port.mk>