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
|
2002-11-08 05:28:59 +01:00
|
|
|
PORTVERSION= 0.31.0
|
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}
|
|
|
|
|
|
|
|
MAINTAINER= kanou@mil.allnet.ne.jp
|
|
|
|
|
|
|
|
LIB_DEPENDS= jbig.1:${PORTSDIR}/graphics/jbigkit \
|
|
|
|
df.1:${PORTSDIR}/graphics/hdf \
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
2002-03-11 18:25:31 +01:00
|
|
|
freetype.9:${PORTSDIR}/print/freetype2 \
|
2001-05-19 17:29:55 +02:00
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
2001-09-11 04:22:51 +02:00
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
2001-09-18 07:57:52 +02:00
|
|
|
ming.3:${PORTSDIR}/graphics/ming \
|
|
|
|
wmf.2:${PORTSDIR}/graphics/libwmf \
|
2002-09-13 18:45:01 +02:00
|
|
|
Magick.5:${PORTSDIR}/graphics/ImageMagick \
|
|
|
|
pstoedit.0:${PORTSDIR}/graphics/pstoedit
|
2001-08-15 22:33:16 +02:00
|
|
|
.if !exists(/usr/bin/bzip2)
|
|
|
|
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
|
|
|
|
.endif
|
2001-05-19 17:29:55 +02:00
|
|
|
|
2002-09-13 18:45:01 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
USE_LIBTOOL= 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-06-29 21:03:07 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-05-19 17:29:55 +02:00
|
|
|
|
2002-04-22 22:02:47 +02:00
|
|
|
MAN1= autotrace.1
|
|
|
|
|
|
|
|
pre-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
|
2001-05-19 17:29:55 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|