freebsd-ports/graphics/eos-movrec/Makefile
Rene Ladan 99d6d12a38 Mark QT4 ports/functionality for removal on 2019-03-15
While here, chase some KDE4 ports and functionality, these are scheduled for
removal on 2018-12-31. Change the default option/flavor to QT5 where applicable
or use alternative toolkits like GTK.

Submitted by:	tcberner
Reviewed by:	adridg, jhale, rene, tcberner
Approved by:	portmgr (implicit, flavor hook)
Differential Revision:	https://reviews.freebsd.org/D17741
2018-12-02 15:41:47 +00:00

46 lines
1.3 KiB
Makefile

# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
# $FreeBSD$
PORTNAME= eos-movrec
DISTVERSION= 0.3.2_beta
PORTREVISION= 6
CATEGORIES= graphics multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Capture short movies with Canon DSLR camera
LICENSE= GPLv2
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE= 2019-03-15
LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2
USES= cmake dos2unix pkgconfig qt:4 tar:bzip2
DOS2UNIX_GLOB= *.pro *.cpp *.h
USE_QT= qmake_build moc_build rcc_build uic_build gui
INSTALLS_ICONS= yes
ICON_SIZES= 16x16 32x32 128x128 256x256 512x512
DESKTOP_ENTRIES="EOS Camera Movie Recorder" "" "${PORTNAME}" \
"eos_movrec" "Graphics;Photography;Qt;" ""
post-patch:
@${REINPLACE_CMD} -e 's|GLIBC|${OPSYS}|' ${WRKSRC}/os_api.h
.for s in 16 32 128 256 512
@cd ${WRKSRC}/mac.icons && \
${MV} ${s}.png ${PORTNAME}_${s}x${s}.png
.endfor
post-install:
.for s in ${ICON_SIZES}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
${INSTALL_DATA} ${WRKSRC}/mac.icons/${PORTNAME}_${s}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
.endfor
${LN} -sf ${PREFIX}/share/icons/hicolor/32x32/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
.include <bsd.port.mk>