1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/audio/gkrellmms2/Makefile
Dirk Meyer de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00

57 lines
1.6 KiB
Makefile

# New ports collection makefile for: gkrellmms
# Date Created: Jun 22 2000
# Whom: Hajimu UMEMOTO <ume@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gkrellmms
PORTVERSION= 2.1.22
PORTREVISION= 8
CATEGORIES= audio
MASTER_SITES= http://gkrellm.luon.net/files/
MAINTAINER= ume@FreeBSD.org
COMMENT= GKrellM XMMS Plugin
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
LATEST_LINK= gkrellmms2
WRKSRC= ${WRKDIR}/gkrellmms
PLIST_FILES= libexec/gkrellm2/plugins/gkrellmms.so \
share/locale/da/LC_MESSAGES/gkrellmms.mo \
share/locale/es/LC_MESSAGES/gkrellmms.mo \
share/locale/fr/LC_MESSAGES/gkrellmms.mo \
share/locale/nl/LC_MESSAGES/gkrellmms.mo \
share/locale/ru/LC_MESSAGES/gkrellmms.mo
USE_GMAKE= yes
MAKE_ENV+= PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins \
LOCALEDIR=${PREFIX}/share/locale \
enable_nls=1
OPTIONS= BEEP_MEDIA_PLAYER "Use beep" off \
XMMS "Use XMMS" on
.include <bsd.port.pre.mk>
.if !defined(WITH_BEEP_MEDIA_PLAYER) && !defined(WITH_XMMS)
.if defined(WITHOUT_BEEP_MEDIA_PLAYER) && defined(WITHOUT_XMMS)
BROKEN= You need to select beep or XMMS. Run 'make config' again!
.endif
WITH_XMMS= yes
.elif defined(WITH_BEEP_MEDIA_PLAYER) && defined(WITH_XMMS)
BROKEN= beep and XMMS are mutually exclusive. Run 'make config' again!
.endif
.if defined(WITH_BEEP_MEDIA_PLAYER)
LIB_DEPENDS= beep.2:${PORTSDIR}/multimedia/beep-media-player
MAKE_ENV+= USE_BMP=yes
.elif defined(WITH_XMMS)
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
.endif
.include <bsd.port.post.mk>