From owner-svn-ports-all@FreeBSD.ORG Fri Apr 25 07:15:29 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F6DAE7E; Fri, 25 Apr 2014 07:15:29 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F076917DF; Fri, 25 Apr 2014 07:15:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3P7FSOq088999; Fri, 25 Apr 2014 07:15:28 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3P7FSaK088998; Fri, 25 Apr 2014 07:15:28 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201404250715.s3P7FSaK088998@svn.freebsd.org> From: Rusmir Dusko Date: Fri, 25 Apr 2014 07:15:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r352089 - head/print/detex 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.17 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: Fri, 25 Apr 2014 07:15:29 -0000 Author: nemysis Date: Fri Apr 25 07:15:28 2014 New Revision: 352089 URL: http://svnweb.freebsd.org/changeset/ports/352089 QAT: https://qat.redports.org/buildarchive/r352089/ Log: - Bump PORTREVISION for LICENSE adding - Remove DEPRECATED, EXPIRATION_DATE - Add license (MIT) - Support STAGEDIR - Add post-extract to fix MAN - Add DOCS and Option - Please don't deprecate so easily next time, this port was not hard to fix. Modified: head/print/detex/Makefile Modified: head/print/detex/Makefile ============================================================================== --- head/print/detex/Makefile Fri Apr 25 06:45:45 2014 (r352088) +++ head/print/detex/Makefile Fri Apr 25 07:15:28 2014 (r352089) @@ -3,6 +3,7 @@ PORTNAME= detex PORTVERSION= 2.8 +PORTREVISIO= 1 CATEGORIES= print MASTER_SITES= http://www.cs.purdue.edu/homes/trinkle/detex/ EXTRACT_SUFX= .tar @@ -10,15 +11,25 @@ EXTRACT_SUFX= .tar MAINTAINER= ports@FreeBSD.org COMMENT= Strips TeX/LaTeX codes from a file -DEPRECATED= Unmaintained since 2002 -EXPIRATION_DATE= 2014-04-17 +LICENSE= MIT + MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -DNO_MALLOC_DECL -DHAVE_STRING_H" -MAN1= detex.1 -PLIST_FILES= bin/detex -NO_STAGE= yes +PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz + +PORTDOCS= README +OPTIONS_DEFINE= DOCS + +post-extract: + @(cd ${WRKSRC} && ${MV} ${PORTNAME}.1l ${PORTNAME}.1) + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/detex ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1}l ${MANPREFIX}/man/man1/${MAN1} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ + ${STAGEDIR}${MAN1PREFIX}/man/man1/ + + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include