diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-17 14:09:01 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-01-17 14:09:01 +0000 |
commit | 01a8c1e12642e98a9f896c4fe4333e24120cd5ee (patch) | |
tree | 08e3d416f27865dda759a26a80ce8a3280cfe2bf /astro | |
parent | c3fce02617dffd9cc0719599869d72a1645c14e8 (diff) | |
download | ports-01a8c1e12642e98a9f896c4fe4333e24120cd5ee.tar.gz ports-01a8c1e12642e98a9f896c4fe4333e24120cd5ee.zip |
Notes
Diffstat (limited to 'astro')
-rw-r--r-- | astro/aa/Makefile | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/astro/aa/Makefile b/astro/aa/Makefile index 45a0387a368c..422d32e62203 100644 --- a/astro/aa/Makefile +++ b/astro/aa/Makefile @@ -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> |