freebsd-ports/graphics/synfigstudio/Makefile
Jeremy Messenger 01aa5d3c37 Fix the build with new libsigc++20 2.2.2. I have tested these ports in runtime
and these seem work fine in normal use. I don't test every functions, so let
me know if you have any problem with it.

Reported by:	pointyhat via pav
2008-03-28 01:50:20 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: synfigstudio
# Date created: 25 Jun 2006
# Whom: Yinghong.Liu <relaxbsd@gmail.com>
#
# $FreeBSD$
#
PORTNAME= synfigstudio
DISTVERSION= 0.61.06
CATEGORIES= graphics multimedia
MASTER_SITES= SF
MASTER_SITE_SUBDIR=synfig
MAINTAINER= ports@FreeBSD.org
COMMENT= Vector-based 2D animation software package
LIB_DEPENDS= synfig.0:${PORTSDIR}/devel/synfig \
gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ETL.pc:${PORTSDIR}/devel/etl
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_GNOME= gtk20 gnomehack
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
post-patch:
@${REINPLACE_CMD} 's|TARGET_MNG="no"|TARGET_MNG="yes"|' \
${WRKSRC}/configure
@${REINPLACE_CMD} 's|#include <sigc++\/compatibility\.h>||g ; \
s|SigC::Connection|sigc::connection|g ; \
s|SigC::slot|sigc::ptr_fun|g ; \
s|namespace SigC|namespace sigc|g' \
${WRKSRC}/src/gtkmm/*.*
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>