svn commit: r396836 - in head/graphics/xpdf: . files

Koop Mast kwm at FreeBSD.org
Sun Sep 13 17:15:31 UTC 2015


Author: kwm
Date: Sun Sep 13 17:15:30 2015
New Revision: 396836
URL: https://svnweb.freebsd.org/changeset/ports/396836

Log:
  Add a man config file, to point to the custom location where xpdf puts the
  man pages. This is done to avoid a conflict with poppler-utils. If both
  are installed, the poppler-utils man pages are prefered.
  
  PR:		202231
  Submitted by:	Joseph Mingrone <jrm at ftfl.ca>
  Approved by:	maintainer timeout (14 days)

Added:
  head/graphics/xpdf/files/xpdf-man.conf.in   (contents, props changed)
Modified:
  head/graphics/xpdf/Makefile

Modified: head/graphics/xpdf/Makefile
==============================================================================
--- head/graphics/xpdf/Makefile	Sun Sep 13 17:05:49 2015	(r396835)
+++ head/graphics/xpdf/Makefile	Sun Sep 13 17:15:30 2015	(r396836)
@@ -2,7 +2,7 @@
 
 PORTNAME=	xpdf
 PORTVERSION=	3.04
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	graphics print
 MASTER_SITES=	http://mirrors.rit.edu/zi/ \
 		ftp://ftp.foolabs.com/pub/xpdf/ \
@@ -37,6 +37,8 @@ TYPE1_DESC=	Ghostscript type1 fonts
 OPTIONS_DEFAULT=	TYPE1 X11
 OPTIONS_SUB=		yes
 
+SUB_FILES=	xpdf-man.conf
+
 TYPE1_RUN_DEPENDS=	${LOCALBASE}/share/ghostscript/fonts/n021003l.pfb:${PORTSDIR}/print/gsfonts
 
 LIBPAPER_LIB_DEPENDS=	libpaper.so:${PORTSDIR}/print/libpaper
@@ -61,5 +63,7 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 	${LN} -sf ${PREFIX}/libexec/xpdf/xpdf ${STAGEDIR}${PREFIX}/bin/xpdf
+	${INSTALL_DATA} ${WRKDIR}/xpdf-man.conf \
+		${STAGEDIR}${PREFIX}/etc/man.d/xpdf.conf
 
 .include <bsd.port.mk>

Added: head/graphics/xpdf/files/xpdf-man.conf.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/xpdf/files/xpdf-man.conf.in	Sun Sep 13 17:15:30 2015	(r396836)
@@ -0,0 +1 @@
+MANPATH %%PREFIX%%/share/xpdf/man


More information about the svn-ports-head mailing list