diff options
author | jpaetzel <jpaetzel@FreeBSD.org> | 2011-12-13 05:48:08 +0800 |
---|---|---|
committer | jpaetzel <jpaetzel@FreeBSD.org> | 2011-12-13 05:48:08 +0800 |
commit | 77b8b1268a8f1a351d420a9c2ce435e082ef12d0 (patch) | |
tree | b6c365c4f7776e2caad6afe79985a2777c1f5326 /astro | |
parent | 855e9f0022d001babf5e0529ad9319e6fb7da572 (diff) | |
download | freebsd-ports-gnome-77b8b1268a8f1a351d420a9c2ce435e082ef12d0.tar.gz freebsd-ports-gnome-77b8b1268a8f1a351d420a9c2ce435e082ef12d0.tar.zst freebsd-ports-gnome-77b8b1268a8f1a351d420a9c2ce435e082ef12d0.zip |
Fix make readme
PR: ports/163159
Submitted by: Jason Helfman <jhelfman@e-e.com>
Diffstat (limited to 'astro')
-rw-r--r-- | astro/xephem/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile index 894da9fe7db8..f036ebe23ad8 100644 --- a/astro/xephem/Makefile +++ b/astro/xephem/Makefile @@ -33,15 +33,18 @@ XEPHEMSRC= ${PORTNAME}-${PORTVERSION}.tar.gz .include <bsd.port.pre.mk> .for file in ${XEPHEMSRC} -.if !exists(${DISTDIR}/${file}) && !defined(PACKAGE_BUILDING) -ECHO_MSG= ${PRINTF} -IGNORE=:\n\ -Because of licensing restrictions, you must manually fetch\n\ -${file} from http://www.clearskyinstitute.com/xephem/,\n\ -place it in ${DISTDIR} and then run make again.\n +.if !exists(${DISTDIR}/${file}) && !defined(PACKAGE_BUILDING)#{ +DISTFILE_INSTRUCTIONS=\n\ +Because of licensing restrictions, you must manually fetch \n\ ${file} from http://www.clearskyinstitute.com/xephem/, \n\ place it in ${DISTDIR} and then run make again.\n\n .endif .endfor +pre-fetch: +.if defined(DISTFILE_INSTRUCTIONS) + @${PRINTF} "${DISTFILE_INSTRUCTIONS}" + @exit 1 +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|/usr/X11R6|${X11BASE}|g' \ |