From owner-svn-ports-head@FreeBSD.ORG Sun Jun 22 02:04:15 2014 Return-Path: Delivered-To: svn-ports-head@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 B2790ED0; Sun, 22 Jun 2014 02:04:15 +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 86BD5285A; Sun, 22 Jun 2014 02:04:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5M24FHX035588; Sun, 22 Jun 2014 02:04:15 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5M24FK7035587; Sun, 22 Jun 2014 02:04:15 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201406220204.s5M24FK7035587@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Sun, 22 Jun 2014 02:04:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r358761 - head/www/mathopd 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: Sun, 22 Jun 2014 02:04:15 -0000 Author: danilo Date: Sun Jun 22 02:04:14 2014 New Revision: 358761 URL: http://svnweb.freebsd.org/changeset/ports/358761 QAT: https://qat.redports.org/buildarchive/r358761/ Log: - Add stage support - Add DOCS option - Add LICENSE PR: ports/191255 Submitted by: michiel@boland.org Modified: head/www/mathopd/Makefile Modified: head/www/mathopd/Makefile ============================================================================== --- head/www/mathopd/Makefile Sun Jun 22 01:33:56 2014 (r358760) +++ head/www/mathopd/Makefile Sun Jun 22 02:04:14 2014 (r358761) @@ -3,29 +3,32 @@ PORTNAME= mathopd PORTVERSION= 1.5p8 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.mathopd.org/dist/ MAINTAINER= michiel@boland.org COMMENT= Small, yet fast HTTP server +LICENSE= BSD3CLAUSE + CFLAGS+= -DFREEBSD_SENDFILE MAKE_ARGS= CFLAGS="${CFLAGS}" +OPTIONS_DEFINE= DOCS + DOCS= CHANGES cgi.txt config.txt running.txt sample.cfg syntax.txt -NO_STAGE= yes -post-install: - @${INSTALL_DATA} ${WRKSRC}/doc/sample.cfg ${PREFIX}/etc/mathopd.conf.sample -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/mathopd - @${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/mathopd - @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mathopd +do-install: + ${INSTALL} -s ${WRKSRC}/src/mathopd ${STAGEDIR}${PREFIX}/sbin/ + ${INSTALL_DATA} ${WRKSRC}/doc/sample.cfg ${STAGEDIR}${PREFIX}/etc/mathopd.conf.sample + @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/mathopd + ${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${PREFIX}/share/doc/mathopd + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/mathopd .for df in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/doc/${df} ${PREFIX}/share/doc/mathopd + ${INSTALL_DATA} ${WRKSRC}/doc/${df} ${STAGEDIR}${PREFIX}/share/doc/mathopd .endfor -.endif - ${INSTALL_SCRIPT} ${FILESDIR}/mathopd.sh ${PREFIX}/etc/rc.d/mathopd.sh-dist + ${INSTALL_SCRIPT} ${FILESDIR}/mathopd.sh ${STAGEDIR}${PREFIX}/etc/rc.d/mathopd.sh-dist @${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE} .include