From 65458c0d836336fff6d1802a413332341d2c5309 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 21 Jan 2014 08:14:58 +0000 Subject: Support stage Use options helpers --- devel/avro/Makefile | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) (limited to 'devel/avro/Makefile') diff --git a/devel/avro/Makefile b/devel/avro/Makefile index a2679cecb826..aaad1aa156e8 100644 --- a/devel/avro/Makefile +++ b/devel/avro/Makefile @@ -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 - -.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 -- cgit v1.2.3