aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xfractint/Makefile
blob: 1bc8b103d92ab66149051c8f3fdc2d41f9e60686 (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
# New ports collection makefile for:    xfractint
# Date created:     7 Sept 1995
# Whom:         cacho@mexicano.gdl.iteso.mx
#
# $FreeBSD$
#

PORTNAME=   xfractint
PORTVERSION=    20.04p12
CATEGORIES= graphics
MASTER_SITES=   http://www.fractint.org/ftp/current/linux/  \
        http://twegner.dyndns.org/fractint/ftp/current/linux/

MAINTAINER= onemda@gmail.com
COMMENT=    The Unix port of fractint

USE_GMAKE=  yes
USE_XORG=   x11 xft

ALL_TARGET= ${PORTNAME}

MAN1=       ${PORTNAME}.1

DESKTOP_ENTRIES+="Xfracint" "${COMMENT}" "" "${PORTNAME}" "" "false"

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800000
EXTRA_PATCHES+= ${FILESDIR}/extra-unix__fpu087.c
.endif

do-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/xfractint ${PREFIX}/bin/${PORTNAME}
    @${INSTALL_MAN} ${WRKSRC}/unix/xfractint.man ${PREFIX}/man/man1/${MAN1}
    @${MKDIR} ${DATADIR}
    @${INSTALL_DATA} ${WRKSRC}/fractint.hlp ${DATADIR}
    @${INSTALL_DATA} ${WRKSRC}/sstools.ini ${DATADIR}
.for dir in formulas ifs lsystem maps pars
    @cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${DATADIR}
.endfor

.include <bsd.port.post.mk>