1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/graphics/figurine/Makefile
2021-04-06 16:31:07 +02:00

45 lines
971 B
Makefile

# Created by: Marc Fonvieille <blackend@FreeBSD.org>
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
BROKEN_FreeBSD_13= ld: error: duplicate symbol: numfontnames
BROKEN_FreeBSD_14= ld: error: duplicate symbol: numfontnames
RUN_DEPENDS= fig2dev:print/transfig
OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes
USES= xorg
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>