From owner-svn-ports-all@FreeBSD.ORG Wed Apr 24 13:07:07 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4F2A7FB0; Wed, 24 Apr 2013 13:07:07 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 2894E13C9; Wed, 24 Apr 2013 13:07:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3OD77BL038022; Wed, 24 Apr 2013 13:07:07 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3OD77Ip038020; Wed, 24 Apr 2013 13:07:07 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201304241307.r3OD77Ip038020@svn.freebsd.org> From: Pietro Cerutti Date: Wed, 24 Apr 2013 13:07:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316428 - in head/devel/tclcheck: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Apr 2013 13:07:07 -0000 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 -# +# Created by: Sander Vesik # $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@FreeBSD.org -COMMENT= A program to check the nesting of parenthesis in tcl scripts +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 MAN1= tclCheck.1 -MANCOMPRESSED= yes +PLIST_FILES= bin/tclCheck +PORTDOCS= * -pre-build: - @${CP} -f ${FILESDIR}/Makefile ${WRKSRC}/Makefile +.include -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 |' \ + ${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