svn commit: r340573 - head/devel/avro

Baptiste Daroussin bapt at FreeBSD.org
Tue Jan 21 08:14:59 UTC 2014


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 at 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>


More information about the svn-ports-all mailing list