Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2014 08:33:19 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351772 - head/x11-wm/compiz-fusion
Message-ID:  <201404220833.s3M8XJS8017151@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Apr 22 08:33:19 2014
New Revision: 351772
URL: http://svnweb.freebsd.org/changeset/ports/351772
QAT: https://qat.redports.org/buildarchive/r351772/

Log:
  Support stage
  Use options helpers

Modified:
  head/x11-wm/compiz-fusion/Makefile

Modified: head/x11-wm/compiz-fusion/Makefile
==============================================================================
--- head/x11-wm/compiz-fusion/Makefile	Tue Apr 22 08:31:26 2014	(r351771)
+++ head/x11-wm/compiz-fusion/Makefile	Tue Apr 22 08:33:19 2014	(r351772)
@@ -12,12 +12,14 @@ EXTRACT_ONLY=	# none
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Metaport of compiz-fusion
 
-LIB_DEPENDS=	compizconfig:${PORTSDIR}/x11-wm/libcompizconfig
+LIB_DEPENDS=	libcompizconfig.so:${PORTSDIR}/x11-wm/libcompizconfig
 RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/compiz.pc:${PORTSDIR}/x11-wm/compiz \
 		${LOCALBASE}/lib/compiz/libanimation.so:${PORTSDIR}/x11-wm/compiz-plugins-main \
 		${LOCALBASE}/bin/ccsm:${PORTSDIR}/x11-wm/ccsm
 
 NO_BUILD=	yes
+NO_INSTALL=	yes
+NO_MTREE=	yes
 
 OPTIONS_DEFINE=	EXTRA UNSUP EMERALD GCONF
 OPTIONS_DEFAULT=	GCONF EXTRA EMERALD
@@ -26,26 +28,11 @@ EXTRA_DESC=	Enable extra plugins
 UNSUP_DESC=	Enable unsupported plugins
 EMERALD_DESC=	Enable emerald window decorator
 
-do-install:	# empty
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MEXTRA}
-RUN_DEPENDS+=	${LOCALBASE}/lib/compiz/libaddhelper.so:${PORTSDIR}/x11-wm/compiz-plugins-extra
-.endif
-
-.if ${PORT_OPTIONS:MUNSUP}
-RUN_DEPENDS+=	${LOCALBASE}/lib/compiz/libfakeargb.so:${PORTSDIR}/x11-wm/compiz-plugins-unsupported
-.endif
-
-.if ${PORT_OPTIONS:MEMERALD}
-RUN_DEPENDS+=	${LOCALBASE}/bin/emerald:${PORTSDIR}/x11-wm/emerald \
+EXTRA_RUN_DEPENDS=	${LOCALBASE}/lib/compiz/libaddhelper.so:${PORTSDIR}/x11-wm/compiz-plugins-extra
+UNSUP_RUN_DEPENDS=	${LOCALBASE}/lib/compiz/libfakeargb.so:${PORTSDIR}/x11-wm/compiz-plugins-unsupported
+EMERALD_RUN_DEPENDS=	${LOCALBASE}/bin/emerald:${PORTSDIR}/x11-wm/emerald \
 		${LOCALBASE}/share/emerald/themes/Adonis_Mod/theme.ini:${PORTSDIR}/x11-themes/emerald-themes
-.endif
 
-.if ${PORT_OPTIONS:MGCONF}
-RUN_DEPENDS+=	${LOCALBASE}/lib/compizconfig/backends/libgconf.so:${PORTSDIR}/x11-wm/compizconfig-backend-gconf
-.endif
+GCONF_RUN_DEPENDS=	${LOCALBASE}/lib/compizconfig/backends/libgconf.so:${PORTSDIR}/x11-wm/compizconfig-backend-gconf
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404220833.s3M8XJS8017151>