blob: c119abbec206c3acca6d67d0a7a1ee987bde2279 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Created by: Dryice Liu <dryice@dryice.name>
PORTNAME= cw
PORTVERSION= 1.0.16
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://cwrapper.sourceforge.net/ \
http://www.fakehalo.us/cw/
MAINTAINER= ports@FreeBSD.org
COMMENT= Non-intrusive color wrapper for common commands
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= shebangfix
SHEBANG_FILES= def/*
SHEBANG_LANG= cw
cw_OLD_CMD= /cw
cw_CMD= ${PREFIX}/bin/cw
GNU_CONFIGURE= yes
ALL_TARGET= local
PORTDOCS= CHANGES CONTRIB README
OPTIONS_DEFINE= DOCS
post-install:
.for file in cw cwu
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
.endfor
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|