mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
597afc47ba
With hat: portmgr Sponsored by: Absolight
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# Created by: Neeraj Verma <neeraj.verma.ports@vermatech.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= autojump
|
|
PORTVERSION= 13
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.vermatech.com/distfiles/
|
|
DISTNAME= autojump_v${PORTVERSION}
|
|
|
|
MAINTAINER= neeraj.verma.ports@vermatech.com
|
|
COMMENT= Tool that acts as a complement to cd
|
|
|
|
LICENSE= GPLv3
|
|
|
|
RUN_DEPENDS= bash:shells/bash
|
|
|
|
NO_BUILD= yes
|
|
USES= python:run
|
|
SUB_FILES= pkg-install
|
|
|
|
PLIST_FILES= bin/autojump \
|
|
bin/jumpapplet \
|
|
man/man1/autojump.1.gz \
|
|
share/autojump/autojump.bash \
|
|
share/autojump/autojump.zsh \
|
|
share/autojump/icon.png
|
|
|
|
OPTIONS_DEFINE= ZSH
|
|
OPTIONS_DEFAULT= ZSH
|
|
|
|
ZSH_RUN_DEPENDS= zsh:shells/zsh
|
|
ZSH_PLIST_FILES= share/zsh/site-functions/_j
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/#!\/usr\/bin/s|python|env &|' \
|
|
${WRKSRC}/autojump
|
|
|
|
do-install:
|
|
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${SH} ./install.sh \
|
|
--prefix ${STAGEDIR}${PREFIX})
|
|
|
|
do-install-ZSH-on:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
|
${INSTALL_DATA} ${WRKSRC}/_j \
|
|
${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
|
|
|
.include <bsd.port.mk>
|