bda5588150
recently - Style PR: ports/111400 Reported by: bf <bf2006a@yahoo.com>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# New ports collection makefile for: autotrace
|
|
# Date created: 12 April 2001
|
|
# Whom: KANOU Hiroki <kanou@mil.allnet.ne.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= autotrace
|
|
PORTVERSION= 0.31.1
|
|
PORTREVISION= 9
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Convert bitmap to vector graphics
|
|
|
|
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
|
|
ming.4:${PORTSDIR}/graphics/ming \
|
|
Magick.10:${PORTSDIR}/graphics/ImageMagick \
|
|
pstoedit.0:${PORTSDIR}/graphics/pstoedit
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
|
|
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ming"
|
|
USE_XLIB= yes
|
|
|
|
MAN1= autotrace.1
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
|
|
${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} -e '/$$PSTOEDIT_CONFIG/ s|--version|--modversion| ; \
|
|
s|$$PSTOEDIT_CONFIG $$pstoedit_args|pkg-config pstoedit| ; \
|
|
/^PSTOEDIT_CONFIG=/ s|=.*$$|=pkg-config| ' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|