2013-05-26 22:02:15 +02:00
|
|
|
# Created by: Dryice Liu <dryice@dryice.name>
|
2006-12-04 23:14:17 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cw
|
2010-09-18 17:57:45 +02:00
|
|
|
PORTVERSION= 1.0.16
|
2013-11-09 16:18:18 +01:00
|
|
|
PORTREVISION= 1
|
2006-12-04 23:14:17 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://cwrapper.sourceforge.net/ \
|
2010-09-18 17:57:45 +02:00
|
|
|
http://www.fakehalo.us/cw/
|
2006-12-04 23:14:17 +01:00
|
|
|
|
2008-12-18 03:24:04 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-05-26 22:02:15 +02:00
|
|
|
COMMENT= Non-intrusive color wrapper for common commands
|
2006-12-04 23:14:17 +01:00
|
|
|
|
2013-11-09 16:18:18 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
USES= shebangfix
|
|
|
|
|
|
|
|
SHEBANG_FILES= def/*
|
|
|
|
SHEBANG_LANG= cw
|
|
|
|
cw_OLD_CMD= /cw
|
|
|
|
cw_CMD= ${PREFIX}/bin/cw
|
|
|
|
|
2006-12-04 23:14:17 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-11-09 16:18:18 +01:00
|
|
|
ALL_TARGET= local
|
2006-12-04 23:14:17 +01:00
|
|
|
|
2013-11-09 16:18:18 +01:00
|
|
|
PORTDOCS= CHANGES CONTRIB FILES INSTALL PLATFORM README VERSION
|
2013-05-26 22:02:15 +02:00
|
|
|
|
2013-11-09 16:18:18 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2013-05-26 22:02:15 +02:00
|
|
|
|
2006-12-04 23:14:17 +01:00
|
|
|
post-install:
|
2013-11-08 16:06:28 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2013-11-09 16:18:18 +01:00
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for file in cw cwu
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
|
|
|
|
.endfor
|
2006-12-04 23:14:17 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|