diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2003-05-02 22:06:49 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2003-05-02 22:06:49 +0000 |
commit | 1ed8a8e88c1174b50038f57e3dc279ec545a2abc (patch) | |
tree | 0dd44b6fe707b17700481c9d2e2977d8a003409a /astro/xtide | |
parent | Update to CMUCL 18e. (diff) |
Update to version 2.5
PR: 51666
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=80021
Diffstat (limited to 'astro/xtide')
-rw-r--r-- | astro/xtide/Makefile | 20 | ||||
-rw-r--r-- | astro/xtide/distinfo | 2 | ||||
-rw-r--r-- | astro/xtide/files/patch-makefile | 14 |
3 files changed, 20 insertions, 16 deletions
diff --git a/astro/xtide/Makefile b/astro/xtide/Makefile index 2ff5a92987d6..d5487436d284 100644 --- a/astro/xtide/Makefile +++ b/astro/xtide/Makefile @@ -6,7 +6,7 @@ # PORTNAME= xtide -PORTVERSION= 2.4 +PORTVERSION= 2.5 CATEGORIES= astro MASTER_SITES= ftp://bel-marduk.unh.edu/xtide/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} harmonics.txt.gz @@ -19,24 +19,28 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png IGNOREFILES= harmonics.txt.gz -USE_XPM= yes USE_X_PREFIX= yes +USE_XPM= yes +USE_REINPLACE= yes GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + MAN1= xtide.1 tide.1 -MANCOMPRESSED= no post-extract: @${GZCAT} ${DISTDIR}/harmonics.txt.gz > ${WRKSRC}/harmonics post-patch: - @${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/TideContext.cc + @${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 ${PREFIX}/man/man1/xtide.1 - ${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/tide.1 ${PREFIX}/man/man1/tide.1 - @${MKDIR} ${PREFIX}/share/xtide - ${INSTALL_DATA} ${WRKSRC}/harmonics ${PREFIX}/share/xtide + ${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} .include <bsd.port.mk> diff --git a/astro/xtide/distinfo b/astro/xtide/distinfo index 3e0abc205d61..eb61013d0ad9 100644 --- a/astro/xtide/distinfo +++ b/astro/xtide/distinfo @@ -1,2 +1,2 @@ -MD5 (xtide-2.4.tar.gz) = 8ae0e57f68b1df5e6594a609ef8e2271 +MD5 (xtide-2.5.tar.gz) = 8b98e5fb62610ac91d79ab4eb3ec7659 MD5 (harmonics.txt.gz) = IGNORE diff --git a/astro/xtide/files/patch-makefile b/astro/xtide/files/patch-makefile index c4f1207de596..b1802637ae29 100644 --- a/astro/xtide/files/patch-makefile +++ b/astro/xtide/files/patch-makefile @@ -1,13 +1,13 @@ ---- Makefile.in.old Tue May 30 16:26:52 2000 -+++ Makefile.in Tue May 30 16:27:01 2000 -@@ -14,7 +14,7 @@ +--- Makefile.in.orig Tue Apr 30 00:10:21 2002 ++++ Makefile.in Thu May 1 23:26:55 2003 +@@ -13,8 +13,8 @@ # Compiler and flags # DEFS should include -Dacceptarg3_t=int (replace with the correct data type) CXX = @CXX@ -CXXFLAGS = @extracxxflags@ @DEFS@ -O2 -I@includedir@ -I$(XROOT)/include -I/usr/local/include -I/usr/contrib/include -c -+CXXFLAGS = @extracxxflags@ @DEFS@ -I@includedir@ -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 -s -o +-LDFLAGS = @extraldflags@ -L@libdir@ -L$(XROOT)/lib -L/usr/local/lib -L/usr/contrib/lib -o ++CXXFLAGS = @CXXFLAGS@ @extracxxflags@ @DEFS@ -I$(XROOT)/include @CPPFLAGS@ -c ++LDFLAGS = @LDFLAGS@ @extraldflags@ -L$(XROOT)/lib -o # Extra switches and libs determined by configure.in - - + extraswitches=@extraswitches@ |