From owner-svn-ports-head@FreeBSD.ORG Thu Jun 4 09:41:08 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 29029543; Thu, 4 Jun 2015 09:41:08 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) 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 1781E1C28; Thu, 4 Jun 2015 09:41:08 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t549f7uj058331; Thu, 4 Jun 2015 09:41:07 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t549f7GZ058330; Thu, 4 Jun 2015 09:41:07 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201506040941.t549f7GZ058330@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 4 Jun 2015 09:41:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388512 - head/print/gsview 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.20 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: Thu, 04 Jun 2015 09:41:08 -0000 Author: amdmi3 Date: Thu Jun 4 09:41:07 2015 New Revision: 388512 URL: https://svnweb.freebsd.org/changeset/ports/388512 Log: - Add license, switch from NO_CDROM to LICENSE permissions - Add CPE info - Style fixes Modified: head/print/gsview/Makefile Modified: head/print/gsview/Makefile ============================================================================== --- head/print/gsview/Makefile Thu Jun 4 09:40:52 2015 (r388511) +++ head/print/gsview/Makefile Thu Jun 4 09:41:07 2015 (r388512) @@ -10,15 +10,17 @@ MASTER_SITES= LOCAL/bf MAINTAINER= ports@FreeBSD.org COMMENT= GUI to view, search, print, and convert PostScript and PDF documents -USE_GNOME= gtk12 -USE_GHOSTSCRIPT= yes - -OPTIONS_DEFINE= DOCS +LICENSE= AFPL +LICENSE_NAME= Aladdin Free Public Licence +LICENSE_FILE= ${WRKSRC}/LICENCE +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept RUN_DEPENDS+= epstool:${PORTSDIR}/graphics/epstool \ pstotext:${PORTSDIR}/print/pstotext -NO_CDROM= Can only be distributed for free +USES= cpe +USE_GNOME= gtk12 +USE_GHOSTSCRIPT=yes MAKE_JOBS_UNSAFE= yes @@ -31,13 +33,15 @@ PORTDOCS= gsview.css cdorder.txt regorde gvxit.htm gvxnl.htm gvxru.htm gvxse.htm gvxsk.htm SUB_FILES= pkg-message +OPTIONS_DEFINE= DOCS + post-patch: ${CP} ${WRKSRC}/srcunx/unx.mak ${WRKSRC}/Makefile ${REINPLACE_CMD} -e 's;malloc\.h;stdlib\.h;g' \ - ${WRKSRC}/src/doc2html.c ${WRKSRC}/src/doc2ipf.c \ - ${WRKSRC}/src/doc2xml.c + ${WRKSRC}/src/doc2html.c ${WRKSRC}/src/doc2ipf.c \ + ${WRKSRC}/src/doc2xml.c ${REINPLACE_CMD} -e 's;mozilla;firefox3;g' \ - ${WRKSRC}/srcunx/gvxhelp.txt + ${WRKSRC}/srcunx/gvxhelp.txt do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/gsview ${STAGEDIR}${PREFIX}/bin