Index: head/astro/xephem/Makefile =================================================================== --- head/astro/xephem/Makefile (revision 496829) +++ head/astro/xephem/Makefile (revision 496830) @@ -1,67 +1,67 @@ # Created by: erich@FreeBSD.org # $FreeBSD$ PORTNAME= xephem PORTVERSION= 3.7.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= astro MASTER_SITES= http://www.clearskyinstitute.com/xephem/ MAINTAINER= jpaetzel@FreeBSD.org COMMENT= Interactive astronomical ephemeris program LIB_DEPENDS= libpng.so:graphics/png \ libfontconfig.so:x11-fonts/fontconfig USES= gmake groff jpeg motif tar:tgz ssl USE_XORG= xp xt xext xmu x11 xft LDFLAGS+= -lfontconfig MAKE_JOBS_UNSAFE= yes WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem RESTRICTED= Personal use only # XXX needs to be the same as DISTFILES XEPHEMSRC= ${PORTNAME}-${PORTVERSION}.tgz .include .for file in ${XEPHEMSRC} .if !exists(${DISTDIR}/${file}) IGNORE= because of licensing restrictions, you must manually fetch ${file}\ from http://www.clearskyinstitute.com/xephem/,\ place it in ${DISTDIR} and then run make again .endif .endfor post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ -e 's|/usr/X11R6|${LOCALBASE}|g' \ ${WRKSRC}/Makefile @${FIND} ${WRKSRC}/../.. -name Makefile -type f | \ ${XARGS} ${REINPLACE_CMD} -e 's|CC = gcc|CC?= ${CC}|g ; \ s|CFLAGS =|CFLAGS+=|g ; \ s|LDFLAGS =|LDFLAGS+=|g ; \ s|-O2 ||g' pre-build: @${ECHO_CMD} 'XEphem.ShareDir: ${PREFIX}/lib/X11/xephem' \ > ${WRKSRC}/XEphem.ad pre-install: @${FIND} ${WRKSRC}/../.. -name Makefile.bak -type f -delete @${CP} ${WRKSRC}/xephem.man ${STAGEDIR}${PREFIX}/man/man1/xephem.1 @${FIND} ${WRKSRC} -name "*.pl" -exec ${SED} -i "" -e 's|/usr/bin/perl|/usr/local/bin/perl|' {} \; do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xephem ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/XEphem.ad ${STAGEDIR}${PREFIX}/lib/X11/app-defaults/XEphem @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xephem @cd ${WRKSRC}; ${COPYTREE_SHARE} \ "auxil catalogs fifos fits gallery help lo" \ ${STAGEDIR}${PREFIX}/lib/X11/xephem .include Index: head/astro/xephem/files/patch-auxil_mpcorb2edb.pl =================================================================== --- head/astro/xephem/files/patch-auxil_mpcorb2edb.pl (revision 496829) +++ head/astro/xephem/files/patch-auxil_mpcorb2edb.pl (revision 496830) @@ -1,11 +1,20 @@ --- auxil/mpcorb2edb.pl.orig 2014-07-11 02:46:35 UTC +++ auxil/mpcorb2edb.pl @@ -78,7 +78,7 @@ EOF # setup cutoff mag my $dimmag = 13; # dimmest mag to be saved in "bright" file # set site and file in case of -f -my $MPCSITE = "http://www.minorplanetcenter.net"; +my $MPCSITE = "https://www.minorplanetcenter.net"; my $MPCFTPDIR = "/iau/MPCORB"; my $MPCFILE = "MPCORB.DAT"; my $MPCZIPFILE = "MPCORB.DAT.gz"; +@@ -247,7 +247,7 @@ sub fetch + { + # transfer + print "Getting $MPCFTPDIR/$MPCZIPFILE from $MPCSITE...\n"; +- $cmd = "curl -connect-timeout 10 -s -u 'anonymous:xephem\@clearskyinstitute.com' $MPCSITE/$MPCFTPDIR/$MPCZIPFILE > $MPCZIPFILE"; ++ $cmd = "curl --connect-timeout 10 -s -u 'anonymous:xephem\@clearskyinstitute.com' $MPCSITE/$MPCFTPDIR/$MPCZIPFILE > $MPCZIPFILE"; + print "$cmd\n"; + !system "$cmd" or exit(1); +