aboutsummaryrefslogtreecommitdiff
path: root/graphics/xmountains
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-03-27 10:12:40 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-03-27 10:12:40 +0000
commit058539f2812df25c26ae21fc891eb1e2d3ce318c (patch)
treecd68a0b72ecf9e8401ae48d5c326e51ec9d2529d /graphics/xmountains
parent15cc826cd23746706bc94951d4d80a32bacb613a (diff)
downloadports-058539f2812df25c26ae21fc891eb1e2d3ce318c.tar.gz
ports-058539f2812df25c26ae21fc891eb1e2d3ce318c.zip
Notes
Diffstat (limited to 'graphics/xmountains')
-rw-r--r--graphics/xmountains/Makefile10
-rw-r--r--graphics/xmountains/distinfo5
2 files changed, 7 insertions, 8 deletions
diff --git a/graphics/xmountains/Makefile b/graphics/xmountains/Makefile
index 43ae5a4c1626..e9c9f41e6fda 100644
--- a/graphics/xmountains/Makefile
+++ b/graphics/xmountains/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= xmountains
-PORTVERSION= 2.8
+PORTVERSION= 2.9
CATEGORIES= graphics
MASTER_SITES= http://www2.epcc.ed.ac.uk/~spb/xmountains/
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -17,10 +17,6 @@ COMMENT= X11 based fractal landscape generator
NO_WRKSUBDIR= yes
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}
@@ -28,6 +24,10 @@ PLIST_FILES= bin/${PORTNAME}
post-extract:
@${LN} -sf ${PORTNAME}.man ${WRKSRC}/${PORTNAME}.6
+do-build:
+ cd ${BUILD_WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include *.c \
+ -o ${PORTNAME} -L${LOCALBASE}/lib -lX11 -lm
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${MAN6PREFIX}/man/man6
diff --git a/graphics/xmountains/distinfo b/graphics/xmountains/distinfo
index 5bd2ada37149..e1b72f339acf 100644
--- a/graphics/xmountains/distinfo
+++ b/graphics/xmountains/distinfo
@@ -1,3 +1,2 @@
-MD5 (xmountains_2.8.tar.gz) = e5d55515315227f7849f62e449601fb8
-SHA256 (xmountains_2.8.tar.gz) = 2c9e49ea6802dcb6c8b47415d3a454363218baa6c0636ccc25c996222c138725
-SIZE (xmountains_2.8.tar.gz) = 27985
+SHA256 (xmountains_2.9.tar.gz) = 3830f48ab46d770f0ce1c5e8fd1861e28fa1b8373aa82fac66a563f017aaee89
+SIZE (xmountains_2.9.tar.gz) = 27951