1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/graphics/autotrace/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

51 lines
1.3 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= 10
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Convert bitmap to vector graphics
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ming"
MAN1= autotrace.1
OPTIONS= MING "Enable swf interface" on \
PSTOEDIT "Convert postscript to other formats" on
.if !defined (WITHOUT_MING)
LIB_DEPENDS+= ming.4:${PORTSDIR}/graphics/ming
CONFIGURE_ENV?= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/ming"
.endif
.if !defined (WITHOUT_PSTOEDIT)
LIB_DEPENDS+= pstoedit.0:${PORTSDIR}/graphics/pstoedit
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \
${WRKSRC}/Makefile.in
.if defined (WITH_PSTOEDIT)
@${REINPLACE_CMD} -e '/$$PSTOEDIT_CONFIG/ s|--version|--modversion| ; \
s|$$PSTOEDIT_CONFIG $$pstoedit_args|pkg-config pstoedit| ; \
/^PSTOEDIT_CONFIG=/ s|=.*$$|=pkg-config| ' ${WRKSRC}/configure
.endif
.include <bsd.port.mk>