2013-04-26 14:35:50 +02:00
|
|
|
# Created by: Slaven Rezic <slaven@rezic.de>
|
2004-12-12 14:19:08 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= lesspipe
|
2008-08-15 00:55:12 +02:00
|
|
|
PORTVERSION= 1.55
|
2014-07-03 11:13:35 +02:00
|
|
|
PORTREVISION= 1
|
2004-12-12 14:19:08 +01:00
|
|
|
CATEGORIES= misc
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF
|
2004-12-12 14:19:08 +01:00
|
|
|
|
|
|
|
MAINTAINER= slaven@rezic.de
|
2014-07-07 17:31:01 +02:00
|
|
|
COMMENT= Preprocessor for less
|
2004-12-12 14:19:08 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
|
|
|
|
.if defined(WITH_FANCY)
|
|
|
|
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
|
2014-07-03 11:13:35 +02:00
|
|
|
rpm:${PORTSDIR}/archivers/rpm4 \
|
2004-12-12 14:19:08 +01:00
|
|
|
dpkg:${PORTSDIR}/archivers/dpkg \
|
|
|
|
antiword:${PORTSDIR}/textproc/antiword \
|
|
|
|
lynx:${PORTSDIR}/www/lynx \
|
|
|
|
pdftotext:${PORTSDIR}/graphics/xpdf \
|
|
|
|
unrtf:${PORTSDIR}/textproc/unrtf \
|
|
|
|
dvi2tty:${PORTSDIR}/print/dvi2tty \
|
|
|
|
pstotext:${PORTSDIR}/print/pstotext \
|
|
|
|
mp3info:${PORTSDIR}/audio/mp3info \
|
2013-04-26 14:35:50 +02:00
|
|
|
cabextract:${PORTSDIR}/archivers/cabextract \
|
|
|
|
cdrecord:${PORTSDIR}/sysutils/cdrtools
|
2004-12-12 14:19:08 +01:00
|
|
|
.endif
|
|
|
|
|
2013-09-02 11:22:47 +02:00
|
|
|
USES= perl5
|
2004-12-12 14:19:08 +01:00
|
|
|
|
2005-08-29 17:37:33 +02:00
|
|
|
NO_BUILD= yes
|
2004-12-12 14:19:08 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --default --prefix=${PREFIX}
|
|
|
|
|
2014-04-04 11:21:52 +02:00
|
|
|
PLIST_FILES= bin/lesspipe.sh bin/code2color man/man1/lesspipe.1.gz
|
2004-12-12 14:19:08 +01:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2005-08-29 17:37:33 +02:00
|
|
|
do-install:
|
2014-04-04 11:21:52 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/code2color ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lesspipe.sh ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/lesspipe.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
2004-12-12 14:19:08 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|