Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2013 15:16:48 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335904 - head/misc/tcb
Message-ID:  <201312081516.rB8FGmWD019918@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sun Dec  8 15:16:47 2013
New Revision: 335904
URL: http://svnweb.freebsd.org/changeset/ports/335904

Log:
  - Remove extra tabs
  - Convert USE_GMAKE to USES
  - Add stage support
  - Improve pkg-plist

Modified:
  head/misc/tcb/Makefile
  head/misc/tcb/pkg-plist

Modified: head/misc/tcb/Makefile
==============================================================================
--- head/misc/tcb/Makefile	Sun Dec  8 15:14:04 2013	(r335903)
+++ head/misc/tcb/Makefile	Sun Dec  8 15:16:47 2013	(r335904)
@@ -1,34 +1,27 @@
 # Created by: Andrey Zakhvatov
 # $FreeBSD$
 
-PORTNAME=		tcb
-PORTVERSION=		1.4a
+PORTNAME=	tcb
+PORTVERSION=	1.4a
 PORTREVISION=	1
-CATEGORIES=		misc
-MASTER_SITES=		${MASTER_SITE_SUNSITE}
+CATEGORIES=	misc
+MASTER_SITES=	${MASTER_SITE_SUNSITE}
 MASTER_SITE_SUBDIR=	utils/file
 
-MAINTAINER=		ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	File viewer for terminal
 
-USE_GMAKE=		yes
-
-MAN1=			tcb.1
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+USES=		gmake
 
 do-install:
-	@ ${INSTALL_PROGRAM} ${WRKSRC}/src/tcb ${PREFIX}/bin
-	@ ${MKDIR} ${PREFIX}/share/tcb
-	@ ${INSTALL_DATA} ${WRKSRC}/tcbrc ${PREFIX}/share/tcb
-	@ ${INSTALL_DATA} ${WRKSRC}/doc/HELP ${PREFIX}/share/tcb
-	@ ${INSTALL_MAN} ${WRKSRC}/doc/tcb.1 ${PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
-	@ ${MKDIR} ${PREFIX}/share/doc/tcb
-	@ ${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${PREFIX}/share/doc/tcb
-	@ ${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${PREFIX}/share/doc/tcb
-	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tcb
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/src/tcb ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/tcb
+	${INSTALL_DATA} ${WRKSRC}/tcbrc ${STAGEDIR}${PREFIX}/share/tcb
+	${INSTALL_DATA} ${WRKSRC}/doc/HELP ${STAGEDIR}${PREFIX}/share/tcb
+	${INSTALL_MAN} ${WRKSRC}/doc/tcb.1 ${STAGEDIR}${PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/tcb
+	${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${STAGEDIR}${PREFIX}/share/doc/tcb
+	${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${STAGEDIR}${PREFIX}/share/doc/tcb
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/tcb
 
 .include <bsd.port.mk>

Modified: head/misc/tcb/pkg-plist
==============================================================================
--- head/misc/tcb/pkg-plist	Sun Dec  8 15:14:04 2013	(r335903)
+++ head/misc/tcb/pkg-plist	Sun Dec  8 15:16:47 2013	(r335904)
@@ -1,8 +1,9 @@
 bin/tcb
-%%PORTDOCS%%share/doc/tcb/CHANGES
-%%PORTDOCS%%share/doc/tcb/COPYING
-%%PORTDOCS%%share/doc/tcb/README
-share/tcb/HELP
-share/tcb/tcbrc
-%%PORTDOCS%%@dirrm share/doc/tcb
-@dirrm share/tcb
+man/man1/tcb.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%DATADIR%%/HELP
+%%DATADIR%%/tcbrc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312081516.rB8FGmWD019918>