blob: c058152bd29258cea34246f5f39f7fafc98f5408 (
plain)
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
35
|
# Created by: Tilman Linneweh <arved@FreeBSD.org>
# $FreeBSD$
PORTNAME= xmms-mailnotify
PORTVERSION= 0.2.0
PORTREVISION= 7
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>
|