Update graphics/oidn to version 1.4.1
[dports.git] / graphics / figurine / Makefile
1 # Created by: Marc Fonvieille <blackend@FreeBSD.org>
2
3 PORTNAME=       figurine
4 PORTVERSION=    1.0.5
5 PORTREVISION=   5
6 CATEGORIES=     graphics
7 MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
8
9 MAINTAINER=     ports@FreeBSD.org
10 COMMENT=        Drawing program for X11
11
12 LICENSE=        GPLv2
13
14 BROKEN_FreeBSD_13=      ld: error: duplicate symbol: numfontnames
15 BROKEN_FreeBSD_14=      ld: error: duplicate symbol: numfontnames
16
17 RUN_DEPENDS=    fig2dev:print/transfig
18
19 OPTIONS_DEFINE= DOCS
20
21 GNU_CONFIGURE=  yes
22 USES=           xorg
23 USE_XORG=       xpm
24
25 PLIST_FILES=    bin/figurine \
26                 man/man1/figurine.1.gz
27
28 PORTDOCS=       *
29
30 # Optimizations produce bad assembly code on sparc64
31 CFLAGS_sparc64= -O0
32
33 post-patch:
34         @${REINPLACE_CMD} -e 's|datadir = @datadir@|datadir = @datadir@/doc|' \
35                 ${WRKSRC}/Makefile.in \
36                 ${WRKSRC}/src/Makefile.in \
37                 ${WRKSRC}/Doc/Makefile.in \
38                 ${WRKSRC}/examples/Makefile.in
39
40 post-patch-DOCS-off:
41         @${REINPLACE_CMD} -e "s|Doc examples src|src|" \
42                 ${WRKSRC}/Makefile.in
43
44 .include <bsd.port.mk>