mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
a1c88a531e
- Add LICENSE_FILE - Don't install useless docs - Switch to options helpers
41 lines
776 B
Makefile
41 lines
776 B
Makefile
# Created by: Dryice Liu <dryice@dryice.name>
|
|
# $FreeBSD$
|
|
|
|
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>
|