aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/figurine/Makefile
blob: e23fccf5248511570f0b0c172e28f24729190dbb (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
# Created by: Marc Fonvieille <blackend@FreeBSD.org>
# $FreeBSD$

PORTNAME=   figurine
PORTVERSION=    1.0.5
PORTREVISION=   5
CATEGORIES= graphics
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Drawing program for X11

LICENSE=    GPLv2

OPTIONS_DEFINE= DOCS

RUN_DEPENDS=    fig2dev:print/transfig

GNU_CONFIGURE=  yes
USE_XORG=   xpm

PLIST_FILES=    bin/figurine \
        man/man1/figurine.1.gz

PORTDOCS=   *

# Optimizations produce bad assembly code on sparc64
CFLAGS_sparc64= -O0

post-patch:
    @${REINPLACE_CMD} -e 's|datadir = @datadir@|datadir = @datadir@/doc|' \
        ${WRKSRC}/Makefile.in \
        ${WRKSRC}/src/Makefile.in \
        ${WRKSRC}/Doc/Makefile.in \
        ${WRKSRC}/examples/Makefile.in

post-patch-DOCS-off:
    @${REINPLACE_CMD} -e "s|Doc examples src|src|" \
        ${WRKSRC}/Makefile.in

.include <bsd.port.mk>