aboutsummaryrefslogtreecommitdiff
path: root/graphics/xmountains
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-09-16 14:27:12 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-09-16 14:27:12 +0000
commit53fc4496e55495dba66ce262c40a2ef8b43e7177 (patch)
treee3acda3ba12c331cd6dbf60028e05816e74094fd /graphics/xmountains
parent4e80e27d2ac29978532b78f000d62b190a57b587 (diff)
downloadports-53fc4496e55495dba66ce262c40a2ef8b43e7177.tar.gz
ports-53fc4496e55495dba66ce262c40a2ef8b43e7177.zip
Notes
Diffstat (limited to 'graphics/xmountains')
-rw-r--r--graphics/xmountains/Makefile25
-rw-r--r--graphics/xmountains/distinfo6
-rw-r--r--graphics/xmountains/files/patch-aa15
3 files changed, 20 insertions, 26 deletions
diff --git a/graphics/xmountains/Makefile b/graphics/xmountains/Makefile
index c38d30999bbc..43ae5a4c1626 100644
--- a/graphics/xmountains/Makefile
+++ b/graphics/xmountains/Makefile
@@ -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@FreeBSD.org
@@ -18,9 +16,20 @@ COMMENT= X11 based fractal landscape generator
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 --git a/graphics/xmountains/distinfo b/graphics/xmountains/distinfo
index b80a7736f921..5bd2ada37149 100644
--- a/graphics/xmountains/distinfo
+++ b/graphics/xmountains/distinfo
@@ -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 --git a/graphics/xmountains/files/patch-aa b/graphics/xmountains/files/patch-aa
deleted file mode 100644
index 7db3b9b82f45..000000000000
--- a/graphics/xmountains/files/patch-aa
+++ /dev/null
@@ -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)
-
-