Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2012 10:20:47 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307058 - head/graphics/eos-movrec
Message-ID:  <201211061020.qA6AKl6N037973@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Nov  6 10:20:47 2012
New Revision: 307058
URL: http://svnweb.freebsd.org/changeset/ports/307058

Log:
  - Download pregenerated icon file and drop dependency on `graphics/netpbm'
  - Reorder Makefile header to more common form
  - Drop DISTVERSIONSUFFIX altogether: it does not make sense now since we
    have to assign DISTFILES manually
  - Remove redundant assignment of WRKSRC
  - In DESKTOP_ENTRIES, do not rely on the fact that ${FALSE} will always be
    "false" as required by fd.o spec; literal value should be used instead
  
  PR:		ports/173386
  Submitted by:	maintainer
  Feature safe:	yes

Modified:
  head/graphics/eos-movrec/Makefile
  head/graphics/eos-movrec/distinfo

Modified: head/graphics/eos-movrec/Makefile
==============================================================================
--- head/graphics/eos-movrec/Makefile	Tue Nov  6 09:20:41 2012	(r307057)
+++ head/graphics/eos-movrec/Makefile	Tue Nov  6 10:20:47 2012	(r307058)
@@ -1,11 +1,16 @@
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
 # $FreeBSD$
-# Created by:	Alexey Dokuchaev <danfe@FreeBSD.org>
 
 PORTNAME=	eos-movrec
 DISTVERSION=	0.3.1_beta
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics multimedia
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.3_beta/
+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
@@ -13,29 +18,21 @@ COMMENT=	Capture short movies with Canon
 LICENSE=	GPLv2
 
 LIB_DEPENDS=	gphoto2:${PORTSDIR}/graphics/libgphoto2
-BUILD_DEPENDS=	pnmtopng:${PORTSDIR}/graphics/netpbm
 
 USE_BZIP2=	yes
 USE_CMAKE=	yes
 USE_QT4=	qmake_build moc_build rcc_build uic_build gui
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
-DISTVERSIONSUFFIX=	-src
-
 PLIST_FILES=	bin/eos_movrec \
 		share/pixmaps/${PORTNAME}.png
 
 DESKTOP_ENTRIES=	"EOS Camera Movie Record" "${COMMENT}" "${PORTNAME}" \
-			"${PORTNAME:S/-/_/}" "Application;Graphics;" ${FALSE}
+			"${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/
+	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
 
 .include <bsd.port.mk>

Modified: head/graphics/eos-movrec/distinfo
==============================================================================
--- head/graphics/eos-movrec/distinfo	Tue Nov  6 09:20:41 2012	(r307057)
+++ head/graphics/eos-movrec/distinfo	Tue Nov  6 10:20:47 2012	(r307058)
@@ -1,2 +1,4 @@
-SHA256 (eos-movrec-0.3.1_beta-src.tar.bz2) = 044cf8b6428d66d6d03c3df53103f985e5b669cad3c8f78a94f9ef308259deea
-SIZE (eos-movrec-0.3.1_beta-src.tar.bz2) = 3955037
+SHA256 (eos-movrec/eos-movrec-0.3.1_beta-src.tar.bz2) = 044cf8b6428d66d6d03c3df53103f985e5b669cad3c8f78a94f9ef308259deea
+SIZE (eos-movrec/eos-movrec-0.3.1_beta-src.tar.bz2) = 3955037
+SHA256 (eos-movrec/eos-movrec.png) = ad7bd2b870b2b63d4868f49c34b8ddf5e801f3c2e878bba455817b66b53ecd85
+SIZE (eos-movrec/eos-movrec.png) = 1085



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