1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-02-21 11:22:44 +00:00
parent ec1e4bdeb4
commit f725c461e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345372

View File

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