mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
33 lines
721 B
Makefile
33 lines
721 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rclint
|
|
PORTVERSION= 0.2.1
|
|
CATEGORIES= devel textproc python
|
|
MASTER_SITES= http://www.bayofrum.net/dist/rclint/ \
|
|
LOCAL/crees/
|
|
|
|
MAINTAINER= crees@FreeBSD.org
|
|
COMMENT= Checks rc scripts for style and common errors
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
NO_BUILD= yes
|
|
|
|
USES= python:run
|
|
SUB_FILES= ${PORTNAME}
|
|
SUB_LIST= PYTHON_CMD=${PYTHON_CMD}
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
PORTDATA= ${PORTNAME}.py errors.en
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,\(DATADIR = \)'\.',\1'${DATADIR}'," \
|
|
${WRKSRC}/${PORTNAME}.py
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_SCRIPT} ${PORTDATA:S,^,${WRKSRC}/,} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|