1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/x11/qimageblitz/Makefile
2021-04-06 16:31:07 +02:00

35 lines
1.3 KiB
Makefile

# Created by: Martin Wilke <miwi@FreeBSD.org>
PORTNAME= qimageblitz
PORTVERSION= 0.1.0 # a made-up version also used in some linux distros, otherwise we need to add PORTEPOCH
PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= yuri@FreeBSD.org
COMMENT= Graphical effects and filters library for Qt5
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cmake compiler:c++11-lang qt:5
USE_LDCONFIG= yes
USE_QT= core gui widgets qmake_build buildtools_build
USE_CXXSTD= gnu++98
SVN_URL= svn://anonsvn.kde.org/home/kde/trunk/kdesupport/qimageblitz
SVN_REVISION= 1515099
do-fetch:
@if [ "${FORCE_FETCH_ALL}" = "true" ] || ! [ -f "${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}" ]; then \
${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \
cd ${DISTDIR}/${DIST_SUBDIR} && \
svnlite co -r ${SVN_REVISION} ${SVN_URL} ${PORTNAME}-${DISTVERSIONFULL} && \
(cd ${PORTNAME}-${DISTVERSIONFULL} && ${RM} -r .svn) && \
${FIND} ${PORTNAME}-${DISTVERSIONFULL} -and -exec ${TOUCH} -h -d 1970-01-01T00:00:00Z {} \; && \
${FIND} ${PORTNAME}-${DISTVERSIONFULL} -print0 | LC_ALL=C ${SORT} -z | \
${TAR} czf ${PORTNAME}-${DISTVERSIONFULL}${EXTRACT_SUFX} --format=bsdtar --uid 0 --gid 0 --options gzip:!timestamp --no-recursion --null -T - && \
${RM} -r ${PORTNAME}-${DISTVERSIONFULL}; \
fi
.include <bsd.port.mk>