1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

- Bump PORTREVISION

- Fix ruby shebang lines

PR:             ports/160969
Submitted by:   h h <aakuusta@gmail.com>
Approved by:    maintainer timeout (marius@nuenneri.ch ; 102 days)
This commit is contained in:
Philip M. Gollucci 2012-03-01 02:47:30 +00:00
parent 77fa6a6bfa
commit cfe119a7c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292466

View File

@ -7,7 +7,7 @@
PORTNAME= zfs-snapshot-mgmt
PORTVERSION= 20090201
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://marcin.studio4plus.com/files/
@ -16,6 +16,7 @@ COMMENT= Automatic ZFS snapshot management tool
USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
RUBY_SHEBANG_FILES= zfs-snapshot-mgmt
NO_BUILD= yes
MAN8= zfs-snapshot-mgmt.8
@ -24,9 +25,7 @@ SUB_FILES= pkg-message
post-patch: .SILENT
${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} \
-e 's|/usr/local|${PREFIX}|g' \
-e 's|${PREFIX}\(/bin/ruby\)|${LOCALBASE}\1|g' \
{} +
-e 's|/usr/local|${PREFIX}|g' {} +
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin