svn commit: r388512 - head/print/gsview
Dmitry Marakasov
amdmi3 at FreeBSD.org
Thu Jun 4 09:41:08 UTC 2015
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 at 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
More information about the svn-ports-all
mailing list