Date: Tue, 23 Jun 2015 14:14:00 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390412 - head/audio/gspeakers Message-ID: <201506231414.t5NEE01r056417@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Jun 23 14:14:00 2015 New Revision: 390412 URL: https://svnweb.freebsd.org/changeset/ports/390412 Log: - Switch to USES=autoreconf - Turn WITH_SPICE into an option Modified: head/audio/gspeakers/Makefile Modified: head/audio/gspeakers/Makefile ============================================================================== --- head/audio/gspeakers/Makefile Tue Jun 23 14:13:38 2015 (r390411) +++ head/audio/gspeakers/Makefile Tue Jun 23 14:14:00 2015 (r390412) @@ -4,7 +4,7 @@ PORTNAME= gspeakers PORTVERSION= 0.11 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -13,16 +13,20 @@ COMMENT= Gnome-based loudspeaker design LIB_DEPENDS= libgtkmm-2.4.so:${PORTSDIR}/x11-toolkits/gtkmm24 -USES= gmake pkgconfig +USES= autoreconf gmake pkgconfig USE_GNOME= gnomeprefix libxml2 -USE_AUTOTOOLS= automake:env GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -O0 -.if defined(WITH_SPICE) +OPTIONS_DEFINE= SPICE +SPICE_DESC= Use spice instead of gnucap + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MSPICE} RUN_DEPENDS+= spice3:${PORTSDIR}/cad/spice .else RUN_DEPENDS+= gnucap:${PORTSDIR}/cad/gnucap @@ -33,15 +37,12 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's|$$(datadir)/pixmaps|$$(pkgdatadir)/pixmaps|g' \ - ${WRKSRC}/pixmaps/Makefile.in + ${WRKSRC}/pixmaps/Makefile.am @${REINPLACE_CMD} -e 's|-Wall -O0|@CXXFLAGS@|g' \ - ${WRKSRC}/src/Makefile.in + ${WRKSRC}/src/Makefile.am @${REINPLACE_CMD} -e 's|$$(datadir)/xml|$$(pkgdatadir)/xml|g' \ - ${WRKSRC}/xml/Makefile.in + ${WRKSRC}/xml/Makefile.am @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \ ${WRKSRC}/src/*.cc ${WRKSRC}/src/cellitemcrossover.h -pre-configure: - @${CP} ${AUTOMAKE_DIR}/depcomp ${WRKSRC} - .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506231414.t5NEE01r056417>