From owner-svn-ports-head@FreeBSD.ORG Wed Feb 12 21:42:20 2014 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 4C57FE89; Wed, 12 Feb 2014 21:42:20 +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 2C8521180; Wed, 12 Feb 2014 21:42:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1CLgK14004212; Wed, 12 Feb 2014 21:42:20 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1CLgJ1n004208; Wed, 12 Feb 2014 21:42:19 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201402122142.s1CLgJ1n004208@svn.freebsd.org> From: Emanuel Haupt Date: Wed, 12 Feb 2014 21:42:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344020 - in head/astro/phoon: . files 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: Wed, 12 Feb 2014 21:42:20 -0000 Author: ehaupt Date: Wed Feb 12 21:42:19 2014 New Revision: 344020 URL: http://svnweb.freebsd.org/changeset/ports/344020 QAT: https://qat.redports.org/buildarchive/r344020/ Log: - Support staging - Repect CC - Respect CFLAGS - Strip binary Added: head/astro/phoon/files/patch-Makefile (contents, props changed) Modified: head/astro/phoon/Makefile head/astro/phoon/files/patch-astro.h head/astro/phoon/files/patch-phoon.c Modified: head/astro/phoon/Makefile ============================================================================== --- head/astro/phoon/Makefile Wed Feb 12 21:35:41 2014 (r344019) +++ head/astro/phoon/Makefile Wed Feb 12 21:42:19 2014 (r344020) @@ -13,13 +13,7 @@ COMMENT= Displays the phase of the moon WRKSRC= ${WRKDIR}/${PORTNAME} -MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \ - BINDIR=${LOCALBASE}/bin \ - MANDIR=${MANPREFIX}/man/man1 - -NO_STAGE= yes -MAN1= phoon.1 -PLIST_FILES= bin/phoon +PLIST_FILES= bin/phoon man/man1/phoon.1.gz pre-patch: @${REINPLACE_CMD} -e 's|gmtoff = !!!;||g' \ Added: head/astro/phoon/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/phoon/files/patch-Makefile Wed Feb 12 21:42:19 2014 (r344020) @@ -0,0 +1,32 @@ +--- ./Makefile.orig 2003-01-21 04:04:36.000000000 +0100 ++++ ./Makefile 2014-02-12 22:39:19.404018490 +0100 +@@ -1,15 +1,15 @@ + # Makefile for phoon + +-BINDIR = /usr/local/bin +-MANDIR = /usr/local/man/man1 ++BINDIR = $(DESTDIR)$(PREFIX)/bin ++MANDIR = $(DESTDIR)$(MANPREFIX)/man/man1 + + DEFINES = -DOS_BSD + #DEFINES = -DOS_SYSV + +-CC = gcc +-CFLAGS = -O $(DEFINES) ++CC ?= gcc ++CFLAGS += $(DEFINES) + +-LDFLAGS = -s ++#LDFLAGS = -s + + + all: phoon +@@ -24,7 +24,7 @@ + astro.o: astro.h + + install: all +- rm -f $(BINDIR)/phoon ++ strip phoon + cp phoon $(BINDIR) + rm -f $(MANDIR)/phoon.1 + cp phoon.1 $(MANDIR) Modified: head/astro/phoon/files/patch-astro.h ============================================================================== --- head/astro/phoon/files/patch-astro.h Wed Feb 12 21:35:41 2014 (r344019) +++ head/astro/phoon/files/patch-astro.h Wed Feb 12 21:42:19 2014 (r344020) @@ -1,5 +1,5 @@ ---- astro.h.orig Sun Mar 6 22:43:59 2005 -+++ astro.h Sun Mar 6 22:44:05 2005 +--- ./astro.h.orig 2003-01-28 01:55:32.000000000 +0100 ++++ ./astro.h 2014-02-12 22:38:52.437019902 +0100 @@ -43,4 +43,4 @@ */ extern double phase( double pdate, double* pphase, double* mage, double* dist, double* angdia, double* sudist, double* suangdia ); Modified: head/astro/phoon/files/patch-phoon.c ============================================================================== --- head/astro/phoon/files/patch-phoon.c Wed Feb 12 21:35:41 2014 (r344019) +++ head/astro/phoon/files/patch-phoon.c Wed Feb 12 21:42:19 2014 (r344020) @@ -1,5 +1,5 @@ ---- phoon.c.orig Sun Mar 6 22:33:22 2005 -+++ phoon.c Sun Mar 6 22:33:45 2005 +--- ./phoon.c.orig 2005-05-20 21:10:24.000000000 +0200 ++++ ./phoon.c 2014-02-12 22:38:52.438019914 +0100 @@ -354,7 +354,7 @@ struct tm* tmP; double jd, pctphase, angphase, cphase, aom, cdist, cangdia, csund, csuang;