Date: Thu, 4 Jun 2015 09:41:07 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388512 - head/print/gsview Message-ID: <201506040941.t549f7GZ058330@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506040941.t549f7GZ058330>