socsvn commit: r237946 - in soc2012/scher/par_ports/head/fake_ports/with_options: . fake5 fake5a fake6

scher at FreeBSD.org scher at FreeBSD.org
Tue Jun 19 09:54:33 UTC 2012


Author: scher
Date: Tue Jun 19 09:54:30 2012
New Revision: 237946
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=237946

Log:
  [new_feature] fake ports with dependencies and options for parallel
  	options development
  

Added:
  soc2012/scher/par_ports/head/fake_ports/with_options/
  soc2012/scher/par_ports/head/fake_ports/with_options/fake5/
  soc2012/scher/par_ports/head/fake_ports/with_options/fake5/Makefile   (contents, props changed)
  soc2012/scher/par_ports/head/fake_ports/with_options/fake5/pkg-descr
  soc2012/scher/par_ports/head/fake_ports/with_options/fake5a/
  soc2012/scher/par_ports/head/fake_ports/with_options/fake5a/Makefile   (contents, props changed)
  soc2012/scher/par_ports/head/fake_ports/with_options/fake5a/pkg-descr
  soc2012/scher/par_ports/head/fake_ports/with_options/fake6/
  soc2012/scher/par_ports/head/fake_ports/with_options/fake6/Makefile   (contents, props changed)
  soc2012/scher/par_ports/head/fake_ports/with_options/fake6/pkg-descr

Added: soc2012/scher/par_ports/head/fake_ports/with_options/fake5/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ soc2012/scher/par_ports/head/fake_ports/with_options/fake5/Makefile	Tue Jun 19 09:54:30 2012	(r237946)
@@ -0,0 +1,24 @@
+PORTNAME=fake5
+PORTVERSION=1.0
+DISTFILES=fake-1.0.tar.gz
+CATEGORIES=fake_ports
+
+WRKSRC= ${WRKDIR}/fake-1.0
+
+OPTIONS_DEFINE= FAKE5_OPT1 FAKE5_OPT2
+
+FAKE5_OPT1_DESC = Enable FAKE5_OPT1 support
+FAKE5_OPT2_DESC = Use FAKE5_OPT2
+
+.include <bsd.port.options.mk>
+
+do-install:
+	echo ${PORT_OPTIONS}
+	@echo "Port: "fake5" is installing now"
+	sleep 3;
+	touch ${PORTSDIR}/tmp/fake5;
+
+pre-clean:
+	rm -rf ${PORTSDIR}/tmp/fake5;
+
+.include <bsd.port.mk>

Added: soc2012/scher/par_ports/head/fake_ports/with_options/fake5/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ soc2012/scher/par_ports/head/fake_ports/with_options/fake5/pkg-descr	Tue Jun 19 09:54:30 2012	(r237946)
@@ -0,0 +1,2 @@
+This is a description for fake port
+That is all so far
\ No newline at end of file

Added: soc2012/scher/par_ports/head/fake_ports/with_options/fake5a/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ soc2012/scher/par_ports/head/fake_ports/with_options/fake5a/Makefile	Tue Jun 19 09:54:30 2012	(r237946)
@@ -0,0 +1,30 @@
+PORTNAME=fake5a
+PORTVERSION=1.0
+DISTFILES=fake-1.0.tar.gz
+CATEGORIES=fake_ports
+
+
+WRKSRC= ${WRKDIR}/fake-1.0
+
+OPTIONS_DEFINE= FAKE5A_OPT11 FAKE5A_OPT22
+
+OPTIONS_SINGLE=		SG_GROUP
+OPTIONS_SINGLE_SG_GROUP= FAKE5A_OPT1 FAKE5A_OPT2 FAKE5A_OPT3
+
+FAKE5A_OPT1_DESC= Some options
+FAKE5A_OPT2_DESC= Enable this options
+FAKE5A_OPT3_DESC= Use FAKE5A_OPT3 option
+
+OPTIONS_DEFAULT= FAKE5A_OPT2
+
+.include <bsd.port.options.mk>
+
+do-install:
+	@echo "Port: "fake5a" is installing now"
+	sleep 3; \
+	touch ${PORTSDIR}/tmp/fake5a;
+
+pre-clean:
+	rm -rf ${PORTSDIR}/tmp/fake5a;
+
+.include <bsd.port.mk>

Added: soc2012/scher/par_ports/head/fake_ports/with_options/fake5a/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ soc2012/scher/par_ports/head/fake_ports/with_options/fake5a/pkg-descr	Tue Jun 19 09:54:30 2012	(r237946)
@@ -0,0 +1,2 @@
+This is a description for fake port
+That is all so far
\ No newline at end of file

Added: soc2012/scher/par_ports/head/fake_ports/with_options/fake6/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ soc2012/scher/par_ports/head/fake_ports/with_options/fake6/Makefile	Tue Jun 19 09:54:30 2012	(r237946)
@@ -0,0 +1,29 @@
+PORTNAME=fake6
+PORTVERSION=1.0
+DISTFILES=fake-1.0.tar.gz
+CATEGORIES=fake_ports
+
+WRKSRC= ${WRKDIR}/fake-1.0
+FETCH_DEPENDS= ${PORTSDIR}/tmp/fake5:${PORTSDIR}/fake_ports/with_options/fake5 \
+	${PORTSDIR}/tmp/fake5a:${PORTSDIR}/fake_ports/with_options/fake5a
+
+NOCLEANDEPENDS=
+
+OPTIONS_MULTI=		ML_GROUP
+OPTIONS_MULTI_ML_GROUP= FAKE6_OPT1 FAKE6_OPT2 FAKE6_OPT3
+
+FAKE6_OPT1_DESC= Some options
+FAKE6_OPT2_DESC= Enable this options
+FAKE6_OPT3_DESC= Use FAKE5A_OPT3 option
+
+OPTIONS_DEFAULT= FAKE6_OPT2
+
+.include <bsd.port.options.mk>
+
+do-install:
+	@echo "Port: "fake6" is installing now"; \
+	echo "Press any key to continue"; \
+	read i
+
+
+.include <bsd.port.mk>

Added: soc2012/scher/par_ports/head/fake_ports/with_options/fake6/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ soc2012/scher/par_ports/head/fake_ports/with_options/fake6/pkg-descr	Tue Jun 19 09:54:30 2012	(r237946)
@@ -0,0 +1,2 @@
+This is a description for fake port
+That is all so far
\ No newline at end of file


More information about the svn-soc-all mailing list