1eaef9e348
This version is not the latest, but apparently good enough to solve a security issue (according to audit-packages). New features: Feature #46 – Drag and drop between computers (Windows and Mac) Fixed bugs: Bug #3287 – Mac does not wake up Bug #3758 – Unstable service (synergyd) Bug #3759 – Exploit: C:Program.exe (if it exists) is run by service (elevated) Bug #3760 – Encryption broken (GCM, CTR and OFB) Bug #3761 – Start button is visible when Synergy is running Bug #3762 – Apply button is disabled for Mac and Linux
70 lines
2.1 KiB
Makefile
70 lines
2.1 KiB
Makefile
# $NetBSD: Makefile,v 1.22 2014/12/23 23:08:29 khorben Exp $
|
|
#
|
|
|
|
DISTNAME= synergy-1.4.14-Source
|
|
PKGNAME= ${DISTNAME:S/-Source//}
|
|
CATEGORIES= net x11
|
|
MASTER_SITES= http://synergy.googlecode.com/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://synergy-project.org/
|
|
COMMENT= Let a user share a mouse and keyboard among computers
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
EXTRACT_USING= bsdtar
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= unzip
|
|
USE_CMAKE= yes
|
|
|
|
EXAMPLES= MacReadme.txt org.synergy-foss.org.synergyc.plist \
|
|
org.synergy-foss.org.synergys.plist synergy.conf.example \
|
|
synergy.conf.example-advanced synergy.conf.example-basic
|
|
|
|
SUBST_CLASSES+= fix-paths
|
|
SUBST_STAGE.fix-paths= pre-configure
|
|
SUBST_MESSAGE.fix-paths= Fixing absolute paths.
|
|
SUBST_FILES.fix-paths= src/lib/arch/CArchFileUnix.cpp
|
|
SUBST_SED.fix-paths= -e 's,"/etc","${PKG_SYSCONFDIR}",g'
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-march=native
|
|
|
|
post-extract:
|
|
${MKDIR} ${WRKSRC}/tools/cryptopp562
|
|
cd ${WRKSRC}/tools/cryptopp562 && unzip -aqo ../cryptopp562.zip
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/${PKGBASE}
|
|
|
|
post-build:
|
|
${CP} ${WRKSRC}/doc/synergyc.man ${WRKSRC}/doc/synergyc.1
|
|
${CP} ${WRKSRC}/doc/synergys.man ${WRKSRC}/doc/synergys.1
|
|
|
|
do-install:
|
|
.for p in synergyc synergys
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/${p} ${DESTDIR}${PREFIX}/bin/${p}
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${p}.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${p}.1
|
|
.endfor
|
|
.for f in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/share/examples/${PKGBASE}
|
|
.endfor
|
|
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
_WRAP_EXTRA_ARGS.CXX+= -std=c++11
|
|
CWRAPPERS_APPEND.cxx+= -std=c++11
|
|
.endif
|
|
|
|
# tools/cryptopp562/GNUmakefile
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-[0-6].*-i386)
|
|
CXXFLAGS+= -DCRYPTOPP_DISABLE_ASM
|
|
.endif
|
|
|
|
.if !exists(/System/Library/Frameworks/Carbon.framework)
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../x11/libXtst/buildlink3.mk"
|
|
.endif
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|