aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2013-08-29 14:16:03 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2013-08-29 14:16:03 +0000
commitbd78be73dd37098fe12c84249b26260a97aa8690 (patch)
tree9e5f9914857b88d20096ab74828a4f78a8fc2483 /astro
parent2890664339f3f4be5834ab1130da80ff4c914a05 (diff)
downloadports-bd78be73dd37098fe12c84249b26260a97aa8690.tar.gz
ports-bd78be73dd37098fe12c84249b26260a97aa8690.zip
Notes
Diffstat (limited to 'astro')
-rw-r--r--astro/xephem/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile
index 5e3fd9eed5ee..1aa7f7ced281 100644
--- a/astro/xephem/Makefile
+++ b/astro/xephem/Makefile
@@ -29,18 +29,13 @@ XEPHEMSRC= ${PORTNAME}-${PORTVERSION}.tar.gz
.include <bsd.port.pre.mk>
.for file in ${XEPHEMSRC}
-.if !exists(${DISTDIR}/${file}) && !defined(PACKAGE_BUILDING)#{
-DISTFILE_INSTRUCTIONS=\n\
+.if !exists(${DISTDIR}/${file})
+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\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|${LOCALBASE}|g' \