summaryrefslogtreecommitdiff
path: root/graphics/libpotrace/Makefile
blob: 329ec8a0af0ad008d3e051c793adce8f6e7fb53d (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=	libpotrace
PORTVERSION=	1.16
CATEGORIES=	graphics
MASTER_SITES=	SF/potrace/${PORTVERSION}
DISTNAME=	potrace-${PORTVERSION}

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	Library for transforming bitmaps into vector graphics

LICENSE=	GPLv2

USES=		libtool
USE_LDCONFIG=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-libpotrace
INSTALL_TARGET=	install-strip
PLIST_FILES=	include/potracelib.h \
		lib/libpotrace.a \
		lib/libpotrace.so \
		lib/libpotrace.so.0 \
		lib/libpotrace.so.0.0.6

OPTIONS_DEFINE=	METRIC A4
OPTIONS_DEFAULT=METRIC A4
A4_DESC=	Use A4 as the default papersize
A4_CONFIGURE_ENABLE=		a4
METRIC_DESC=	Use metric units (cm) as default
METRIC_CONFIGURE_ENABLE=	metric

.include <bsd.port.mk>