From owner-svn-ports-head@FreeBSD.ORG Sat Dec 28 01:10:55 2013 Return-Path: Delivered-To: svn-ports-head@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 D43EA8C3; Sat, 28 Dec 2013 01:10:55 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A696110BA; Sat, 28 Dec 2013 01:10:55 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBS1AtFp014780; Sat, 28 Dec 2013 01:10:55 GMT (envelope-from db@svn.freebsd.org) Received: (from db@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBS1Atev014777; Sat, 28 Dec 2013 01:10:55 GMT (envelope-from db@svn.freebsd.org) Message-Id: <201312280110.rBS1Atev014777@svn.freebsd.org> From: Diane Bruce Date: Sat, 28 Dec 2013 01:10:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337826 - head/comms/chu X-SVN-Group: ports-head 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.17 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: Sat, 28 Dec 2013 01:10:55 -0000 Author: db Date: Sat Dec 28 01:10:54 2013 New Revision: 337826 URL: http://svnweb.freebsd.org/changeset/ports/337826 Log: - convert to stage - add LICENSE Modified: head/comms/chu/Makefile (contents, props changed) head/comms/chu/pkg-plist (contents, props changed) Modified: head/comms/chu/Makefile ============================================================================== --- head/comms/chu/Makefile Fri Dec 27 23:49:33 2013 (r337825) +++ head/comms/chu/Makefile Sat Dec 28 01:10:54 2013 (r337826) @@ -11,10 +11,9 @@ MASTER_SITE_SUBDIR= system/admin/time MAINTAINER= db@FreeBSD.org COMMENT= Synchronise computer clock to CHU radio station -MAN8= chu.8 +LICENSE= GPLv1 -NO_STAGE= yes -.include +.include do-extract: @${RM} -rf ${WRKDIR} @@ -26,30 +25,25 @@ do-extract: exit 1; \ fi \ done - ${GZIP_CMD} -d ${WRKSRC}/testsignal.gz + @${GZIP_CMD} -d ${WRKSRC}/testsignal.gz post-patch: - ${REINPLACE_CMD} -e 's|/etc/chu|${PREFIX}/etc/chu|g' ${WRKSRC}/chu.c ${WRKSRC}/chu.8 - ${REINPLACE_CMD} -e 's|/sbin/chu|${PREFIX}/sbin/chu|g' ${WRKSRC}/chu.8 + @${REINPLACE_CMD} -e 's|/etc/chu|${PREFIX}/etc/chu|g' ${WRKSRC}/chu.c ${WRKSRC}/chu.8 + @${REINPLACE_CMD} -e 's|/sbin/chu|${PREFIX}/sbin/chu|g' ${WRKSRC}/chu.8 @${REINPLACE_CMD} -e 's|gcc -O2|${CC} ${CFLAGS}|g' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/chu ${PREFIX}/sbin - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/testsignal ${DATADIR} - ${INSTALL_MAN} ${WRKSRC}/chu.8 ${PREFIX}/man/man8 -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/chu ${STAGEDIR}${PREFIX}/sbin + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/testsignal ${STAGEDIR}${DATADIR} + ${INSTALL_MAN} ${WRKSRC}/chu.8 ${STAGEDIR}${PREFIX}/man/man8 + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for d in ${WRKSRC}/COPYING \ ${WRKSRC}/TESTING \ ${WRKSRC}/chu.html \ ${WRKSRC}/chuman.html \ ${WRKSRC}/ntp.html - ${INSTALL_DATA} ${WRKSRC}/${d} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${d} ${STAGEDIR}${DOCSDIR} .endfor - @${ECHO} "" - @${ECHO} "chu docs installed in ${DOCSDIR}" - @${ECHO} "" -.endif -.include +.include Modified: head/comms/chu/pkg-plist ============================================================================== --- head/comms/chu/pkg-plist Fri Dec 27 23:49:33 2013 (r337825) +++ head/comms/chu/pkg-plist Sat Dec 28 01:10:54 2013 (r337826) @@ -5,5 +5,6 @@ sbin/chu %%PORTDOCS%%%%DOCSDIR%%/chuman.html %%PORTDOCS%%%%DOCSDIR%%/ntp.html %%PORTDOCS%%%%DOCSDIR%%/TESTING +man/man8/chu.8.gz @dirrm %%DATADIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%%