summaryrefslogtreecommitdiff
path: root/graphics/xaos/Makefile
blob: 07112453c2f2759baefe1f52646fb77362ad9664 (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
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:	XaoS
# Version required:			2.2
# Date created:				24 February 1996
# Whom:					Joseph Koshy <koshy@india.hp.com>
#
# $Id: Makefile,v 1.2 1997/03/02 09:49:00 asami Exp $
#

DISTNAME=	XaoS-2.2
PKGNAME=	xaos-2.2
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_XCONTRIB} \
		http://www.tedium.com/XaoS/dist/ \
		ftp://ftp.ta.jcu.cz/pub/linux/hubicka/XaoS/2.2/ \
		http://www.paru.cas.cz/~hubicka/XaoS/dist/
MASTER_SITE_SUBDIR=	graphics

MAINTAINER=	koshy@india.hp.com

# This port will benefit from all-stops-out optimization of the code

GNU_CONFIGURE=	yes
CFLAGS+=	-DHAVE_SYS_PARAM_H \
		-O6 -fstrength-reduce -ffast-math -fomit-frame-pointer\
		-fforce-mem -fforce-addr -funroll-loops

MAN6=		xaos.6

# We need to supply our own install target as the distribution doesn't
# supply one by default

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xaos ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/doc/xaos.6 ${PREFIX}/man/man6

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/XaoS
	${INSTALL_DATA} ${WRKSRC}/doc/tutorial.txt ${PREFIX}/share/doc/XaoS
	${INSTALL_DATA} ${WRKSRC}/doc/algorithm.txt ${PREFIX}/share/doc/XaoS
.endif

.include <bsd.port.mk>