Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 21:05:13 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305403 - head/graphics/eos-movrec
Message-ID:  <201210062105.q96L5Dth040796@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Sat Oct  6 21:05:12 2012
New Revision: 305403
URL: http://svn.freebsd.org/changeset/ports/305403

Log:
  - Convert Makefile headers to new style
  - Add DESKTOP_ENTRIES
  - Pass maintainership to nemysis <nemysis@gmx.ch>
  
  PR:	ports/172342
  Submitted by:	nemysis <nemysis@gmx.ch>

Modified:
  head/graphics/eos-movrec/Makefile   (contents, props changed)
  head/graphics/eos-movrec/distinfo   (contents, props changed)

Modified: head/graphics/eos-movrec/Makefile
==============================================================================
--- head/graphics/eos-movrec/Makefile	Sat Oct  6 20:50:12 2012	(r305402)
+++ head/graphics/eos-movrec/Makefile	Sat Oct  6 21:05:12 2012	(r305403)
@@ -1,34 +1,42 @@
-# New ports collection makefile for:	EOS camera movie record
-# Date created:				15 Aug 2011
-# Whom:					Alexey Dokuchaev <danfe@FreeBSD.org>
-#
 # $FreeBSD$
-#
+# Created by:	Alexey Dokuchaev <danfe@FreeBSD.org>
 
 PORTNAME=	eos-movrec
 DISTVERSION=	0.3.1_beta
 PORTREVISION=	1
 CATEGORIES=	graphics
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.3_beta
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.3_beta/
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A program to capture short movies with Canon DSLR camera
+MAINTAINER=	nemysis@gmx.ch
+COMMENT=	Program to capture short movies with Canon DSLR camera
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	gphoto2.2:${PORTSDIR}/graphics/libgphoto2
+LIB_DEPENDS=	gphoto2:${PORTSDIR}/graphics/libgphoto2
+BUILD_DEPENDS=	pnmtopng:${PORTSDIR}/graphics/netpbm
 
-USE_ZIP=	yes
+USE_BZIP2=	yes
 USE_CMAKE=	yes
+CMAKE_VERBOSE=	yes
 USE_QT4=	qmake_build moc_build rcc_build uic_build gui
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
 DISTVERSIONSUFFIX=	-src
-PORTREVISION=	1
 
-PLIST_FILES=	bin/eos_movrec
+PLIST_FILES=	bin/eos_movrec \
+		share/pixmaps/${PORTNAME}.png
+
+DESKTOP_ENTRIES=	"EOS Camera Movie Record" "${COMMENT}" "${PORTNAME}" \
+			"${PORTNAME:S/-/_/}" "Application;Graphics;" ${FALSE}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,GLIBC,${OPSYS},' ${WRKSRC}/os_api.h
 
+post-build:
+	@(cd ${WRKSRC} && ${LOCALBASE}/bin/winicontoppm -bestqual eos-movrec2.ico | \
+		${LOCALBASE}/bin/pnmtopng > eos-movrec.png)
+
+post-install:
+	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
+
 .include <bsd.port.mk>

Modified: head/graphics/eos-movrec/distinfo
==============================================================================
--- head/graphics/eos-movrec/distinfo	Sat Oct  6 20:50:12 2012	(r305402)
+++ head/graphics/eos-movrec/distinfo	Sat Oct  6 21:05:12 2012	(r305403)
@@ -1,2 +1,2 @@
-SHA256 (eos-movrec-0.3.1_beta-src.zip) = 25897e7d173d6baa0cfa94a8e0ff5f3decf809d2644ddf2a492677c068efc0c3
-SIZE (eos-movrec-0.3.1_beta-src.zip) = 5183470
+SHA256 (eos-movrec-0.3.1_beta-src.tar.bz2) = 044cf8b6428d66d6d03c3df53103f985e5b669cad3c8f78a94f9ef308259deea
+SIZE (eos-movrec-0.3.1_beta-src.tar.bz2) = 3955037



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210062105.q96L5Dth040796>