2013-03-10 10:02:47 +01:00
|
|
|
# Created by: Charlie Kester <corky1951@comcast.net>
|
2009-06-21 12:24:50 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= moreutils
|
2013-03-10 10:02:47 +01:00
|
|
|
PORTVERSION= 0.47
|
2009-06-21 12:24:50 +02:00
|
|
|
CATEGORIES= sysutils
|
2011-06-25 00:26:51 +02:00
|
|
|
MASTER_SITES= DEBIAN_POOL
|
2009-06-21 12:24:50 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
|
2011-04-27 09:34:19 +02:00
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2009-06-21 12:24:50 +02:00
|
|
|
COMMENT= Additional Unix utilities
|
|
|
|
|
2011-06-25 00:26:51 +02:00
|
|
|
RUN_DEPENDS= p5-IPC-Run>=0:${PORTSDIR}/devel/p5-IPC-Run
|
2010-11-18 10:34:12 +01:00
|
|
|
|
2013-03-10 10:02:47 +01:00
|
|
|
OPTIONS_DEFINE= MANPAGES
|
|
|
|
OPTIONS_DEFAULT=MANPAGES
|
|
|
|
|
2011-06-25 00:26:51 +02:00
|
|
|
ALL_TARGET= bins
|
2009-06-21 12:24:50 +02:00
|
|
|
USE_PERL5= yes
|
2011-06-25 00:26:51 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2009-06-21 12:24:50 +02:00
|
|
|
|
2013-03-10 10:02:47 +01:00
|
|
|
MANCOMPRESSED= no
|
2010-11-18 10:34:12 +01:00
|
|
|
PLIST_FILES= bin/chronic \
|
|
|
|
bin/combine \
|
2013-03-10 10:02:47 +01:00
|
|
|
bin/errno \
|
2009-06-21 12:24:50 +02:00
|
|
|
bin/ifne \
|
|
|
|
bin/isutf8 \
|
|
|
|
bin/lckdo \
|
|
|
|
bin/mispipe \
|
|
|
|
bin/pee \
|
|
|
|
bin/sponge \
|
|
|
|
bin/ts \
|
|
|
|
bin/vidir \
|
|
|
|
bin/vipe \
|
|
|
|
bin/zrun
|
|
|
|
|
2013-03-10 10:02:47 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2009-06-21 12:24:50 +02:00
|
|
|
|
2013-03-10 10:02:47 +01:00
|
|
|
.if ${PORT_OPTIONS:MMANPAGES}
|
|
|
|
ALL_TARGET+= mans
|
|
|
|
CANNED_MAN1= errno.1 \
|
|
|
|
ifne.1 \
|
2010-03-13 13:41:14 +01:00
|
|
|
isutf8.1 \
|
|
|
|
lckdo.1 \
|
|
|
|
mispipe.1 \
|
|
|
|
pee.1 \
|
|
|
|
sponge.1
|
2010-12-16 17:31:11 +01:00
|
|
|
MAN1= chronic.1 \
|
|
|
|
combine.1 \
|
|
|
|
ts.1 \
|
|
|
|
vidir.1 \
|
|
|
|
vipe.1 \
|
|
|
|
zrun.1 \
|
2013-03-10 10:02:47 +01:00
|
|
|
${CANNED_MAN1}
|
|
|
|
.endif
|
2009-06-21 12:24:50 +02:00
|
|
|
|
|
|
|
post-patch:
|
2013-03-10 10:02:47 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|share/xml/docbook/schema/dtd/|local/share/xml/docbook/|' ${WRKSRC}/*.docbook
|
2013-03-24 07:16:50 +01:00
|
|
|
.if ${PORT_OPTIONS:MMANPAGES}
|
2013-03-10 10:02:47 +01:00
|
|
|
@cd ${FILESDIR}/ && ${CP} ${CANNED_MAN1} ${WRKSRC}/
|
2013-03-24 07:16:50 +01:00
|
|
|
.endif
|
2009-06-21 12:24:50 +02:00
|
|
|
|
|
|
|
post-install:
|
2013-03-10 10:02:47 +01:00
|
|
|
.if ${PORT_OPTIONS:MMANPAGES}
|
|
|
|
cd ${WRKSRC}/ && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1/
|
2009-06-21 12:24:50 +02:00
|
|
|
.endif
|
|
|
|
|
2010-11-18 10:34:12 +01:00
|
|
|
.include <bsd.port.mk>
|