blob: 89f70388ede52088a9eec0729e403386d74c8cde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
PORTNAME= luckybackup
PORTVERSION= 0.5.0
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/source
MAINTAINER= jhale@FreeBSD.org
COMMENT= Qt frontend to the backup utility rsync
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>
|