2013-09-20 18:35:44 +00:00
|
|
|
# Created by: Marc Fonvieille <blackend@FreeBSD.org>
|
2002-09-19 19:42:20 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= figurine
|
|
|
|
PORTVERSION= 1.0.5
|
2012-06-01 05:26:28 +00:00
|
|
|
PORTREVISION= 5
|
2002-09-19 19:42:20 +00:00
|
|
|
CATEGORIES= graphics
|
2009-08-22 00:23:13 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2002-09-19 19:42:20 +00:00
|
|
|
|
2008-02-25 22:22:46 +00:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2014-02-05 10:21:20 +00:00
|
|
|
COMMENT= Drawing program for X11
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
2002-09-19 19:42:20 +00:00
|
|
|
|
|
|
|
RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2008-03-21 21:36:23 +00:00
|
|
|
USE_XORG= xpm
|
2002-09-19 19:42:20 +00:00
|
|
|
|
2014-02-05 10:21:20 +00:00
|
|
|
PLIST_FILES= bin/figurine \
|
|
|
|
man/man1/figurine.1.gz
|
|
|
|
|
|
|
|
PORTDOCS= *
|
2002-09-19 19:42:20 +00:00
|
|
|
|
2014-02-05 10:21:20 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2008-02-25 22:22:46 +00:00
|
|
|
|
|
|
|
# Optimizations produce bad assembly code on sparc64
|
|
|
|
.if ${ARCH} == "sparc64"
|
2008-04-16 18:07:17 +00:00
|
|
|
CFLAGS+= -O0
|
2008-02-25 22:22:46 +00:00
|
|
|
.endif
|
|
|
|
|
2002-09-19 19:42:20 +00:00
|
|
|
post-patch:
|
2014-02-05 10:21:20 +00:00
|
|
|
.if !${PORT_OPTIONS:MDOCS}
|
2002-09-19 19:42:20 +00:00
|
|
|
@${REINPLACE_CMD} -e "s|Doc examples src|src|" \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
2008-02-25 22:22:46 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|datadir = @datadir@|datadir = @datadir@/doc|' \
|
|
|
|
${WRKSRC}/Makefile.in \
|
|
|
|
${WRKSRC}/src/Makefile.in \
|
|
|
|
${WRKSRC}/Doc/Makefile.in \
|
|
|
|
${WRKSRC}/examples/Makefile.in
|
2002-09-19 19:42:20 +00:00
|
|
|
|
2014-02-05 10:21:20 +00:00
|
|
|
.include <bsd.port.mk>
|