Date: Sun, 17 Jul 2005 23:00:08 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83608: Update port: astro/xtide to 2.8.2 Message-ID: <20050717230008.7e11d82e.tkato432@yahoo.com> Resent-Message-ID: <200507171410.j6HEABjq028316@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83608 >Category: ports >Synopsis: Update port: astro/xtide to 2.8.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 17 14:10:11 GMT 2005 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.11-RELEASE-p11 i386 >Organization: >Environment: >Description: - Update to version 2.8.2 >How-To-Repeat: >Fix: diff -urN /usr/ports/astro/xtide/Makefile astro/xtide/Makefile --- /usr/ports/astro/xtide/Makefile Tue Apr 12 14:01:02 2005 +++ astro/xtide/Makefile Sun Jul 17 00:00:21 2005 @@ -6,10 +6,10 @@ # PORTNAME= xtide -PORTVERSION= 2.6.4 +PORTVERSION= 2.8.2 CATEGORIES= astro MASTER_SITES= ftp://bel-marduk.unh.edu/xtide/ -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} harmonics-2004-02-08.tcd.gz +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} harmonics-dwf-2005-06-05-v2.tcd.gz EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org @@ -20,28 +20,34 @@ USE_X_PREFIX= yes USE_XPM= yes USE_REINPLACE= yes +USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ENV= extracxxflags="${CPPFLAGS}" extraldflags="${LDFLAGS}" MAN1= tide.1 xtide.1 -PLIST_FILES= bin/tide bin/xtide %%DATADIR%%/harmonics.tcd +MAN8= xttpd.8 +PLIST_FILES= bin/tide bin/xtide bin/xttpd %%DATADIR%%/harmonics.tcd PLIST_DIRS= %%DATADIR%% +CPPFLAGS= `pkg-config --cflags-only-I libpng12` -I${LOCALBASE}/include +LDFLAGS= `pkg-config --libs-only-L libpng12` -L${LOCALBASE}/lib + post-extract: - @${GZCAT} ${DISTDIR}/harmonics-2004-02-08.tcd.gz \ + @${GZCAT} ${DISTDIR}/harmonics-dwf-2005-06-05-v2.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 + @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/TideContext.cc do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/tide ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/xtide.1 ${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/xttpd ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/tide.1 ${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/xtide.1 ${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/xttpd.8 ${MAN8PREFIX}/man/man8 @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/harmonics.tcd ${DATADIR} diff -urN /usr/ports/astro/xtide/distinfo astro/xtide/distinfo --- /usr/ports/astro/xtide/distinfo Mon Mar 29 13:28:29 2004 +++ astro/xtide/distinfo Sat Jul 16 23:24:36 2005 @@ -1,4 +1,4 @@ -MD5 (xtide-2.6.4.tar.gz) = 6b0d5f99586a6356dbfa498629d8f793 -SIZE (xtide-2.6.4.tar.gz) = 519254 -MD5 (harmonics-2004-02-08.tcd.gz) = 0217f409a98c88a70220ac8d9c091ac7 -SIZE (harmonics-2004-02-08.tcd.gz) = 839579 +MD5 (xtide-2.8.2.tar.gz) = 3218480ad7e147549b56cfa9fa103b50 +SIZE (xtide-2.8.2.tar.gz) = 528525 +MD5 (harmonics-dwf-2005-06-05-v2.tcd.gz) = 2c7e2c5ee2ae5c8b95b926ec8c3ecf56 +SIZE (harmonics-dwf-2005-06-05-v2.tcd.gz) = 392135 diff -urN /usr/ports/astro/xtide/files/patch-makefile astro/xtide/files/patch-makefile --- /usr/ports/astro/xtide/files/patch-makefile Mon Mar 29 13:28:30 2004 +++ astro/xtide/files/patch-makefile Sat Jul 16 23:47:36 2005 @@ -1,15 +1,13 @@ ---- Makefile.in.orig Thu Nov 21 02:43:25 2002 -+++ Makefile.in Sun Mar 28 02:13:53 2004 -@@ -14,9 +14,9 @@ +--- Makefile.in.orig Mon Dec 20 23:15:05 2004 ++++ Makefile.in Sat Jul 16 23:47:26 2005 +@@ -11,8 +11,8 @@ # DEFS should include -Dacceptarg3_t=int (replace with the correct data type) - CC = @CC@ CXX = @CXX@ --CFLAGS = @extracflags@ @DEFS@ -O2 -I@includedir@ -Ilibtcd -c --CXXFLAGS = @extracxxflags@ @DEFS@ -O2 -I@includedir@ -Ilibtcd -I$(XROOT)/include -I/usr/local/include -I/usr/contrib/include -c --LDFLAGS = @extraldflags@ -L@libdir@ -L$(XROOT)/lib -L/usr/local/lib -L/usr/contrib/lib -o -+CFLAGS = @CFLAGS@ @extracflags@ @DEFS@ -I@includedir@ -Ilibtcd @CPPFLAGS@ -c -+CXXFLAGS = @CXXFLAGS@ @extracxxflags@ @DEFS@ -I@includedir@ -Ilibtcd -I$(XROOT)/include @CPPFLAGS@ -c -+LDFLAGS = @LDFLAGS@ @extraldflags@ -L@libdir@ -L$(XROOT)/lib -o + CC = @CC@ +-CXXFLAGS = @extracxxflags@ @DEFS@ -I@includedir@ -Ilibtcd -I@xroot@/include @normalcxxflags@ -c +-LDFLAGS = @extraldflags@ -L@libdir@ -L@xlibdir@ @normalldflags@ -o ++CXXFLAGS = @CXXFLAGS@ @DEFS@ -I@includedir@ -Ilibtcd -I@xroot@/include @extracxxflags@ -c ++LDFLAGS = @LDFLAGS@ -L@libdir@ -L@xlibdir@ @extraldflags@ -o # Extra switches and libs determined by configure.in extraswitches=@extraswitches@ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050717230008.7e11d82e.tkato432>