freebsd-ports/misc/lesspipe/Makefile
Baptiste Daroussin dba80fffe4 Remove USE_CDRTOOLS from bsd.port.mk
This macros has been useless since cdrtools-cjk port has gone.
This macros also lead to badly handled dependencies assuming that the dependency
on cdrtools was most BUILD and RUN dependency. While most of the time it is
simply a RUN dependency and sometime a build one.

While here:
- Trim some headers
- Convert some ports to optionsng
- Convert some ports to USES= gettext
2013-04-26 12:35:50 +00:00

50 lines
1.1 KiB
Makefile

# Created by: Slaven Rezic <slaven@rezic.de>
# $FreeBSD$
PORTNAME= lesspipe
PORTVERSION= 1.55
CATEGORIES= misc
MASTER_SITES= SF
MAINTAINER= slaven@rezic.de
COMMENT= A preprocessor for less
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
.if defined(WITH_FANCY)
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
rpm:${PORTSDIR}/archivers/rpm \
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 \
cabextract:${PORTSDIR}/archivers/cabextract \
cdrecord:${PORTSDIR}/sysutils/cdrtools
.endif
USE_PERL5= yes
NO_BUILD= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --default --prefix=${PREFIX}
PLIST_FILES= bin/lesspipe.sh \
bin/code2color
SUB_FILES= pkg-message
MAN1= lesspipe.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/code2color ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/lesspipe.sh ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lesspipe.1 ${PREFIX}/man/man1
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>