svn commit: r350912 - head/security/p5-openxpki-client-html-mason
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Apr 11 09:21:39 UTC 2014
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 at 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
More information about the svn-ports-all
mailing list