mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
fd37d8821f
- Trim Header - Convert to OptionsNG - Prefer DISTNAME to DISTFILES - Reorder variables - Fix comments (don't include leading article) - @unexec rm must not cause failure - Tabs, not spaces - Single space for WWW - Pet portlint - etc. In a few cases the option DOCS was used to control installation into EXAMPLEDIR. I opted to keep the existing logic of the port in these cases. Reviewed by: koobs, ashish
34 lines
863 B
Makefile
34 lines
863 B
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tcb
|
|
PORTVERSION= 1.4a
|
|
PORTREVISION= 1
|
|
CATEGORIES= misc
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= utils/file
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= File viewer for terminal
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAN1= tcb.1
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|