summaryrefslogtreecommitdiff
path: root/graphics/xmountains/Makefile
blob: 8d38e5fed7857db221adbee5bfc8ee7bccbdedde (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: proff@iq.org
# $FreeBSD$

PORTNAME=	xmountains
PORTVERSION=	2.9
CATEGORIES=	graphics
MASTER_SITES=	http://www2.epcc.ed.ac.uk/~spb/xmountains/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	X11 based fractal landscape generator

DEPRECATED=	No more public distfiles
EXPIRATION_DATE=	2012-11-26

NO_WRKSUBDIR=	yes

USE_XORG=	xbitmaps x11

MAN6=		${PORTNAME}.6
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

.include <bsd.port.mk>