summaryrefslogtreecommitdiffstats
path: root/multimedia/gmimms/Makefile
blob: e15117c64429c65cdb5a1e58351e9987f7f93ee4 (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
36
37
38
39
40
41
42
# Created by: Yinghong.Liu <liu_yinghong@yahoo.com.cn>
# $FreeBSD$

PORTNAME=	gmimms
DISTVERSION=	0.0.9
PORTREVISION=	7
CATEGORIES=	multimedia net
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Frontend to MiMMS (Multimedia Stream ripper)

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

RUN_DEPENDS=	mimms:multimedia/mimms

USES=		pkgconfig tar:bzip2
USE_GNOME=	gtk20
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-nls
INSTALL_TARGET=	install-exec

CFLAGS+=	-Wno-error=return-type

PORTDOCS=	AUTHORS ChangeLog
PLIST_FILES=	bin/gmimms

DESKTOP_ENTRIES="GMiMMS" \
		"Multimedia Stream ripper" \
		"" \
		"gmimms" \
		"GTK;AudioVideo;Network;" \
		"false"

OPTIONS_DEFINE=	DOCS

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>
OpenPOWER on IntegriCloud