From owner-svn-ports-head@FreeBSD.ORG Fri Jan 17 14:09:02 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 117B9B94; Fri, 17 Jan 2014 14:09:02 +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 D963A164C; Fri, 17 Jan 2014 14:09:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0HE91i8005442; Fri, 17 Jan 2014 14:09:01 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0HE91F2005441; Fri, 17 Jan 2014 14:09:01 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201401171409.s0HE91F2005441@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 17 Jan 2014 14:09:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340039 - head/astro/aa 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: Fri, 17 Jan 2014 14:09:02 -0000 Author: bapt Date: Fri Jan 17 14:09:01 2014 New Revision: 340039 URL: http://svnweb.freebsd.org/changeset/ports/340039 QAT: https://qat.redports.org/buildarchive/r340039/ Log: Support stage Use bsdtar + dos2unix to extract Do not add readme.FreeBSD (pkg-message is already store in the package) Modified: head/astro/aa/Makefile Modified: head/astro/aa/Makefile ============================================================================== --- head/astro/aa/Makefile Fri Jan 17 14:03:41 2014 (r340038) +++ head/astro/aa/Makefile Fri Jan 17 14:09:01 2014 (r340039) @@ -6,50 +6,38 @@ PORTVERSION= 56 PORTREVISION= 2 CATEGORIES= astro MASTER_SITES= http://moshier.net/ +EXTRACT_SUFX= .zip MAINTAINER= frank@dynamical-systems.org COMMENT= Self-contained ephemeris calculator -EXTRACT_BEFORE_ARGS= -aqo - -NO_STAGE= yes -USE_ZIP= yes MAKEFILE= makefile +USES= dos2unix ALL_TARGET= aa MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall" NO_WRKSUBDIR= yes SUB_FILES= pkg-message -PORTDOCS= read.me readme.404 Readme.FreeBSD +PORTDOCS= read.me readme.404 PORTDATA= messier.cat orbit.cat star.cat PLIST_FILES= bin/aa etc/aa.ini.default OPTIONS_DEFINE= DOCS -.include - post-patch: @${REINPLACE_CMD} \ 's|%%PREFIX%%|${PREFIX}|g ; s|%%DATADIR%%|${DATADIR}|g' \ ${WRKSRC}/kfiles.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/aa ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/aa.ini ${PREFIX}/etc/aa.ini.default -.if !defined(NOPORTDATA) - @${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${PORTDATA:S|^|${WRKSRC}/|} ${DATADIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/aa ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/aa.ini ${STAGEDIR}${PREFIX}/etc/aa.ini.default + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${PORTDATA:S|^|${WRKSRC}/|} ${STAGEDIR}${DATADIR} post-install: -.if ${PORT_OPTIONS:MDOCS} - @${CAT} ${PKGMESSAGE} > ${WRKSRC}/Readme.FreeBSD - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} -.endif - @${ECHO_MSG} - @${CAT} ${PKGMESSAGE} - @${ECHO_MSG} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include