summaryrefslogtreecommitdiff
path: root/graphics/libpotrace/Makefile
blob: f0d4b532b988f648ab5b5ce93800b034a410a8bb (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
32
# $FreeBSD$

PORTNAME=	libpotrace
PORTVERSION=	1.11
CATEGORIES=	graphics
MASTER_SITES=	SF
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.1

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>