diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2016-01-16 16:31:08 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2016-01-16 16:31:08 +0000 |
commit | 1c483fd6ddd8f0fb69b6d28cb8dfbd898ab8bb3e (patch) | |
tree | 23caca11cef9a1392173db851f5c01448679b75c | |
parent | 059ca22a7e7ce049202ce94e7202961bda00bcd3 (diff) | |
download | ports-1c483fd6ddd8f0fb69b6d28cb8dfbd898ab8bb3e.tar.gz ports-1c483fd6ddd8f0fb69b6d28cb8dfbd898ab8bb3e.zip |
Notes
-rw-r--r-- | sysutils/puppet/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/puppet/Makefile b/sysutils/puppet/Makefile index c8010be71f79..806a31b3aef8 100644 --- a/sysutils/puppet/Makefile +++ b/sysutils/puppet/Makefile @@ -11,6 +11,7 @@ MAINTAINER= ruby@FreeBSD.org COMMENT= Configuration management framework written in Ruby LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rubygem-facter>=0:${PORTSDIR}/sysutils/rubygem-facter \ rubygem-hiera1>=0:${PORTSDIR}/sysutils/rubygem-hiera1 @@ -22,6 +23,7 @@ USES= cpe CPE_VENDOR= puppetlabs CONFLICTS_INSTALL= puppet37-* puppet4-* NO_BUILD= yes +NO_ARCH= yes USE_RUBY= yes USE_RC_SUBR= puppet puppetmaster PORTDOCS= LICENSE README.md @@ -33,8 +35,6 @@ SUB_LIST= RUBY=${RUBY} OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.pre.mk> - post-patch: @${REINPLACE_CMD} -e "s|/etc/puppet|${ETCDIR}|" \ ${WRKSRC}/install.rb \ @@ -71,14 +71,16 @@ post-install: ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${STAGEDIR}${RUBY_SITELIBDIR}/${PORTNAME} -type f | \ ${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} - @${FIND} ${STAGEDIR}${RUBY_SITELIBDIR}/${PORTNAME} -type d | ${SORT} -r | \ - ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST} @${MKDIR} ${STAGEDIR}${WWWDIR} ${INSTALL_DATA} ${WRKSRC}/ext/rack/config.ru ${STAGEDIR}${WWWDIR} + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/ext/rack/example-passenger-vhost.conf ${STAGEDIR}${EXAMPLESDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |