summaryrefslogtreecommitdiff
path: root/print/fig2dev/Makefile
blob: cc569d0c431cd7490ab177ef75d859b9b215b819 (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
PORTNAME=	fig2dev
PORTVERSION=	3.2.9a
CATEGORIES=	print
MASTER_SITES=	SF/mcj/

MAINTAINER=	pi@FreeBSD.org
COMMENT=	Tools to convert Xfig .fig files
WWW=		https://en.wikipedia.org/wiki/Xfig

LICENSE=	fig2dev
LICENSE_NAME=	fig2dev public license
LICENSE_FILE=	${FILESDIR}/LICENSE
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

LIB_DEPENDS=	libpng.so:graphics/png
RUN_DEPENDS=	ppmtogif:graphics/netpbm

USES=		alias cpe ghostscript:run iconv localbase:ldflags tar:xz xorg
USE_XORG=	xpm

CPE_VENDOR=	xfig_project

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS=	--enable-transfig \
		GSEXE=gs
CFLAGS+=	-Wno-return-type

CONFLICTS_INSTALL=	transfig

.include <bsd.port.mk>