Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2014 16:16:10 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362214 - head/games/scummvm
Message-ID:  <201407181616.s6IGGA1g049570@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Jul 18 16:16:09 2014
New Revision: 362214
URL: http://svnweb.freebsd.org/changeset/ports/362214
QAT: https://qat.redports.org/buildarchive/r362214/

Log:
  Unbreak packaging by patching configure to put manpages into the
  right directory.

Modified:
  head/games/scummvm/Makefile
  head/games/scummvm/pkg-plist

Modified: head/games/scummvm/Makefile
==============================================================================
--- head/games/scummvm/Makefile	Fri Jul 18 15:41:41 2014	(r362213)
+++ head/games/scummvm/Makefile	Fri Jul 18 16:16:09 2014	(r362214)
@@ -59,6 +59,9 @@ MT32EMU_CONFIGURE_OFF=	--disable-mt32emu
 BROKEN=		Does not compile on ia64, powerpc, or sparc64
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e '/^mandir=/s/datarootdir/prefix/' ${WRKSRC}/configure
+
 post-install:
 	${MKDIR} ${STAGEDIR}${DESKTOPDIR}
 	${INSTALL_DATA} ${WRKSRC}/dists/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}/

Modified: head/games/scummvm/pkg-plist
==============================================================================
--- head/games/scummvm/pkg-plist	Fri Jul 18 15:41:41 2014	(r362213)
+++ head/games/scummvm/pkg-plist	Fri Jul 18 16:16:09 2014	(r362214)
@@ -1,4 +1,5 @@
 bin/scummvm
+man/man6/scummvm.6.gz
 share/applications/scummvm.desktop
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
@@ -8,7 +9,6 @@ share/applications/scummvm.desktop
 %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
-share/man/man6/scummvm.6.gz
 share/pixmaps/scummvm.xpm
 %%DATADIR%%/drascula.dat
 %%DATADIR%%/hugo.dat
@@ -23,6 +23,4 @@ share/pixmaps/scummvm.xpm
 %%DATADIR%%/toon.dat
 %%DATADIR%%/translations.dat
 @dirrmtry %%DATADIR%%
-@dirrmtry share/man/man6
-@dirrmtry share/man
 %%PORTDOCS%%@dirrmtry %%DOCSDIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407181616.s6IGGA1g049570>