svn commit: r444671 - head/devel/p5-Event-RPC
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Jun 29 19:13:40 UTC 2017
Author: sunpoet
Date: Thu Jun 29 19:13:39 2017
New Revision: 444671
URL: https://svnweb.freebsd.org/changeset/ports/444671
Log:
Remove Perl core modules
- While I'm here:
- Convert to options dependency helper
- Add NO_ARCH
- Bump PORTREVISION for dependency change
With hat: perl
Modified:
head/devel/p5-Event-RPC/Makefile
Modified: head/devel/p5-Event-RPC/Makefile
==============================================================================
--- head/devel/p5-Event-RPC/Makefile Thu Jun 29 19:13:34 2017 (r444670)
+++ head/devel/p5-Event-RPC/Makefile Thu Jun 29 19:13:39 2017 (r444671)
@@ -3,7 +3,7 @@
PORTNAME= Event-RPC
PORTVERSION= 1.03
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,6 +14,7 @@ COMMENT= Event based transparent Client/Server RPC fra
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
+NO_ARCH= yes
USES= perl5
USE_PERL5= configure
@@ -25,27 +26,14 @@ SSL_DESC= Dependency to SSL lib
OPTIONS_DEFAULT= EVENT ANYEVENT SSL
-.include <bsd.port.options.mk>
-
-BUILD_DEPENDS= p5-Storable>=0:devel/p5-Storable
-
-.if ${PORT_OPTIONS:MEVENT}
-BUILD_DEPENDS+= p5-Event>=0:devel/p5-Event
-.endif
-
-.if ${PORT_OPTIONS:MANYEVENT}
-BUILD_DEPENDS+= p5-AnyEvent>=0:devel/p5-AnyEvent
-.endif
-
-.if ${PORT_OPTIONS:MGLIB}
-BUILD_DEPENDS+= p5-Glib2>=0:devel/p5-Glib2
-.endif
-
-.if ${PORT_OPTIONS:MSSL}
-USES+= ssl
-BUILD_DEPENDS+= p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL
-.endif
-
-RUN_DEPENDS:= ${BUILD_DEPENDS}
+ANYEVENT_BUILD_DEPENDS= p5-AnyEvent>=0:devel/p5-AnyEvent
+ANYEVENT_RUN_DEPENDS= p5-AnyEvent>=0:devel/p5-AnyEvent
+EVENT_BUILD_DEPENDS= p5-Event>=0:devel/p5-Event
+EVENT_RUN_DEPENDS= p5-Event>=0:devel/p5-Event
+GLIB_BUILD_DEPENDS= p5-Glib2>=0:devel/p5-Glib2
+GLIB_RUN_DEPENDS= p5-Glib2>=0:devel/p5-Glib2
+SSL_BUILD_DEPENDS= p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL
+SSL_RUN_DEPENDS= p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL
+SSL_USES= ssl
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list