30 lines
644 B
Makefile
30 lines
644 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rclint
|
|
PORTVERSION= 0.0.3
|
|
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
|
|
|
|
NO_BUILD= yes
|
|
USE_PYTHON= yes
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
PORTDATA= ${PORTNAME}.py errors.en
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,\(DATADIR = \)'\.',\1'${DATADIR}'," \
|
|
${WRKSRC}/${PORTNAME}.py
|
|
|
|
do-install:
|
|
${MKDIR} ${DATADIR}
|
|
.for f in ${PORTDATA}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/$f ${DATADIR}
|
|
.endfor
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|