summaryrefslogtreecommitdiff
path: root/math/visualpolylib/Makefile
blob: 284c283ed6df58886adeb326c8487123c0b1faff (plain)
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

PORTNAME=	visualpolylib
DISTVERSION=	0.9
DISTVERSIONSUFFIX=	e
CATEGORIES=	math
MASTER_SITES=	http://icps.u-strasbg.fr/polylib/download/
DISTNAME=	${PORTNAME}.${DISTVERSION}${DISTVERSIONSUFFIX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Visualization program for PolyLib

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2 \
		libgmp.so:math/gmp \
		libpolylibgmp.so:math/polylib

USES=		gettext-runtime gmake gnome pkgconfig
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-static \
		--with-polylib=${LOCALBASE}/lib/libpolylibgmp.so
USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk20 pango

CFLAGS+=	-fcommon # notified the maontainer via e-mail on Sep 19, 2020

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>