Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 08:14:59 +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: r340573 - head/devel/avro
Message-ID:  <201401210814.s0L8ExTj054644@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Jan 21 08:14:58 2014
New Revision: 340573
URL: http://svnweb.freebsd.org/changeset/ports/340573
QAT: https://qat.redports.org/buildarchive/r340573/

Log:
  Support stage
  Use options helpers

Modified:
  head/devel/avro/Makefile

Modified: head/devel/avro/Makefile
==============================================================================
--- head/devel/avro/Makefile	Tue Jan 21 08:14:17 2014	(r340572)
+++ head/devel/avro/Makefile	Tue Jan 21 08:14:58 2014	(r340573)
@@ -12,6 +12,8 @@ MAINTAINER=	vg@FreeBSD.org
 COMMENT=	Data serialization system
 
 NO_BUILD=	yes
+NO_MTREE=	yes
+NO_INSTALL=	yes
 
 OPTIONS_DEFINE=	C CPP PYTHON
 C_DESC=		Install ANSI C library
@@ -20,21 +22,8 @@ PYTHON_DESC=	Install Python library
 
 OPTIONS_DEFAULT=C CPP PYTHON
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MC}
-LIB_DEPENDS+=	avro:${PORTSDIR}/devel/avro-c
-.endif
-
-.if ${PORT_OPTIONS:MCPP}
-LIB_DEPENDS+=	avrocpp:${PORTSDIR}/devel/avro-cpp
-.endif
-
-.if ${PORT_OPTIONS:MPYTHON}
-BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}avro:${PORTSDIR}/devel/py-avro
-.endif
-
-do-install:	# empty
+MC_LIB_DEPENDS=	libavro.so:${PORTSDIR}/devel/avro-c
+CPP_LIB_DEPENDS=	libavrocpp.so:${PORTSDIR}/devel/avro-cpp
+PYTHON_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}avro:${PORTSDIR}/devel/py-avro
 
 .include <bsd.port.mk>



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