freebsd-ports/sysutils/freefilesync/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

42 lines
1.2 KiB
Makefile

# Created by: Kevin Lo <kevlo@FreeBSD.org>
# $FreeBSD$
PORTNAME= freefilesync
DISTVERSION= 9.8
PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= https://www.freefilesync.org/download/ \
https://www.freefilesync.org/archive/
DISTNAME= FreeFileSync_${PORTVERSION}_Source
MAINTAINER= ports@FreeBSD.org
COMMENT= Backup software to synchronize files and folders
LICENSE= GPLv3
LICENSE_FILE= ${WRKDIR}/License.txt
BUILD_DEPENDS= ${LOCALBASE}/include/zenxml/xml.h:textproc/zenxml
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libnotify.so:devel/libnotify
FETCH_ARGS= --user-agent=firefox
WRKSRC= ${WRKDIR}/FreeFileSync/Source
USES= compiler:c++14-lang dos2unix gmake pkgconfig zip
USE_WX= 3.0+
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 pango
DOS2UNIX_WRKSRC= ${WRKDIR}
DOS2UNIX_GLOB= *.cpp *.h
post-patch:
@${REINPLACE_CMD} -e 's/wx-config/$${WX_CONFIG:T}/' \
-e 's,g++,$${CXX},' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|<sys/vfs.h>|<sys/mount.h>|' \
${WRKDIR}/zen/file_access.cpp
@${REINPLACE_CMD} -e 's|WEXITSTATUS||' ${WRKDIR}/zen/shell_execute.h
@${REINPLACE_CMD} -e 's| noexcept;|;|' ${WRKDIR}/zen/scope_guard.h
.include <bsd.port.mk>