aboutsummaryrefslogtreecommitdiff
path: root/sysutils/screen/Makefile
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2013-10-22 20:15:16 +0000
committerCy Schubert <cy@FreeBSD.org>2013-10-22 20:15:16 +0000
commit3bd117e04b35eb3acd023487031eff01ecc404a2 (patch)
treec15c97d3980e46a3cab2b015b63668e8d8480791 /sysutils/screen/Makefile
parente69393a3aeeba074516fc83ce8ed549e41dbc92a (diff)
downloadports-3bd117e04b35eb3acd023487031eff01ecc404a2.tar.gz
ports-3bd117e04b35eb3acd023487031eff01ecc404a2.zip
Notes
Diffstat (limited to 'sysutils/screen/Makefile')
-rw-r--r--sysutils/screen/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/sysutils/screen/Makefile b/sysutils/screen/Makefile
index 2a8010c6e42f..7c950e9030fe 100644
--- a/sysutils/screen/Makefile
+++ b/sysutils/screen/Makefile
@@ -24,12 +24,12 @@ XTERM_256_DESC= Enable support for 256 colour xterm
HOSTINLOCKED_DESC= Print user@host in locked message
SHOWENC_DESC= Show encoding on the status line
-NO_STAGE= yes
+OPTIONS_SUB=
+
.include <bsd.port.options.mk>
GNU_CONFIGURE= yes
.if ${PORT_OPTIONS:MMAN}
-MAN1= screen.1
MAKE_ARGS+= -DWITH_MAN
.endif
.if ${PORT_OPTIONS:MINFO}
@@ -75,10 +75,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|/dev/ptmx|/nonexistent|' ${WRKSRC}/configure
post-install:
- @${MKDIR} ${EXAMPLESDIR}
- @${CP} ${WRKSRC}/etc/etcscreenrc ${EXAMPLESDIR}/screenrc
- @if [ ! -f ${PREFIX}/etc/screenrc ]; then \
- ${CP} ${EXAMPLESDIR}/screenrc ${PREFIX}/etc/screenrc ; \
- fi
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc ${STAGEDIR}${EXAMPLESDIR}/screenrc
+
.include <bsd.port.mk>