aboutsummaryrefslogtreecommitdiff
path: root/graphics/xaos/Makefile
blob: 0ede97603990027905c0e38f234577f2f37689b1 (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
# 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.8 1998/09/17 00:50:49 asami Exp $
#

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

MAINTAINER=	jkoshy@freebsd.org

LIB_DEPENDS=	png.2:${PORTSDIR}/graphics/png

USE_XLIB=	yes

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

GNU_CONFIGURE=	yes
CONFIGURE_ENV=  LDFLAGS=-L${LOCALBASE}/lib

CFLAGS=		-DHAVE_SYS_PARAM_H \
		-I${PREFIX}/include \
		-pipe -O6 -fstrength-reduce -ffast-math -fomit-frame-pointer\
		-fforce-mem -fforce-addr -funroll-loops
MAN6=		xaos.6

post-install:
	strip ${PREFIX}/bin/xaos
	if [ ! -f ${PREFIX}/info/dir ]; then \
		${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
	fi
	install-info ${PREFIX}/info/xaos.info ${PREFIX}/info/dir

.include <bsd.port.mk>