aboutsummaryrefslogtreecommitdiffstats
path: root/misc/screen/Makefile
blob: 00e0c073286b468b6d3600acc0988d60861c3bdb (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
# New ports collection makefile for:    screen
# Date created:         25 Nov 1994
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=   screen
PORTVERSION=    4.0.2
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
        ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= screen

MAINTAINER= cy@FreeBSD.org
COMMENT=    A multi-screen window manager

GNU_CONFIGURE=  yes
MAN1=       screen.1
INFO=       screen

NO_PACKAGE= Tends to loop using 100% CPU when used from package - perhaps it hard-codes information about the build host

.include <bsd.port.pre.mk>

.if ${ARCH} == "alpha"
CFLAGS+=    -O0
.endif

post-patch:
    @${RM} ${WRKSRC}/doc/screen.info*

post-install:
    @${MKDIR} ${EXAMPLESDIR}
    @${CP} ${WRKSRC}/etc/etcscreenrc ${EXAMPLESDIR}/screenrc
    @if [ ! -f ${PREFIX}/etc/screenrc ]; then \
        ${CP} ${EXAMPLESDIR}/screenrc ${PREFIX}/etc/screenrc ; \
    fi

.include <bsd.port.post.mk>