2004-06-22 09:57:36 +00:00
|
|
|
# New ports collection makefile for: potracegui
|
|
|
|
# Date created: Tue Jun 22 10:03:28 CEST 2004
|
|
|
|
# Whom: Markus Brueffer <markus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= potracegui
|
2006-01-10 10:31:46 +00:00
|
|
|
PORTVERSION= 1.3.4
|
2004-06-22 09:57:36 +00:00
|
|
|
CATEGORIES= graphics kde
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= markus@FreeBSD.org
|
|
|
|
COMMENT= GUI for potrace, a program for tracing bitmap images
|
|
|
|
|
2004-12-22 17:46:02 +00:00
|
|
|
EXTRA_PATCHES= ${.CURDIR}/../../x11/kde3/files/extrapatch-configure
|
2004-06-22 09:57:36 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_KDELIBS_VER=3
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
|
2005-03-04 10:59:27 +00:00
|
|
|
OPTIONS= POTRACE "potrace backend" on \
|
|
|
|
AUTOTRACE "Autotrace backend" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_POTRACE)
|
|
|
|
RUN_DEPENDS+= potrace:${PORTSDIR}/graphics/potrace
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_AUTOTRACE)
|
|
|
|
RUN_DEPENDS+= autotrace:${PORTSDIR}/graphics/autotrace
|
|
|
|
.endif
|
2004-12-22 17:46:02 +00:00
|
|
|
|
2004-06-22 09:57:36 +00:00
|
|
|
post-patch:
|
2006-01-10 10:31:46 +00:00
|
|
|
@${TOUCH} ${WRKSRC}/aclocal.m4 ${WRKSRC}/config.h.in
|
|
|
|
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${TOUCH}
|
2004-06-22 09:57:36 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
|
2005-03-04 10:59:27 +00:00
|
|
|
.include <bsd.port.post.mk>
|