aboutsummaryrefslogtreecommitdiff
path: root/graphics/eos-movrec/Makefile
blob: 0cc0a936eedc477f4dcc9c36cb99e3db217b23a5 (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
35
36
37
38
39
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$

PORTNAME=	eos-movrec
DISTVERSION=	0.3.1_beta
PORTREVISION=	4
CATEGORIES=	graphics multimedia
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.3_beta/ \
		SF/nemysisfreebsdp/:icons
DISTFILES=	${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX} \
		${PORTNAME}.png:icons
DIST_SUBDIR=	${PORTNAME}
EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION}-src${EXTRACT_SUFX}

MAINTAINER=	nemysis@gmx.ch
COMMENT=	Capture short movies with Canon DSLR camera

LICENSE=	GPLv2

LIB_DEPENDS=	gphoto2:${PORTSDIR}/graphics/libgphoto2

USE_BZIP2=	yes
USE_CMAKE=	yes
USE_QT4=	qmake_build moc_build rcc_build uic_build gui

PLIST_FILES=	bin/eos_movrec \
		share/pixmaps/${PORTNAME}.png

DESKTOP_ENTRIES=	"eos_movrec" "EOS Camera Movie Recorder" \
			"${PREFIX}/share/pixmaps/${PORTNAME}.png" \
			"eos_movrec" "Graphics;Photography;Qt;" false

post-patch:
	@${REINPLACE_CMD} -e 's,GLIBC,${OPSYS},' ${WRKSRC}/os_api.h

post-install:
	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps

.include <bsd.port.mk>