svn commit: r316428 - in head/devel/tclcheck: . files
Pietro Cerutti
gahr at FreeBSD.org
Wed Apr 24 13:07:07 UTC 2013
Author: gahr
Date: Wed Apr 24 13:07:06 2013
New Revision: 316428
URL: http://svnweb.freebsd.org/changeset/ports/316428
Log:
- Take maintainership (tcltk@)
- Trim Makefile headers
- Use the port's build infrastructure instead of providing a custom Makefile
Deleted:
head/devel/tclcheck/files/
head/devel/tclcheck/pkg-plist
Modified:
head/devel/tclcheck/Makefile (contents, props changed)
Modified: head/devel/tclcheck/Makefile
==============================================================================
--- head/devel/tclcheck/Makefile Wed Apr 24 12:59:36 2013 (r316427)
+++ head/devel/tclcheck/Makefile Wed Apr 24 13:07:06 2013 (r316428)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: TclCheck
-# Date created: 28 June 1997
-# Whom: Sander Vesik <sander at haldjas.folklore.ee>
-#
+# Created by: Sander Vesik <sander at haldjas.folklore.ee>
# $FreeBSD$
-#
PORTNAME= tclcheck
PORTVERSION= 1.1.13
@@ -12,19 +8,34 @@ CATEGORIES= devel
MASTER_SITES= ftp://catless.ncl.ac.uk/pub/
DISTNAME= tclCheck-${PORTVERSION}
-MAINTAINER= ports at FreeBSD.org
-COMMENT= A program to check the nesting of parenthesis in tcl scripts
+MAINTAINER= tcltk at 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
MAN1= tclCheck.1
-MANCOMPRESSED= yes
+PLIST_FILES= bin/tclCheck
+PORTDOCS= *
-pre-build:
- @${CP} -f ${FILESDIR}/Makefile ${WRKSRC}/Makefile
+.include <bsd.port.options.mk>
-post-install:
-.if !defined(NOPORTDOCS)
+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 ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/tclCheck.1 ${MANPREFIX}/man/man1/
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${WRKSRC}/README ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list