2001-05-19 17:29:55 +02:00
|
|
|
# New ports collection makefile for: autotrace
|
|
|
|
# Date created: 12 April 2001
|
|
|
|
# Whom: KANOU Hiroki <kanou@mil.allnet.ne.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= autotrace
|
2003-02-04 03:53:56 +01:00
|
|
|
PORTVERSION= 0.31.1
|
2007-06-15 15:10:58 +02:00
|
|
|
PORTREVISION= 9
|
2001-05-19 17:29:55 +02:00
|
|
|
CATEGORIES= graphics
|
2002-11-08 05:28:59 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2001-05-19 17:29:55 +02:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2007-02-27 01:16:01 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= Convert bitmap to vector graphics
|
2001-05-19 17:29:55 +02:00
|
|
|
|
2005-04-20 13:19:00 +02:00
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
2006-04-24 15:55:16 +02:00
|
|
|
ming.4:${PORTSDIR}/graphics/ming \
|
2006-05-24 16:21:45 +02:00
|
|
|
Magick.10:${PORTSDIR}/graphics/ImageMagick \
|
2002-09-13 18:45:01 +02:00
|
|
|
pstoedit.0:${PORTSDIR}/graphics/pstoedit
|
2001-05-19 17:29:55 +02:00
|
|
|
|
2007-02-10 07:05:06 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2007-06-15 15:10:58 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2002-04-22 22:02:47 +02:00
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
|
|
|
|
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ming"
|
2001-05-19 17:29:55 +02:00
|
|
|
USE_XLIB= yes
|
|
|
|
|
2002-04-22 22:02:47 +02:00
|
|
|
MAN1= autotrace.1
|
|
|
|
|
2007-06-15 15:10:58 +02:00
|
|
|
post-patch:
|
2002-06-29 21:03:07 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
2002-09-12 13:15:17 +02:00
|
|
|
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
|
2002-04-22 22:02:47 +02:00
|
|
|
${WRKSRC}/Makefile.in
|
2007-06-15 15:10:58 +02:00
|
|
|
@${REINPLACE_CMD} -e '/$$PSTOEDIT_CONFIG/ s|--version|--modversion| ; \
|
|
|
|
s|$$PSTOEDIT_CONFIG $$pstoedit_args|pkg-config pstoedit| ; \
|
|
|
|
/^PSTOEDIT_CONFIG=/ s|=.*$$|=pkg-config| ' ${WRKSRC}/configure
|
2001-05-19 17:29:55 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|