- Remove extra tabs

- Convert USE_GMAKE to USES
- Add stage support
- Improve pkg-plist
This commit is contained in:
Danilo Egea Gondolfo 2013-12-08 15:16:47 +00:00
parent a178fb5494
commit cf452a490e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335904
2 changed files with 23 additions and 29 deletions

View File

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

View File

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