- 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
This commit is contained in:
parent
ba5714cb8e
commit
85aaa70bf0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307058
2 changed files with 14 additions and 15 deletions
|
@ -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 DSLR camera
|
|||
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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue