summaryrefslogblamecommitdiff
path: root/graphics/autotrace/Makefile
blob: 5323cbddf6e852124c5885df5bd2af14043ffc30 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                             
                      
                 
                        
                                          

                                   
                                 
                                                 
 
                                                
                                                  
                                                            
                                                        
 
                          
                   
                   

                                                                             

                   

                           
           
                              
                                                                        
                                     


                                                                                

                      
# 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>