diff options
author | danilo <danilo@FreeBSD.org> | 2013-12-08 23:16:47 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-12-08 23:16:47 +0800 |
commit | efb76e886a29272ab07f6aab7b3b7b862ecadef3 (patch) | |
tree | ae75b2386546e327b1f53c6714dc13e5a3bc0c65 /misc/tcb | |
parent | 63216b7bff7ea7135b0c9e76c123e7cfd38f2435 (diff) | |
download | freebsd-ports-gnome-efb76e886a29272ab07f6aab7b3b7b862ecadef3.tar.gz freebsd-ports-gnome-efb76e886a29272ab07f6aab7b3b7b862ecadef3.tar.zst freebsd-ports-gnome-efb76e886a29272ab07f6aab7b3b7b862ecadef3.zip |
- Remove extra tabs
- Convert USE_GMAKE to USES
- Add stage support
- Improve pkg-plist
Diffstat (limited to 'misc/tcb')
-rw-r--r-- | misc/tcb/Makefile | 37 | ||||
-rw-r--r-- | misc/tcb/pkg-plist | 15 |
2 files changed, 23 insertions, 29 deletions
diff --git a/misc/tcb/Makefile b/misc/tcb/Makefile index a06bb54131d6..fa589631e0ff 100644 --- a/misc/tcb/Makefile +++ b/misc/tcb/Makefile @@ -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> diff --git a/misc/tcb/pkg-plist b/misc/tcb/pkg-plist index 64252fc01fe7..3aff85147181 100644 --- a/misc/tcb/pkg-plist +++ b/misc/tcb/pkg-plist @@ -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%% |