aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xtide/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-29 00:20:45 +0800
committerkrion <krion@FreeBSD.org>2004-03-29 00:20:45 +0800
commit700e98ceb50e6d552d1c421af0d0ab0dec9c25a0 (patch)
treeba55c6099f9970dc7c8fec838f62bb833298aa4e /astro/xtide/Makefile
parent78e6ab6c6878e608be95e5afa8839da310aade02 (diff)
downloadfreebsd-ports-gnome-700e98ceb50e6d552d1c421af0d0ab0dec9c25a0.tar.gz
freebsd-ports-gnome-700e98ceb50e6d552d1c421af0d0ab0dec9c25a0.tar.zst
freebsd-ports-gnome-700e98ceb50e6d552d1c421af0d0ab0dec9c25a0.zip
- Update to version 2.6.4
PR: ports/64849 Submitted by: Ports Fury
Diffstat (limited to 'astro/xtide/Makefile')
-rw-r--r--astro/xtide/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/astro/xtide/Makefile b/astro/xtide/Makefile
index d5487436d284..078d5fd9ae30 100644
--- a/astro/xtide/Makefile
+++ b/astro/xtide/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= xtide
-PORTVERSION= 2.5
+PORTVERSION= 2.6.4
CATEGORIES= astro
MASTER_SITES= ftp://bel-marduk.unh.edu/xtide/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} harmonics.txt.gz
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} harmonics-2004-02-08.tcd.gz
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
@@ -17,8 +17,6 @@ COMMENT= Harmonic tide clock and tide predictor
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
-IGNOREFILES= harmonics.txt.gz
-
USE_X_PREFIX= yes
USE_XPM= yes
USE_REINPLACE= yes
@@ -27,13 +25,17 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-MAN1= xtide.1 tide.1
+MAN1= tide.1 xtide.1
+PLIST_FILES= bin/tide bin/xtide %%DATADIR%%/harmonics.tcd
+PLIST_DIRS= %%DATADIR%%
post-extract:
- @${GZCAT} ${DISTDIR}/harmonics.txt.gz > ${WRKSRC}/harmonics
+ @${GZCAT} ${DISTDIR}/harmonics-2004-02-08.tcd.gz \
+ > ${WRKSRC}/harmonics.tcd
post-patch:
@${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/TideContext.cc
+ @${REINPLACE_CMD} -e "s:#include <malloc\.h>::g" ${WRKSRC}/libtcd/tcd.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin
@@ -41,6 +43,6 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/xtide.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/tide.1 ${MANPREFIX}/man/man1
@${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/harmonics ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/harmonics.tcd ${DATADIR}
.include <bsd.port.mk>