1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/misc/screen/Makefile
Edwin Groothuis 203cd8df0e [PATCH] misc/screen: Utilize EXAMPLESDIR
Utilize EXAMPLESDIR to improves layout; i.e.,

	  configuration file        -> ${PREFIX}/etc
	  sample configuration file -> ${PREFIX}/share/examples/${PORTNAME}

	This change helps if many configuration files and sample ones exist.

PR:		ports/58385
Submitted by:	Hideyuki KURASHINA <rushani@FreeBSD.org>
Approved by: 	maintainer timeout
2004-07-19 07:21:17 +00:00

42 lines
902 B
Makefile

# 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>