2ffbea1568
dependent ports and convert them to USES=libtool too. audio/scrobbler: - USES=tar:bzip2. - Don't link with libstdc++. audio/xmms-bonk: - Don't link with libstdc++. audio/xmms-flac: - Remove unneeded dependencies. - Remove $FreeBSD$ from patches. audio/xmms-scrobbler: - Use OPTIONS_SLAVE. audio/xmms-timidity: - USES=tar:bzip2. - Install the library instead of the source code file. audio/xmms-volnorm: - Remove do-install.
35 lines
894 B
Makefile
35 lines
894 B
Makefile
# Created by: Tilman Linneweh <arved@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xmms-mailnotify
|
|
PORTVERSION= 0.2.0
|
|
PORTREVISION= 8
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= arved
|
|
|
|
MAINTAINER= arved@FreeBSD.org
|
|
COMMENT= XMMS plugin, that plays a sound on incoming mail and opens the MUA
|
|
|
|
LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= gmake
|
|
USE_GNOME= gtk12
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_FILES= lib/xmms/General/libmailnotify.so \
|
|
lib/xmms/General/alert.wav
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,/usr/lib,${LOCALBASE}/lib," ${WRKSRC}/mailnotify.c
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/General/
|
|
@${INSTALL_DATA} ${WRKSRC}/libmailnotify.so ${STAGEDIR}${PREFIX}/lib/xmms/General/
|
|
@${INSTALL_DATA} ${WRKSRC}/alert.wav ${STAGEDIR}${PREFIX}/lib/xmms/General/
|
|
|
|
.include <bsd.port.mk>
|