- Update to latest 1.3.2 version
- Support STAGEDIR - Add LICENSE - Correct COMMENT PR: ports/187705 Submitted by: Bartek Rutkowski <ports@robakdesign.com> (maintainer)
This commit is contained in:
parent
8adae4dbd7
commit
488757f8a7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348622
@ -2,35 +2,33 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= hiera
|
||||
PORTVERSION= 1.3.1
|
||||
PORTVERSION= 1.3.2
|
||||
CATEGORIES= sysutils rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= ports@robakdesign.com
|
||||
COMMENT= A pluggable data store for hierarchical data
|
||||
COMMENT= Pluggable data store for hierarchical data
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
RUN_DEPENDS= ${PKGNAMEPREFIX}json_pure>=0:${PORTSDIR}/devel/rubygem-json_pure
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBYGEMS= yes
|
||||
RUBYGEM_AUTOPLIST= yes
|
||||
PLIST_FILES= bin/hiera
|
||||
HIERA_DBDIR= /var/db/hiera
|
||||
PLIST_FILES= bin/hiera
|
||||
PLIST_DIRS= ${HIERA_DBDIR}
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
@${REINPLACE_CMD} "s!/etc/hiera.yaml!${PREFIX}/etc/hiera.yaml!" \
|
||||
${PREFIX}/${GEM_LIB_DIR}/bin/hiera \
|
||||
${PREFIX}/${GEM_LIB_DIR}/lib/hiera.rb \
|
||||
${PREFIX}/${GEM_LIB_DIR}/spec/unit/hiera_spec.rb
|
||||
@${REINPLACE_CMD} "s!/etc/hiera.yaml!${STAGEDIR}${PREFIX}/etc/hiera.yaml!" \
|
||||
${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/bin/hiera \
|
||||
${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/hiera.rb \
|
||||
${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/spec/unit/hiera_spec.rb
|
||||
@${REINPLACE_CMD} "s!/var/lib/hiera!${HIERA_DBDIR}!" \
|
||||
${PREFIX}/${GEM_LIB_DIR}/lib/hiera/backend.rb \
|
||||
${PREFIX}/${GEM_LIB_DIR}/spec/unit/backend_spec.rb
|
||||
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -name \*.bak -delete
|
||||
@${MKDIR} ${HIERA_DBDIR}
|
||||
@${ECHO_CMD} '@cwd /' >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@exec ${MKDIR} ${HIERA_DBDIR}" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} "@unexec ${RMDIR} \"%D/${HIERA_DBDIR}\" 2>/dev/null || true" >> ${TMPPLIST}
|
||||
@${ECHO_CMD} '@cwd' >> ${TMPPLIST}
|
||||
${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/lib/hiera/backend.rb \
|
||||
${STAGEDIR}${PREFIX}/${GEM_LIB_DIR}/spec/unit/backend_spec.rb
|
||||
@${FIND} ${STAGEDIR}${PREFIX}/${GEM_LIB_DIR} -name \*.bak -delete
|
||||
@${MKDIR} ${STAGEDIR}${HIERA_DBDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (rubygem/hiera-1.3.1.gem) = 5df6f67e36c1db217cb7a74c8f0754b0c10f78934a4e394d5dc7788cf4329943
|
||||
SIZE (rubygem/hiera-1.3.1.gem) = 29184
|
||||
SHA256 (rubygem/hiera-1.3.2.gem) = 425a4c50d68780a83a82ea8d82ac39b47bbca2ee40bed48f37829d56a8c314db
|
||||
SIZE (rubygem/hiera-1.3.2.gem) = 29696
|
||||
|
Loading…
Reference in New Issue
Block a user