aboutsummaryrefslogtreecommitdiff
path: root/graphics/xfig/Makefile
blob: 8dd9e4b16af712ed72b73e8a152ecc405e22c92b (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
# Created by: roberto
# $FreeBSD$

PORTNAME=	xfig
PORTVERSION=	3.2.7a
CATEGORIES=	graphics
MASTER_SITES=	SF/mcj/

MAINTAINER=	mjl@luckie.org.nz
COMMENT=	Drawing program for X11

LIB_DEPENDS=	libpng.so:graphics/png \
		libXaw3d.so:x11-toolkits/Xaw3d
RUN_DEPENDS=	fig2dev:print/fig2dev

CONFLICTS=	xfig-[12].* xfig-3.1* xfig-3.2.[1234]*

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}

USES=		desktop-file-utils gmake jpeg tar:xz
GNU_CONFIGURE=	yes
USE_XORG=	ice sm x11 xaw xext xi xmu xpm xt
USE_CSTD=	gnu89
CFLAGS+=	-Wno-return-type -I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

OPTIONS_DEFINE=	DOCS

.include <bsd.port.mk>