Date: Fri, 17 Jan 2014 14:09:01 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340039 - head/astro/aa Message-ID: <201401171409.s0HE91F2005441@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> - 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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401171409.s0HE91F2005441>