2004-12-12 14:19:08 +01:00
|
|
|
PORTNAME= lesspipe
|
2022-02-04 18:48:50 +01:00
|
|
|
DISTVERSIONPREFIX= v
|
2022-08-21 11:20:51 +02:00
|
|
|
DISTVERSION= 2.06
|
2004-12-12 14:19:08 +01:00
|
|
|
CATEGORIES= misc
|
|
|
|
|
|
|
|
MAINTAINER= slaven@rezic.de
|
2014-07-07 17:31:01 +02:00
|
|
|
COMMENT= Preprocessor for less
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://www.zeuthen.desy.de/~friebel/unix/lesspipe.html
|
2004-12-12 14:19:08 +01:00
|
|
|
|
2015-09-03 12:05:02 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
MY_DEPENDS= bash:shells/bash
|
2015-09-03 12:05:02 +02:00
|
|
|
BUILD_DEPENDS= ${MY_DEPENDS}
|
|
|
|
RUN_DEPENDS= ${MY_DEPENDS}
|
2004-12-12 14:19:08 +01:00
|
|
|
|
2022-02-04 18:48:50 +01:00
|
|
|
USES= perl5 shebangfix
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= wofr06
|
2004-12-12 14:19:08 +01:00
|
|
|
|
2005-08-29 17:37:33 +02:00
|
|
|
NO_BUILD= yes
|
2015-09-03 12:05:02 +02:00
|
|
|
NO_ARCH= yes
|
2004-12-12 14:19:08 +01:00
|
|
|
HAS_CONFIGURE= yes
|
2015-09-03 12:05:02 +02:00
|
|
|
CONFIGURE_ARGS= --yes --prefix=${PREFIX}
|
2004-12-12 14:19:08 +01:00
|
|
|
|
2022-02-04 18:48:50 +01:00
|
|
|
SHEBANG_FILES= archive_color code2color lesscomplete lesspipe.sh
|
|
|
|
|
|
|
|
PLIST_FILES= bin/archive_color bin/code2color bin/lesscomplete bin/lesspipe.sh \
|
|
|
|
etc/bash_completion.d/less_completion man/man1/lesspipe.1.gz \
|
|
|
|
share/zsh/site-functions/_less
|
2004-12-12 14:19:08 +01:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2005-08-29 17:37:33 +02:00
|
|
|
do-install:
|
2022-02-04 18:48:50 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/archive_color ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/code2color ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lesscomplete ${STAGEDIR}${PREFIX}/bin
|
2014-04-04 11:21:52 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lesspipe.sh ${STAGEDIR}${PREFIX}/bin
|
2022-02-04 18:48:50 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/less_completion ${STAGEDIR}${PREFIX}/etc/bash_completion.d
|
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/_less ${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/lesspipe.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
2004-12-12 14:19:08 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|