From owner-svn-ports-all@FreeBSD.ORG Fri Jun 27 09:23:46 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1DA5A20B; Fri, 27 Jun 2014 09:23:46 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E4BD52673; Fri, 27 Jun 2014 09:23:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5R9NjN1068814; Fri, 27 Jun 2014 09:23:45 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5R9NjsU068812; Fri, 27 Jun 2014 09:23:45 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201406270923.s5R9NjsU068812@svn.freebsd.org> From: "Jason E. Hale" Date: Fri, 27 Jun 2014 09:23:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359486 - head/net/gofish X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 09:23:46 -0000 Author: jhale Date: Fri Jun 27 09:23:45 2014 New Revision: 359486 URL: http://svnweb.freebsd.org/changeset/ports/359486 QAT: https://qat.redports.org/buildarchive/r359486/ Log: - Support staging - Add LICENSE - Use @sample in pkg-plist Approved by: portmgr (blanket approval) Modified: head/net/gofish/Makefile head/net/gofish/pkg-plist Modified: head/net/gofish/Makefile ============================================================================== --- head/net/gofish/Makefile Fri Jun 27 09:21:13 2014 (r359485) +++ head/net/gofish/Makefile Fri Jun 27 09:23:45 2014 (r359486) @@ -9,6 +9,8 @@ MASTER_SITES= SF MAINTAINER= kaiw27@gmail.com COMMENT= GoFish Gopher Server +LICENSE= GPLv2 + WRKSRC= ${WRKDIR}/${PORTNAME} GOPHERROOT?= ${PREFIX}/gopher GOPHERUSER?= nobody @@ -17,20 +19,8 @@ CONFIGURE_ARGS= --with-gopherroot=${GOPH --with-gopheruser=${GOPHERUSER} MAKE_ENV= localstatedir=/var -MAN1= gofish.1 mkcache.1 -MAN5= dotcache.5 gofish.5 -MLINKS= gofish.1 gopherd.1 - -NO_STAGE= yes -.include - -post-install: -.for i in ${PREFIX}/etc/gofish.conf ${PREFIX}/etc/gofish-www.conf - if test -f ${i}.new; then \ - ${MV} ${i}.new ${i}.sample; \ - else \ - ${CP} -p ${i} ${i}.sample; \ - fi -.endfor +post-patch: + ${REINPLACE_CMD} -e '/$$(sysconfdir)\/gofish/s|.conf|.conf.sample|3' \ + ${WRKSRC}/Makefile.in -.include +.include Modified: head/net/gofish/pkg-plist ============================================================================== --- head/net/gofish/pkg-plist Fri Jun 27 09:21:13 2014 (r359485) +++ head/net/gofish/pkg-plist Fri Jun 27 09:23:45 2014 (r359486) @@ -1,16 +1,10 @@ -bin/mkcache bin/check-files -@unexec if cmp -s %D/etc/gofish.conf.sample %D/etc/gofish.conf; then rm -f %D/etc/gofish.conf; fi -etc/gofish.conf.sample -@exec if [ ! -f %D/etc/gofish.conf ] ; then cp -p %D/%F %B/gofish.conf; fi -@unexec if cmp -s %D/etc/gofish-www.conf.sample %D/etc/gofish-www.conf; then rm -f %D/etc/gofish-www.conf; fi -etc/gofish-www.conf.sample -@exec if [ ! -f %D/etc/gofish-www.conf ] ; then cp -p %D/%F %B/gofish-www.conf; fi -sbin/gofish -sbin/gopherd -gopher/Configure_GoFish +bin/mkcache +@sample etc/gofish-www.conf.sample +@sample etc/gofish.conf.sample gopher/.cache gopher/.gopher+ +gopher/Configure_GoFish gopher/icons/gofish.gif gopher/icons/gopher_binary.gif gopher/icons/gopher_html.gif @@ -18,5 +12,12 @@ gopher/icons/gopher_image.gif gopher/icons/gopher_menu.gif gopher/icons/gopher_text.gif gopher/icons/gopher_unknown.gif +man/man1/gofish.1.gz +man/man1/gopherd.1.gz +man/man1/mkcache.1.gz +man/man5/dotcache.5.gz +man/man5/gofish.5.gz +sbin/gofish +sbin/gopherd @dirrm gopher/icons @dirrm gopher