1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00
freebsd-ports/deskutils/mirall/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

57 lines
1.5 KiB
Makefile

# Created by: Mathieu Arnold
# $FreeBSD$
PORTNAME= mirall
PORTVERSION= 1.6.2
PORTREVISION= 2
CATEGORIES= deskutils
MASTER_SITES= http://download.owncloud.com/desktop/stable/
MAINTAINER= ports@FreeBSD.org
COMMENT= The ownCloud Desktop Syncing Client
LICENSE= GPLv2
LIB_DEPENDS= libinotify.so:${PORTSDIR}/devel/libinotify \
libqtkeychain.so:${PORTSDIR}/security/qtkeychain \
libneon.so:${PORTSDIR}/www/neon29
USES= cmake:outsource compiler:c++11-lang gmake pkgconfig tar:bzip2
USE_QT4= corelib dbus gui network qtestlib sql-sqlite3 webkit xml \
linguist_build moc_build qmake_build rcc_build uic_build
CMAKE_ENV= INOTIFY_LIB="${LOCALBASE}/lib"
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR:STRING=${MANPREFIX}/man/ \
-DBUILD_WITH_QT4:BOOL=ON
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CONFLICTS= owncloud-csync-[0-9]*
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx
DOCS_USE= TEX=dvipsk:build,latex:build
DOCS_CMAKE_ON= WITH_DOC=true
DOCS_ALL_TARGET= all doc-html doc-pdf
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
post-build:
@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample)
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${INSTALL_WRKSRC}/doc/latex && ${INSTALL_DATA} *.pdf \
${STAGEDIR}${DOCSDIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
@(cd ${INSTALL_WRKSRC}/doc/html/unthemed && ${COPYTREE_SHARE} . \
${STAGEDIR}${DOCSDIR}/html)
.endif
.include <bsd.port.mk>