- Update to 2.10

- Switch MASTER_SITES to https://
- Update WWW
This commit is contained in:
Alex Kozlov 2021-02-22 14:56:07 +00:00
parent e06cd8c781
commit 271379175e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566301
4 changed files with 12 additions and 17 deletions

View file

@ -2,16 +2,16 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= xmountains PORTNAME= xmountains
PORTVERSION= 2.9 PORTVERSION= 2.10
CATEGORIES= graphics x11 CATEGORIES= graphics x11
MASTER_SITES= ftp://ftp.mirrorservice.org/sites/archive.raspbian.org/raspbian/pool/main/x/xmountains/ \ MASTER_SITES= https://ftp.mirrorservice.org/sites/archive.raspbian.org/raspbian/pool/main/x/xmountains/ \
ftp://ftp.unicamp.br/pub/debian/pool/main/x/xmountains/ https://ftp.unicamp.br/pub/debian/pool/main/x/xmountains/
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ak@FreeBSD.org MAINTAINER= ak@FreeBSD.org
COMMENT= X11 based fractal landscape generator COMMENT= X11 based fractal landscape generator
NO_WRKSUBDIR= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= xorg USES= xorg
USE_XORG= xbitmaps x11 USE_XORG= xbitmaps x11
@ -25,7 +25,9 @@ post-extract:
@${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.6 @${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.6
do-build: do-build:
(cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} *.c -lX11 -lm -o ${PORTNAME}) (cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} \
calcalt.c random.c artist.c global.c xmountains.c X_graphics.c print_alg.c \
-lX11 -lm -o ${PORTNAME})
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

View file

@ -1,2 +1,3 @@
SHA256 (xmountains_2.9.orig.tar.gz) = 3830f48ab46d770f0ce1c5e8fd1861e28fa1b8373aa82fac66a563f017aaee89 TIMESTAMP = 1613932039
SIZE (xmountains_2.9.orig.tar.gz) = 27951 SHA256 (xmountains_2.10.orig.tar.gz) = 5a6d4f18b5cb1e0d8482faf5b5b95657edb61f98f3bef2042714d9e0fe487f14
SIZE (xmountains_2.10.orig.tar.gz) = 1192498

View file

@ -1,10 +0,0 @@
Index: xmountains.c
@@ -16,7 +16,7 @@
char scroll_Id[]="$Id: xmountains.c,v 1.43 2010/12/17 09:25:36 spb Exp $";
extern Graph g;
Parm fold_param;
-char *display;
+extern char *display;
extern char *geom;
extern int swosh;

View file

@ -3,3 +3,5 @@ random fractal surfaces and displays them in a window. While the
program is running the fractal is continuously extended on the right program is running the fractal is continuously extended on the right
and the image is scrolled from right to left to expose the newly and the image is scrolled from right to left to expose the newly
generated area. generated area.
WWW: https://spbooth.github.io/xmountains/