From owner-svn-ports-head@freebsd.org Thu Mar 29 23:06:11 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 191E0F52234; Thu, 29 Mar 2018 23:06:11 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8977D6970C; Thu, 29 Mar 2018 23:06:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6A244208B6; Thu, 29 Mar 2018 23:06:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2TN6A6n089809; Thu, 29 Mar 2018 23:06:10 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2TN6Apc089807; Thu, 29 Mar 2018 23:06:10 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803292306.w2TN6Apc089807@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 29 Mar 2018 23:06:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465935 - head/sysutils/synergy X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/sysutils/synergy X-SVN-Commit-Revision: 465935 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2018 23:06:11 -0000 Author: yuri Date: Thu Mar 29 23:06:10 2018 New Revision: 465935 URL: https://svnweb.freebsd.org/changeset/ports/465935 Log: sysutils/synergy: Install config file under ${PREFIX}/etc Also move plist to pkg-plist. PR: 227095 Submitted by: Vidar Karlsen Added: head/sysutils/synergy/pkg-plist (contents, props changed) Modified: head/sysutils/synergy/Makefile Modified: head/sysutils/synergy/Makefile ============================================================================== --- head/sysutils/synergy/Makefile Thu Mar 29 22:25:16 2018 (r465934) +++ head/sysutils/synergy/Makefile Thu Mar 29 23:06:10 2018 (r465935) @@ -4,7 +4,7 @@ PORTNAME= synergy DISTVERSIONPREFIX= v DISTVERSION= 2.0.0 DISTVERSIONSUFFIX= -stable -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org @@ -28,13 +28,17 @@ CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE=yes -PLIST_FILES= bin/synergyc bin/synergys bin/synergy-core \ - man/man1/synergyc.1.gz man/man1/synergys.1.gz PORTEXAMPLES= synergy.conf.example synergy.conf.example-basic \ synergy.conf.example-advanced OPTIONS_DEFINE= EXAMPLES +post-patch: + @${REINPLACE_CMD} -e 's|return "/etc"|return "${PREFIX}/etc"|' \ + ${WRKSRC}/src/lib/arch/unix/ArchFileUnix.cpp + @${REINPLACE_CMD} -e 's|/etc/synergy.conf|${PREFIX}/etc/synergy.conf|' \ + ${WRKSRC}/doc/synergys.man + do-install: .for f in synergyc synergys synergy-core ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/bin @@ -43,6 +47,7 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/doc/${f}.man \ ${STAGEDIR}${MANPREFIX}/man/man1/${f}.1 .endfor + ${INSTALL_DATA} ${WRKSRC}/doc/synergy.conf.example-basic ${STAGEDIR}${PREFIX}/etc/synergy.conf.sample # server config do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} Added: head/sysutils/synergy/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/synergy/pkg-plist Thu Mar 29 23:06:10 2018 (r465935) @@ -0,0 +1,6 @@ +bin/synergyc +bin/synergys +bin/synergy-core +man/man1/synergyc.1.gz +man/man1/synergys.1.gz +@sample etc/synergy.conf.sample