From owner-svn-ports-head@FreeBSD.ORG Wed Jul 2 15:55:14 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D9D696E; Wed, 2 Jul 2014 15:55:14 +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 6AB5124BB; Wed, 2 Jul 2014 15:55:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s62FtE46037555; Wed, 2 Jul 2014 15:55:14 GMT (envelope-from vanilla@svn.freebsd.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s62FtEQb037554; Wed, 2 Jul 2014 15:55:14 GMT (envelope-from vanilla@svn.freebsd.org) Message-Id: <201407021555.s62FtEQb037554@svn.freebsd.org> From: "Vanilla I. Shu" Date: Wed, 2 Jul 2014 15:55:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360213 - head/www/mimetex X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 15:55:14 -0000 Author: vanilla Date: Wed Jul 2 15:55:13 2014 New Revision: 360213 URL: http://svnweb.freebsd.org/changeset/ports/360213 QAT: https://qat.redports.org/buildarchive/r360213/ Log: Stagify. Approved by: portmgr@ (blanket approval) Modified: head/www/mimetex/Makefile Modified: head/www/mimetex/Makefile ============================================================================== --- head/www/mimetex/Makefile Wed Jul 2 15:54:35 2014 (r360212) +++ head/www/mimetex/Makefile Wed Jul 2 15:55:13 2014 (r360213) @@ -3,7 +3,6 @@ PORTNAME= mimetex PORTVERSION= 20120331.1.74 -PORTREVISION= 0 CATEGORIES= www math MASTER_SITES= LOCAL/nivit/${PORTNAME}/${PORTVERSION}/ \ http://www.forkosh.com/ @@ -25,18 +24,20 @@ DESC_STATIC= Possible use of mimetex on PORTDOCS= ${PORTNAME}.html -NO_STAGE= yes .include + # usefull if you run mimetex on another machine .if ${PORT_OPTIONS:MSTATIC} STATIC_MIMETEX= -static .endif + # anti-aliasing no/yes .if ${PORT_OPTIONS:MANTIALIASING} IMAGES_TYPE= -DAA .else IMAGES_TYPE= -DGIF .endif + # other options (see mimetex.c or online documentation) # example: make install USER_OPTIONS='-DCACHEPATH=\"/tmp\" -DDISPLAYSIZE=10' USER_OPTIONS?= @@ -44,12 +45,13 @@ USER_OPTIONS?= do-build: cd ${WRKDIR};\ ${CC} ${CFLAGS} ${STATIC_MIMETEX} ${IMAGES_TYPE} ${USER_OPTIONS} mimetex.c gifsave.c -lm -o mimetex.cgi + do-install: - ${MKDIR} ${WWWDIR}/cgi-bin - ${INSTALL_PROGRAM} ${WRKSRC}/mimetex.cgi ${WWWDIR}/cgi-bin/mimetex.cgi + ${MKDIR} ${STAGEDIR}${WWWDIR}/cgi-bin + ${INSTALL_PROGRAM} ${WRKSRC}/mimetex.cgi ${STAGEDIR}${WWWDIR}/cgi-bin/mimetex.cgi .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .endif .include