aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dtach
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-21 19:22:44 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-21 19:22:44 +0800
commit2e6c9fe92c7aed9c10217259cb2890e6140541ee (patch)
treef56512862be56aba9d5336a3a56c6023f1e64950 /misc/dtach
parentecdfefb7bae9f3ca5ca478f4d1a196741a10156a (diff)
downloadfreebsd-ports-graphics-2e6c9fe92c7aed9c10217259cb2890e6140541ee.tar.gz
freebsd-ports-graphics-2e6c9fe92c7aed9c10217259cb2890e6140541ee.tar.zst
freebsd-ports-graphics-2e6c9fe92c7aed9c10217259cb2890e6140541ee.zip
Support staging
Diffstat (limited to 'misc/dtach')
-rw-r--r--misc/dtach/Makefile28
1 files changed, 11 insertions, 17 deletions
diff --git a/misc/dtach/Makefile b/misc/dtach/Makefile
index 1129a83a0cb..7c474ac10f9 100644
--- a/misc/dtach/Makefile
+++ b/misc/dtach/Makefile
@@ -1,11 +1,11 @@
# Created by: Bjorn Lindstrom <bkhl@elektrubadur.se>
# $FreeBSD$
-PORTNAME= dtach
-PORTVERSION= 0.8
-PORTREVISION= 1
-CATEGORIES= misc
-MASTER_SITES= SF
+PORTNAME= dtach
+PORTVERSION= 0.8
+PORTREVISION= 1
+CATEGORIES= misc
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Emulates the detach feature of screen
@@ -13,23 +13,17 @@ COMMENT= Emulates the detach feature of screen
GNU_CONFIGURE= yes
ALL_TARGET= dtach
-MAN1= dtach.1
PORTDOCS= README
-PLIST_FILES= bin/${PORTNAME}
+PLIST_FILES= bin/dtach man/man1/dtach.1.gz
-NO_STAGE= yes
-
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/dtach ${PREFIX}/bin/
- @${INSTALL_MAN} ${WRKSRC}/dtach.1 ${MAN1PREFIX}/man/man1/
-
-.if ${PORT_OPTIONS:MDOCS}
- @${INSTALL} -d ${DOCSDIR}/
- @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/dtach ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/dtach.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>