View | Details | Raw Unified | Return to bug 154352
Collapse All | Expand All

(-)Makefile (-4 / +7 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=	xmms
8
PORTNAME=	xmms
9
PORTVERSION=	1.2.11
9
PORTVERSION=	1.2.11
10
PORTREVISION=	14
10
PORTREVISION=	15
11
CATEGORIES+=	multimedia audio ipv6
11
CATEGORIES+=	multimedia audio ipv6
12
MASTER_SITES=	http://www.xmms.org/files/1.2.x/ \
12
MASTER_SITES=	http://www.xmms.org/files/1.2.x/ \
13
		LOCAL/beech
13
		LOCAL/beech
Lines 16-24 Link Here
16
MAINTAINER?=	stas@FreeBSD.org
16
MAINTAINER?=	stas@FreeBSD.org
17
COMMENT?=	X Multimedia System -- An audio player with Winamp GUI
17
COMMENT?=	X Multimedia System -- An audio player with Winamp GUI
18
18
19
RUN_DEPENDS=	update-mime-database:${PORTSDIR}/misc/shared-mime-info
20
19
USE_BZIP2=	yes
21
USE_BZIP2=	yes
20
USE_GL=		gl
22
USE_GL=		gl
21
USE_GNOME=	gtk12 gnomehack
23
USE_GNOME=	desktopfileutils gtk12 gnomehack
22
USE_GMAKE=	yes
24
USE_GMAKE=	yes
23
USE_GETTEXT=	yes
25
USE_GETTEXT=	yes
24
USE_ICONV=	yes
26
USE_ICONV=	yes
Lines 159-165 Link Here
159
.if ${HAVE_GNOME:Mesound}==""
161
.if ${HAVE_GNOME:Mesound}==""
160
	${REINPLACE_CMD} -e '/AM_PATH_ESD/,/have_esd=no/d' ${WRKSRC}/configure.in
162
	${REINPLACE_CMD} -e '/AM_PATH_ESD/,/have_esd=no/d' ${WRKSRC}/configure.in
161
.endif
163
.endif
162
	@${CP} ${FILESDIR}/xmms.desktop.in ${WRKSRC}/xmms.desktop
163
164
164
post-configure:
165
post-configure:
165
	@${FIND} ${WRKSRC} -name Makefile | \
166
	@${FIND} ${WRKSRC} -name Makefile | \
Lines 168-174 Link Here
168
post-install:
169
post-install:
169
	@${INSTALL} -d ${PREFIX}/share/xmms/Skins
170
	@${INSTALL} -d ${PREFIX}/share/xmms/Skins
170
	@${INSTALL} -d ${PREFIX}/share/applications
171
	@${INSTALL} -d ${PREFIX}/share/applications
171
	@${INSTALL_DATA} ${WRKSRC}/xmms.desktop ${PREFIX}/share/applications/
172
	@${INSTALL_DATA} ${WRKDIR}/xmms.desktop ${PREFIX}/share/applications/
173
	-update-desktop-database
174
	-update-mime-database ${PREFIX}/share/mime
172
	@${CAT} ${PKGMESSAGE}
175
	@${CAT} ${PKGMESSAGE}
173
176
174
.include <bsd.port.post.mk>
177
.include <bsd.port.post.mk>
(-)pkg-plist (+4 lines)
Lines 98-100 Link Here
98
@dirrm include/xmms
98
@dirrm include/xmms
99
@exec mkdir -p %D/share/xmms/Skins
99
@exec mkdir -p %D/share/xmms/Skins
100
@unexec echo "If you are permanently removing xmms, do not forget to remove skin files left under %D/share/xmms/Skins. Use \`\`rm -Rf %D/share/xmms/Skins; rmdir %D/share/xmms''" | fmt
100
@unexec echo "If you are permanently removing xmms, do not forget to remove skin files left under %D/share/xmms/Skins. Use \`\`rm -Rf %D/share/xmms/Skins; rmdir %D/share/xmms''" | fmt
101
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
102
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
103
@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime
104
@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime

Return to bug 154352