blob: 0734df98389b0992249ee9412e6b43e06218f5dd (
plain) (
blame)
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
36
37
38
39
40
41
42
|
# New ports collection makefile for: luckybackup
# Date created: 2009-04-28
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
PORTNAME= luckybackup
PORTVERSION= 0.4.7
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/source
MAINTAINER= jhale@FreeBSD.org
COMMENT= QT4 frontend to the backup utility rsync
LICENSE= GPLv3
RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync
USE_QT4= gui qmake_build moc_build rcc_build uic_build
MAKE_ENV= INSTALL_ROOT=${PREFIX}
MAKE_JOBS_SAFE= yes
MAN8= luckybackup.8
MANCOMPRESSED= yes
post-patch:
${REINPLACE_CMD} -e 's|/usr||g' -e '/INSTALLS/s|debianmenu ||' \
-e '/manpage/s|share/||' ${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}/src/global.h \
${WRKSRC}/src/scheduleDialog.cpp
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
.include <bsd.port.mk>
|