diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-05 07:14:03 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-05 07:14:03 +0000 |
commit | c9d2c0c054bb14b09b8cd6128c5d7d41b9c1feb0 (patch) | |
tree | 4c49a80ebab3ed9719c87ead361db2c2d42339bb /astro/xrmap/Makefile | |
parent | Fix @unexec (diff) |
Update ports misc/xrmap to 2.26
- Now fetch and install automatically the data file needed by xrmap
and a lot of goodies.
- A lot of improvement since 2.10
- A lot of bug fix since 2.10
PR: ports/50492
Submitted by: Serge Gagnon <gagnon__s@videotron.ca>
Notes
Notes:
svn path=/head/; revision=78265
Diffstat (limited to 'astro/xrmap/Makefile')
-rw-r--r-- | astro/xrmap/Makefile | 48 |
1 files changed, 34 insertions, 14 deletions
diff --git a/astro/xrmap/Makefile b/astro/xrmap/Makefile index 3f816d7fe9a2..f07a99bd242e 100644 --- a/astro/xrmap/Makefile +++ b/astro/xrmap/Makefile @@ -6,27 +6,47 @@ # PORTNAME= xrmap -PORTVERSION= 2.10 +PORTVERSION= 2.26 CATEGORIES= misc -MASTER_SITES= ftp://ftp.ac-grenoble.fr/ge/geosciences/xrmap/ -EXTRACT_SUFX= .tgz - -MAINTAINER= ports@FreeBSD.org +MASTER_SITES= ftp://ftp.ac-grenoble.fr/ge/geosciences/xrmap/ \ + ftp://ftp.ac-grenoble.fr/ge/geosciences/xrmap/data/ \ + http://frmas.free.fr/files/ +DISTFILES= ${XRMAPFILE} ${DISTFILE} \ + pdfmaps-1.1.tar.gz ${CIAFILE} +EXTRACT_ONLY= ${XRMAPFILE} + +MAINTAINER= gagnon__s@videotron.ca COMMENT= Map portions of the earth from a given longitude/latitude +USE_BZIP2= yes USE_IMAKE= yes USE_XPM= yes +USE_REINPLACE= yes MAN1= xrmap.1 -PKGMESSAGE= ${WRKDIR}/pkg-message - -post-patch: - @${PERL} -pi -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/Imakefile - -post-install: - @${SED} "s,%%PREFIX%%,${PREFIX}," < ${FILESDIR}/pkg-message.in > \ - ${PKGMESSAGE} - @${CAT} ${PKGMESSAGE} +CIAFILE= CIA_WDB2.jpd.bz2 +XRMAPFILE= xrmap-2.26.tar.bz2 +DISTFILE= anthems-1.1.tar.bz2 \ + factbook_text_2002.tar.bz2 factbook_html_2002.tar.bz2 \ + flags-1.1.tar.bz2 hymns-1.2.tar.bz2 + +post-extract: + for f in ${DISTFILE}; do \ + ${TAR} -jxf ${DISTDIR}/$${f} -C ${WRKSRC}; \ + done + ${TAR} -zxf ${DISTDIR}/pdfmaps-1.1.tar.gz -C ${WRKSRC} + ${BZIP2_CMD} -dk ${DISTDIR}/${CIAFILE} + ${MV} ${DISTDIR}/CIA_WDB2.jpd ${WRKSRC}/ + +post-configure: + ${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' ${WRKSRC}/editkit/Makefile + +CIAFILE= CIA_WDB2.jpd.bz2 +XRMAPFILE= xrmap-2.26.tar.bz2 +DISTFILE= anthems-1.1.tar.bz2 \ + factbook_text_2002.tar.bz2 factbook_html_2002.tar.bz2 \ + flags-1.1.tar.bz2 hymns-1.2.tar.bz2 .include <bsd.port.mk> |