Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2018 09:00:22 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488362 - head/devel/p5-Alzabo
Message-ID:  <201812260900.wBQ90MaW078417@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Dec 26 09:00:22 2018
New Revision: 488362
URL: https://svnweb.freebsd.org/changeset/ports/488362

Log:
  - Add LICENSE
  - Add NO_ARCH
  - Optionize docs and examples
  
  Approved by:	portmgr blanket

Modified:
  head/devel/p5-Alzabo/Makefile

Modified: head/devel/p5-Alzabo/Makefile
==============================================================================
--- head/devel/p5-Alzabo/Makefile	Wed Dec 26 08:39:24 2018	(r488361)
+++ head/devel/p5-Alzabo/Makefile	Wed Dec 26 09:00:22 2018	(r488362)
@@ -11,7 +11,9 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Data modelling tool and RDBMS-OO mapper
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
+LICENSE=	ART10 GPLv1+
+LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${RUN_DEPENDS}
 RUN_DEPENDS=	p5-Exception-Class>=0:devel/p5-Exception-Class \
@@ -22,15 +24,20 @@ RUN_DEPENDS=	p5-Exception-Class>=0:devel/p5-Exception-
 
 USES=		perl5
 USE_PERL5=	modbuild
+NO_ARCH=	yes
 
 EXAMPLES=	eg/alzabo_grep eg/alzabo_to_ascii eg/convert.pl eg/reverse_cardinality.pl
 EXAMPLESMASON=	mason/widgets/edit_field_checkbox mason/widgets/edit_field_text_input mason/widgets/edit_field_textarea mason/widgets/fk_to_one_select mason/widgets/insert mason/widgets/insert_or_update mason/widgets/update
 PORTDOCS=	README Changes TODO
 PORTEXAMPLES=	*
 
-post-install:
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/mason
 	${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${EXAMPLESMASON:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR}/mason



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