blob: 1b72cb973abf767483d4c079b8c685b537685228 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Created by: Tilman Linneweh <arved@FreeBSD.org>
# $FreeBSD$
PORTNAME= xmms-mailnotify
PORTVERSION= 0.2.0
PORTREVISION= 9
CATEGORIES= audio
MASTER_SITES= LOCAL/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>
|