aboutsummaryrefslogtreecommitdiff
path: root/misc/dtach
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-03-25 04:30:31 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-03-25 04:30:31 +0000
commitfd37d8821fdc48edb0c489017447cb8ee865c5b9 (patch)
treee9502ec9d580c1cb296d2b6e887c07a0737f2b7c /misc/dtach
parent48c429ec3a76441cc6a3dba681f911b9b7eccb7f (diff)
downloadports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.tar.gz
ports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.zip
Notes
Diffstat (limited to 'misc/dtach')
-rw-r--r--misc/dtach/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/dtach/Makefile b/misc/dtach/Makefile
index 832e626a9432..1eb80c5fb842 100644
--- a/misc/dtach/Makefile
+++ b/misc/dtach/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dtach
-# Date created: 21 Jun 2004
-# Whom: Bjorn Lindstrom <bkhl@elektrubadur.se>
-#
+# Created by: Bjorn Lindstrom <bkhl@elektrubadur.se>
# $FreeBSD$
-#
PORTNAME= dtach
PORTVERSION= 0.8
@@ -21,11 +17,13 @@ MAN1= dtach.1
PORTDOCS= README
PLIST_FILES= bin/${PORTNAME}
+.include <bsd.port.options.mk>
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/dtach ${PREFIX}/bin/
@${INSTALL_MAN} ${WRKSRC}/dtach.1 ${MAN1PREFIX}/man/man1/
-.ifndef NOPORTDOCS
+.if ${PORT_OPTIONS:MDOCS}
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif