diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-05-16 22:44:20 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-05-16 22:44:20 +0000 |
commit | d25b7d6f589cb46fb81b0f78be5ce16dfd736a28 (patch) | |
tree | 570655317bab0c403b397b81a1a536a506f56beb /sysutils/luckybackup/Makefile | |
parent | 6ba683c323beae417a2ab28a7bc787f16c288c9c (diff) | |
download | ports-d25b7d6f589cb46fb81b0f78be5ce16dfd736a28.tar.gz ports-d25b7d6f589cb46fb81b0f78be5ce16dfd736a28.zip |
Notes
Diffstat (limited to 'sysutils/luckybackup/Makefile')
-rw-r--r-- | sysutils/luckybackup/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/luckybackup/Makefile b/sysutils/luckybackup/Makefile new file mode 100644 index 000000000000..bf2766c84708 --- /dev/null +++ b/sysutils/luckybackup/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: luckybackup +# Date created: 2009-04-28 +# Whom: Jason E. Hale <bsdkaffee@gmail.com> +# +# $FreeBSD$ + +PORTNAME= luckybackup +PORTVERSION= 0.3 +CATEGORIES= sysutils +MASTER_SITES= SF + +MAINTAINER= bsdkaffee@gmail.com +COMMENT= QT4 frontend to the backup utility rsync + +RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync + +USE_QT_VER= 4 +QT_COMPONENTS= gui qmake_build moc_build rcc_build uic_build +MAKE_ENV= INSTALL_ROOT=${PREFIX} +MAKE_JOBS_SAFE= yes + +MAN8= luckybackup.8 +MANCOMPRESSED= yes + +.include <bsd.port.pre.mk> + +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|${PREFIX}|g' \ + ${WRKSRC}/src/global.h ${WRKSRC}/src/scheduleDialog.cpp + +do-configure: + cd ${WRKSRC} && ${QMAKE} + +.include <bsd.port.post.mk> |