ports/138817: Update port: graphics/xmountains to 2.8
KATO Tsuguru
tkato432 at yahoo.com
Mon Sep 14 18:10:04 UTC 2009
>Number: 138817
>Category: ports
>Synopsis: Update port: graphics/xmountains to 2.8
>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: Mon Sep 14 18:10:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.2-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Update to version 2.8
Remove file:
files/patch-aa
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/xmountains/Makefile graphics/xmountains/Makefile
--- /usr/ports/graphics/xmountains/Makefile 2008-05-13 22:11:05.000000000 +0900
+++ graphics/xmountains/Makefile 2009-09-05 16:45:25.000000000 +0900
@@ -6,11 +6,9 @@
#
PORTNAME= xmountains
-PORTVERSION= 2.7
-PORTREVISION= 1
+PORTVERSION= 2.8
CATEGORIES= graphics
-MASTER_SITES= http://www2.epcc.ed.ac.uk/~spb/xmountains/ \
- GENTOO/distfiles
+MASTER_SITES= http://www2.epcc.ed.ac.uk/~spb/xmountains/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
@@ -18,9 +16,20 @@
NO_WRKSUBDIR= yes
-USE_IMAKE= yes
-USE_XORG= xbitmaps x11 xext
-MAN6= xmountains.6
-PLIST_FILES= bin/xmountains
+USE_XORG= xbitmaps x11
+MAKEFILE= Makefile.alt
+ALL_TARGET= ${PORTNAME}
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN6= ${PORTNAME}.6
+PLIST_FILES= bin/${PORTNAME}
+
+post-extract:
+ @${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.6
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${MAN6PREFIX}/man/man6
.include <bsd.port.mk>
diff -urN /usr/ports/graphics/xmountains/distinfo graphics/xmountains/distinfo
--- /usr/ports/graphics/xmountains/distinfo 2005-11-26 19:25:38.000000000 +0900
+++ graphics/xmountains/distinfo 2009-09-05 16:36:34.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (xmountains_2.7.tar.gz) = 871c43cc065b20a42b9da3e8ecaa5293
-SHA256 (xmountains_2.7.tar.gz) = acd280b909e043004f8cfbec3be36ad127674ee7e99c25089c876c2278f80966
-SIZE (xmountains_2.7.tar.gz) = 27616
+MD5 (xmountains_2.8.tar.gz) = e5d55515315227f7849f62e449601fb8
+SHA256 (xmountains_2.8.tar.gz) = 2c9e49ea6802dcb6c8b47415d3a454363218baa6c0636ccc25c996222c138725
+SIZE (xmountains_2.8.tar.gz) = 27985
diff -urN /usr/ports/graphics/xmountains/files/patch-aa graphics/xmountains/files/patch-aa
--- /usr/ports/graphics/xmountains/files/patch-aa 2002-11-20 23:45:47.000000000 +0900
+++ graphics/xmountains/files/patch-aa 1970-01-01 09:00:00.000000000 +0900
@@ -1,15 +0,0 @@
---- Imakefile.orig Fri Mar 30 21:47:58 2001
-+++ Imakefile Sat Nov 9 15:28:34 2002
-@@ -1,9 +1,10 @@
--LOCAL_LIBRARIES = -lX11
-- SYS_LIBRARIES = -lm
-+LOCAL_LIBRARIES = $(XLIB)
-+ SYS_LIBRARIES = MathLibrary
- SRCS = calcalt.c random.c artist.c xmountains.c X_graphics.c print_alg.c
- OBJS = calcalt.o random.o artist.o xmountains.o X_graphics.o print_alg.o
- HDRS = crinkle.h paint.h patchlevel.h copyright.h vroot.h
- SHARS = README $(SRCS) $(HDRS) Imakefile xmountains.man Makefile.alt
-+ MANSUFFIX = 6
- ComplexProgramTarget(xmountains)
-
-
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list