aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2014-02-19 00:48:37 +0800
committergahr <gahr@FreeBSD.org>2014-02-19 00:48:37 +0800
commitb2fff025e388d6b955d79617e33849536618f296 (patch)
tree1abc3326611fbaf4a9b65829df82ae3d1dff345a /devel
parent3ee70719c775ee156534b1d3f3fc8f84691e4638 (diff)
downloadfreebsd-ports-gnome-b2fff025e388d6b955d79617e33849536618f296.tar.gz
freebsd-ports-gnome-b2fff025e388d6b955d79617e33849536618f296.tar.zst
freebsd-ports-gnome-b2fff025e388d6b955d79617e33849536618f296.zip
- STAGE-clean
Diffstat (limited to 'devel')
-rw-r--r--devel/tclcheck/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/devel/tclcheck/Makefile b/devel/tclcheck/Makefile
index ec002c668331..becdbfc60ec7 100644
--- a/devel/tclcheck/Makefile
+++ b/devel/tclcheck/Makefile
@@ -14,16 +14,12 @@ 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
-MAN1= tclCheck.1
-PLIST_FILES= bin/tclCheck
+PLIST_FILES= bin/tclCheck \
+ man/man1/tclCheck.1.gz
PORTDOCS= *
-NO_STAGE= yes
-
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} \
-e '/^BIN/s|=.*|=${PREFIX}/bin|' \
@@ -35,11 +31,9 @@ post-patch:
${WRKSRC}/tclCheck.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/tclCheck ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/tclCheck.1 ${MANPREFIX}/man/man1/
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${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>