Bug 173464 - [PATCH] emulators/linux-pete-mesagpu: update to 1.77, take maintainership
Summary: [PATCH] emulators/linux-pete-mesagpu: update to 1.77, take maintainership
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Boris Samorodov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-08 05:40 UTC by Naram Qashat
Modified: 2013-05-20 09:40 UTC (History)
0 users

See Also:


Attachments
linux-pete-mesagpu-1.77.patch (3.38 KB, patch)
2012-11-08 05:40 UTC, Naram Qashat
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Naram Qashat 2012-11-08 05:40:00 UTC
- Update to 1.77
- Take maintainership

Note: This PR relies on PR ports/173462.

Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
Comment 1 Boris Samorodov freebsd_committer freebsd_triage 2013-05-20 09:19:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bsam

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-05-20 09:35:33 UTC
Author: bsam
Date: Mon May 20 08:35:19 2013
New Revision: 318583
URL: http://svnweb.freebsd.org/changeset/ports/318583

Log:
  . update to version 1.77;
  . trim Makefile headers;
  . lang maintainership to the submitter.
  
  While I'm here: remove the indefinite article from COMMENT.
  
  PR:		ports/173464
  Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com>

Modified:
  head/emulators/linux-pete-mesagpu/Makefile
  head/emulators/linux-pete-mesagpu/distinfo
  head/emulators/linux-pete-mesagpu/pkg-plist

Modified: head/emulators/linux-pete-mesagpu/Makefile
==============================================================================
--- head/emulators/linux-pete-mesagpu/Makefile	Mon May 20 08:31:42 2013	(r318582)
+++ head/emulators/linux-pete-mesagpu/Makefile	Mon May 20 08:35:19 2013	(r318583)
@@ -1,34 +1,28 @@
-# New ports collection makefile for:	linux-pete-mesagpu
-# Date created:			23 Dec 2002
-# Whom:				Jean-Yves Lefort <jylefort@brutele.be>
-#
+# Created by: Jean-Yves Lefort <jylefort@brutele.be>
 # $FreeBSD$
-#
 
 PORTNAME=	pete-mesagpu
-PORTVERSION=	1.76
-PORTREVISION=	1
+PORTVERSION=	${MESAGPU_VERSION}
 CATEGORIES=	emulators linux
 MASTER_SITES=	http://www.pbernert.com/
 PKGNAMEPREFIX=	linux-
-DISTNAME=	gpupetemesagl${MAJOR}${MINOR}
+DISTFILES=	gpupetemesagl${MAJOR}${MINOR}${EXTRACT_SUFX} \
+		${CFG_DISTFILE}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A PSEmu Pro GPU plugin using an OpenGL renderer (Linux version)
-
-.ifdef WITH_NVIDIA_GL
-RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
-.else
-USE_LINUX_APPS+=dri
-.endif
+MAINTAINER=	cyberbotx@cyberbotx.com
+COMMENT=	PSEmu Pro GPU plugin using an OpenGL renderer (Linux version)
 
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 USE_LINUX=	yes
 USE_LINUX_APPS=	gtk xorglibs
+PORTDOCS=	*
 
 ONLY_FOR_ARCHS=	i386 amd64
 
+OPTIONS_DEFINE=	NVIDIA_GL
+NVIDIA_GL_DESC=	Use nVidia OpenGL driver
+
 MAJOR=		${PORTVERSION:R}
 MINOR=		${PORTVERSION:E}
 PLIST_SUB+=	MAJOR=${MAJOR} MINOR=${MINOR}
@@ -37,17 +31,27 @@ PSEMUPRO_PLUGINS_DIR=	${PREFIX}/lib/psem
 PSEMUPRO_CFGBINS_DIR=	${PREFIX}/libexec/psemupro/cfg
 PSEMUPRO_CFGFILES_DIR=	${PREFIX}/share/psemupro/cfg
 
+.include <bsd.port.options.mk>
+
+.include "${.CURDIR}/../linux-pete-xgl2gpu/Makefile.inc"
+
+.if ${PORT_OPTIONS:MNVIDIA_GL}
+RUN_DEPENDS+=	${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver
+.else
+USE_LINUX_APPS+=dri
+.endif
+
 do-install:
 	${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/libgpuPeteMesaGL.so.${MAJOR}.0.${MINOR} ${PSEMUPRO_PLUGINS_DIR}
 
 	${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/cfgPeteMesaGL ${PSEMUPRO_CFGBINS_DIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/cfg/cfgPeteMesaGL ${PSEMUPRO_CFGBINS_DIR}
 
 	${MKDIR} ${PSEMUPRO_CFGFILES_DIR}
 	${INSTALL_DATA} ${WRKSRC}/gpuPeteMesaGL.cfg ${PSEMUPRO_CFGFILES_DIR}
 
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
 .endif

Modified: head/emulators/linux-pete-mesagpu/distinfo
==============================================================================
--- head/emulators/linux-pete-mesagpu/distinfo	Mon May 20 08:31:42 2013	(r318582)
+++ head/emulators/linux-pete-mesagpu/distinfo	Mon May 20 08:35:19 2013	(r318583)
@@ -1,2 +1,4 @@
-SHA256 (gpupetemesagl176.tar.gz) = b974caf7798fdf8e8f024dea97cadcbb0d34d6f7e871517e03fc1c6d5a6b56c6
-SIZE (gpupetemesagl176.tar.gz) = 198545
+SHA256 (gpupetemesagl177.tar.gz) = c37238973f00625cdc6798cbeab0b78d62c5e041eb1e7cb0a4bc09006873126d
+SIZE (gpupetemesagl177.tar.gz) = 182012
+SHA256 (petegpucfg_V2-9_V1-77_V1-18.tar.gz) = 1488750fb2f158b68ef11b693fc1f45948ec41e84b1329315703adc91679fd91
+SIZE (petegpucfg_V2-9_V1-77_V1-18.tar.gz) = 59589

Modified: head/emulators/linux-pete-mesagpu/pkg-plist
==============================================================================
--- head/emulators/linux-pete-mesagpu/pkg-plist	Mon May 20 08:31:42 2013	(r318582)
+++ head/emulators/linux-pete-mesagpu/pkg-plist	Mon May 20 08:35:19 2013	(r318583)
@@ -7,6 +7,3 @@ share/psemupro/cfg/gpuPeteMesaGL.cfg
 @dirrmtry libexec/psemupro
 @dirrmtry share/psemupro/cfg
 @dirrmtry share/psemupro
-%%PORTDOCS%%%%DOCSDIR%%/readme.txt
-%%PORTDOCS%%%%DOCSDIR%%/version.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Boris Samorodov freebsd_committer freebsd_triage 2013-05-20 09:35:49 UTC
State Changed
From-To: open->closed

Committed, thanks!