mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
41 lines
1.0 KiB
Makefile
41 lines
1.0 KiB
Makefile
# Created by: Sander Vesik <sander@haldjas.folklore.ee>
|
|
|
|
PORTNAME= tclcheck
|
|
PORTVERSION= 1.1.13
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= https://BSDforge.com/projects/source/devel/tclcheck/
|
|
DISTNAME= tclCheck-${PORTVERSION}
|
|
|
|
MAINTAINER= tcltk@FreeBSD.org
|
|
COMMENT= Program to check the nesting of parenthesis in tcl scripts
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
USES= alias
|
|
|
|
PLIST_FILES= bin/tclCheck \
|
|
man/man1/tclCheck.1.gz
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} \
|
|
-e '/^BIN/s|=.*|=${PREFIX}/bin|' \
|
|
-e '/^CC/s|=.*|=${CC}|' \
|
|
-e '/^CFLAGS/s|=.*|=${CFLAGS}|' \
|
|
${WRKSRC}/Makefile
|
|
${REINPLACE_CMD} \
|
|
-e '25s|^|#include <unistd.h>|' \
|
|
${WRKSRC}/tclCheck.c
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tclCheck ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/tclCheck.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|