blob: b22f9e8bb83651a4d634a73f009527269d146ba7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Created by: Charlie Kester <corky1951@comcast.net>
# $FreeBSD$
PORTNAME= moreutils
PORTVERSION= 0.50
CATEGORIES= sysutils
MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Additional Unix utilities
LICENSE= GPLv2
RUN_DEPENDS= p5-IPC-Run>=0:${PORTSDIR}/devel/p5-IPC-Run
OPTIONS_DEFINE= MANPAGES
OPTIONS_DEFAULT=MANPAGES
ALL_TARGET= bins
USES= perl5
WRKSRC= ${WRKDIR}/${PORTNAME}
MANCOMPRESSED= no
PLIST_FILES= bin/chronic \
bin/combine \
bin/errno \
bin/ifne \
bin/isutf8 \
bin/lckdo \
bin/mispipe \
bin/pee \
bin/sponge \
bin/ts \
bin/vidir \
bin/vipe \
bin/zrun
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMANPAGES}
ALL_TARGET+= mans
CANNED_MAN1= errno.1 \
ifne.1 \
isutf8.1 \
lckdo.1 \
mispipe.1 \
pee.1 \
sponge.1
MAN1= chronic.1 \
combine.1 \
ts.1 \
vidir.1 \
vipe.1 \
zrun.1 \
${CANNED_MAN1}
.endif
post-patch:
@${REINPLACE_CMD} -e 's|share/xml/docbook/schema/dtd/|local/share/xml/docbook/|' ${WRKSRC}/*.docbook
.if ${PORT_OPTIONS:MMANPAGES}
@cd ${FILESDIR}/ && ${CP} ${CANNED_MAN1} ${WRKSRC}/
.endif
post-install:
.if ${PORT_OPTIONS:MMANPAGES}
cd ${WRKSRC}/ && ${INSTALL_MAN} ${MAN1} ${MANPREFIX}/man/man1/
.endif
.include <bsd.port.mk>
|