Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2014 09:21:38 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350912 - head/security/p5-openxpki-client-html-mason
Message-ID:  <201404110921.s3B9Lcb3046870@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Apr 11 09:21:38 2014
New Revision: 350912
URL: http://svnweb.freebsd.org/changeset/ports/350912
QAT: https://qat.redports.org/buildarchive/r350912/

Log:
  - Convert to new options framework
  - Use USES=gmake
  - Support STAGEDIR
  - Simplify Makefile

Modified:
  head/security/p5-openxpki-client-html-mason/Makefile
  head/security/p5-openxpki-client-html-mason/pkg-plist

Modified: head/security/p5-openxpki-client-html-mason/Makefile
==============================================================================
--- head/security/p5-openxpki-client-html-mason/Makefile	Fri Apr 11 09:17:14 2014	(r350911)
+++ head/security/p5-openxpki-client-html-mason/Makefile	Fri Apr 11 09:21:38 2014	(r350912)
@@ -12,27 +12,20 @@ DIST_SUBDIR=	openxpki
 MAINTAINER=	svysh.fbsd@gmail.com
 COMMENT=	Web interface for local openxpki daemon
 
-BROKEN=		not staged
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 BUILD_DEPENDS=	\
 	p5-openxpki-client>=0:${PORTSDIR}/security/p5-openxpki-client \
 	p5-HTML-Mason>=0:${PORTSDIR}/www/p5-HTML-Mason \
 	p5-Data-SpreadPagination>=0:${PORTSDIR}/textproc/p5-Data-SpreadPagination
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
-MAN3=	OpenXPKI::Client::HTML::Mason.3 \
-	OpenXPKI::Client::HTML::Mason::CRR.3 \
-	OpenXPKI::Client::HTML::Mason::Config.3 \
-	OpenXPKI::Client::HTML::Mason::Javascript.3 \
-	OpenXPKI::Client::HTML::Mason::Menu.3
-USE_GMAKE=	yes
-USES=		perl5
+USES=		gmake perl5
 USE_PERL5=	configure
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	@${CP} -R ${WRKSRC}/htdocs ${DOCSDIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${CP} -R ${WRKSRC}/htdocs ${STAGEDIR}${DOCSDIR}/
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "==================================================================="
 	@${ECHO_MSG} "===> Mason htdocs for ${DISTNAME}"
@@ -42,10 +35,8 @@ post-install:
 .if !defined(BATCH)
 	@sleep 3
 .endif
-.endif
-.if !defined(NOPORTEXAMPLES)
-	${MKDIR} ${EXAMPLESDIR}
-	@${CP} -R ${WRKSRC}/eg ${EXAMPLESDIR}/
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${CP} -R ${WRKSRC}/eg ${STAGEDIR}${EXAMPLESDIR}/
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "==================================================================="
 	@${ECHO_MSG} "===> Examples of simple Mason configuration via httpd.conf directives"
@@ -55,11 +46,8 @@ post-install:
 .if !defined(BATCH)
 	@sleep 3
 .endif
-.endif
-.if !defined(NOPORTDATA)
-	${MKDIR} ${DATADIR}
-	@${MKDIR} ${DATADIR}
-	@${CP} -R ${WRKSRC}/bin ${DATADIR}/
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	${CP} -R ${WRKSRC}/bin ${STAGEDIR}${DATADIR}/
 	@${ECHO_MSG} ""
 	@${ECHO_MSG} "==================================================================="
 	@${ECHO_MSG} "===> Examples of CGI scripts for ${DISTNAME}"
@@ -69,6 +57,5 @@ post-install:
 .if !defined(BATCH)
 	@sleep 3
 .endif
-.endif
 
 .include <bsd.port.mk>

Modified: head/security/p5-openxpki-client-html-mason/pkg-plist
==============================================================================
--- head/security/p5-openxpki-client-html-mason/pkg-plist	Fri Apr 11 09:17:14 2014	(r350911)
+++ head/security/p5-openxpki-client-html-mason/pkg-plist	Fri Apr 11 09:21:38 2014	(r350912)
@@ -5,6 +5,11 @@
 %%SITE_PERL%%/OpenXPKI/Client/HTML/Mason/Javascript.pm
 %%SITE_PERL%%/OpenXPKI/Client/HTML/Mason/Menu.pm
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenXPKI/Client/HTML/Mason/.packlist
+%%PERL5_MAN3%%/OpenXPKI::Client::HTML::Mason.3.gz
+%%PERL5_MAN3%%/OpenXPKI::Client::HTML::Mason::CRR.3.gz
+%%PERL5_MAN3%%/OpenXPKI::Client::HTML::Mason::Config.3.gz
+%%PERL5_MAN3%%/OpenXPKI::Client::HTML::Mason::Javascript.3.gz
+%%PERL5_MAN3%%/OpenXPKI::Client::HTML::Mason::Menu.3.gz
 %%PORTDOCS%%%%DOCSDIR%%/htdocs/Menu/Query/index.html
 %%PORTDOCS%%%%DOCSDIR%%/htdocs/Renderer/Command/default.mhtml
 %%PORTDOCS%%%%DOCSDIR%%/htdocs/Renderer/Service/GET_AUTHENTICATION_STACK.mhtml



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