- Convert to USES=libtool and bump dependent ports - Add INSTALL_TARGET=install-strip - Remove patches that renamed include directories and libraries so they didn't conflict with early development versions of glib/gtk 2.0
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= 9
|
|
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>
|