freebsd-ports/sysutils/luckybackup/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

36 lines
1 KiB
Makefile

PORTNAME= luckybackup
PORTVERSION= 0.5.0
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/source
MAINTAINER= jhale@FreeBSD.org
COMMENT= Qt frontend to the backup utility rsync
WWW= http://luckybackup.sourceforge.net/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/license/gpl.txt
RUN_DEPENDS= rsync:net/rsync \
pkexec:sysutils/polkit
USES= compiler:c++11-lang gl qmake qt:5
USE_GL= gl
USE_QT= core gui network widgets buildtools:build
post-patch:
${REINPLACE_CMD} -e 's|/usr|$$$${PREFIX}|g' -e '/INSTALLS/s|debianmenu ||' \
-e '/manpage/s|share/||' -e 's|QMAKE_STRIP.*|QMAKE_STRIP = ${STRIP_CMD}|g' \
${WRKSRC}/luckybackup.pro
${REINPLACE_CMD} -e 's|/usr/bin/||g' -e 's|/usr/share/pixmaps/||g' \
${WRKSRC}/menu/*.desktop
${REINPLACE_CMD} -e 's|/usr|${LOCALBASE}|g' \
${WRKSRC}/src/executenow.cpp
${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
${WRKSRC}/menu/luckybackup-pkexec \
${WRKSRC}/menu/net.luckybackup.su.policy \
${WRKSRC}/src/global.cpp \
${WRKSRC}/src/scheduleDialog.cpp
.include <bsd.port.mk>