View | Details | Raw Unified | Return to bug 183186
Collapse All | Expand All

(-)./Makefile (-9 / +6 lines)
Lines 1-5 Link Here
1
# Created by: ache
1
# Created by: ache
2
# $FreeBSD: sysutils/screen/Makefile 327772 2013-09-20 23:05:58Z bapt $
2
# $FreeBSD: head/sysutils/screen/Makefile 327772 2013-09-20 23:05:58Z bapt $
3
3
4
PORTNAME=	screen
4
PORTNAME=	screen
5
PORTVERSION=	4.0.3
5
PORTVERSION=	4.0.3
Lines 24-35 Link Here
24
HOSTINLOCKED_DESC=	Print user@host in locked message
24
HOSTINLOCKED_DESC=	Print user@host in locked message
25
SHOWENC_DESC=		Show encoding on the status line
25
SHOWENC_DESC=		Show encoding on the status line
26
26
27
NO_STAGE=	yes
27
OPTIONS_SUB=
28
28
.include <bsd.port.options.mk>
29
.include <bsd.port.options.mk>
29
30
30
GNU_CONFIGURE=	yes
31
GNU_CONFIGURE=	yes
31
.if ${PORT_OPTIONS:MMAN}
32
.if ${PORT_OPTIONS:MMAN}
32
MAN1=		screen.1
33
MAKE_ARGS+=	-DWITH_MAN
33
MAKE_ARGS+=	-DWITH_MAN
34
.endif
34
.endif
35
.if ${PORT_OPTIONS:MINFO}
35
.if ${PORT_OPTIONS:MINFO}
Lines 62-68 Link Here
62
.endif
62
.endif
63
63
64
.if ${PORT_OPTIONS:MHOSTINLOCKED}
64
.if ${PORT_OPTIONS:MHOSTINLOCKED}
65
EXTRA_PATCHES+= ${FILESDIR}/opt-hostinlocked
65
EXTRA_PATCHES+=	${FILESDIR}/opt-hostinlocked
66
.endif
66
.endif
67
67
68
# show encoding on the status line via option "showenc"
68
# show encoding on the status line via option "showenc"
Lines 75-84 Link Here
75
	@${REINPLACE_CMD} -e 's|/dev/ptmx|/nonexistent|' ${WRKSRC}/configure
75
	@${REINPLACE_CMD} -e 's|/dev/ptmx|/nonexistent|' ${WRKSRC}/configure
76
76
77
post-install:
77
post-install:
78
	@${MKDIR} ${EXAMPLESDIR}
78
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
79
	@${CP} ${WRKSRC}/etc/etcscreenrc ${EXAMPLESDIR}/screenrc
79
	@${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc ${STAGEDIR}${EXAMPLESDIR}/screenrc
80
	@if [ ! -f ${PREFIX}/etc/screenrc ]; then \
81
		${CP} ${EXAMPLESDIR}/screenrc ${PREFIX}/etc/screenrc ; \
82
	fi
83
80
84
.include <bsd.port.mk>
81
.include <bsd.port.mk>
(-)./pkg-plist (-4 / +5 lines)
Lines 1-4 Link Here
1
bin/screen
1
bin/screen
2
%%MAN%%man/man1/screen.1.gz
3
@unexec if cmp -s %D/etc/screenrc %D/%%EXAMPLESDIR%%/screenrc; then rm -f %D/etc/screenrc; else echo If permanently deleting this package, %%PREFIX%%/etc/screenrc must be removed manually; fi
4
%%EXAMPLESDIR%%/screenrc
5
@exec [ -f %D/etc/screenrc ] || cp %B/%f %D/etc/screenrc
2
%%DATADIR%%/utf8encodings/01
6
%%DATADIR%%/utf8encodings/01
3
%%DATADIR%%/utf8encodings/02
7
%%DATADIR%%/utf8encodings/02
4
%%DATADIR%%/utf8encodings/03
8
%%DATADIR%%/utf8encodings/03
Lines 16-24 Link Here
16
%%DATADIR%%/utf8encodings/cc
20
%%DATADIR%%/utf8encodings/cc
17
%%DATADIR%%/utf8encodings/cd
21
%%DATADIR%%/utf8encodings/cd
18
%%DATADIR%%/utf8encodings/d6
22
%%DATADIR%%/utf8encodings/d6
19
@unexec if cmp -s %D/etc/screenrc %D/%%EXAMPLESDIR%%/screenrc; then rm -f %D/etc/screenrc; else echo If permanently deleting this package, %%PREFIX%%/etc/screenrc must be removed manually; fi
20
%%EXAMPLESDIR%%/screenrc
21
@exec [ -f %D/etc/screenrc ] || cp %B/%f %D/etc/screenrc
22
@dirrm %%EXAMPLESDIR%%
23
@dirrm %%DATADIR%%/utf8encodings
23
@dirrm %%DATADIR%%/utf8encodings
24
@dirrm %%DATADIR%%
24
@dirrm %%DATADIR%%
25
@dirrm %%EXAMPLESDIR%%

Return to bug 183186