2013-02-21 00:47:49 +00:00
|
|
|
# Created by: Piotr Smyrak <smyru@heron.pl>
|
2003-12-14 16:09:19 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= potrace
|
2013-02-21 00:47:49 +00:00
|
|
|
PORTVERSION= 1.11
|
2003-12-14 16:09:19 +00:00
|
|
|
CATEGORIES= graphics
|
2009-09-02 15:01:56 +00:00
|
|
|
MASTER_SITES= SF
|
2003-12-14 16:09:19 +00:00
|
|
|
|
|
|
|
MAINTAINER= smyru@heron.pl
|
|
|
|
COMMENT= Transforms bitmaps into vector graphics
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2007-04-17 19:41:34 +00:00
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
2003-12-26 13:25:39 +00:00
|
|
|
MAN1= potrace.1 mkbitmap.1
|
2007-04-17 19:41:34 +00:00
|
|
|
.endif
|
2004-03-07 09:10:17 +00:00
|
|
|
PLIST_FILES= bin/potrace bin/mkbitmap
|
2003-12-14 16:09:19 +00:00
|
|
|
|
2013-02-21 00:47:49 +00:00
|
|
|
OPTIONS_DEFINE= METRIC A4
|
|
|
|
OPTIONS_DEFAULT=METRIC A4
|
2011-01-26 11:51:25 +00:00
|
|
|
|
2013-02-21 00:47:49 +00:00
|
|
|
METRIC_DESC= Use metric units (cm) as default
|
|
|
|
A4_DESC= Use A4 as the default papersize
|
2011-01-26 11:52:30 +00:00
|
|
|
|
2013-02-21 00:47:49 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MA4}
|
2003-12-14 16:09:19 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-a4
|
|
|
|
.endif
|
|
|
|
|
2013-02-21 00:47:49 +00:00
|
|
|
.if ${PORT_OPTIONS:MMETRIC}
|
2003-12-14 16:09:19 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-metric
|
|
|
|
.endif
|
|
|
|
|
2007-04-17 19:41:34 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/potrace ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/mkbitmap ${PREFIX}/bin
|
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/potrace.1 ${MAN1PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/mkbitmap.1 ${MAN1PREFIX}/man/man1
|
|
|
|
.endif
|
|
|
|
|
2013-02-21 00:47:49 +00:00
|
|
|
.include <bsd.port.mk>
|