Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2013 12:38:09 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        jpaetzel@FreeBSD.org
Subject:   ports/179923: [MAINTAINER] games/cretan-hubris: Trim dependency for graphics/radius-engine
Message-ID:  <20130624103812.C42B5A07@hub.freebsd.org>
Resent-Message-ID: <201306241040.r5OAe0XK094644@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179923
>Category:       ports
>Synopsis:       [MAINTAINER] games/cretan-hubris: Trim dependency for graphics/radius-engine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 24 10:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.1-RELEASE-p8 amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.1-RELEASE-p8 FreeBSD 9.1-RELEASE-p8 #0: Tue Jun 18 15:25:28 UTC 2013
>Description:

- Shorten header
- Trim dependency for graphics/radius-engine
- Trim PLIST_FILES and PLIST_DIRS

Generated and tested manually, tested with port test and with RedPorts, sent with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:

Build log

https://redports.org/buildarchive/20130624100000-33217/

>Fix:

--- cretan-hubris-0.2_2.patch begins here ---
diff -ruN /usr/ports/games/cretan-hubris/Makefile ./Makefile
--- /usr/ports/games/cretan-hubris/Makefile	2013-06-02 18:54:44.000000000 +0200
+++ ./Makefile	2013-06-24 11:57:48.000000000 +0200
@@ -1,9 +1,5 @@
-# New Ports collection makefile for:	Cretan Hubris
-# Date created:		2012-05-18
-# Whom:			nemysis@gmx.ch
-#
+# Created by: nemysis <nemysis@gmx.ch>
 # $FreeBSD: head/games/cretan-hubris/Makefile 303307 2012-08-29 02:14:30Z avilla $
-#
 
 PORTNAME=	cretan-hubris
 PORTVERSION=	0.2
@@ -21,23 +17,24 @@
 LICENSE_FILE_CCbyNCSA3=${WRKSRC}/License.txt
 LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
 
-BUILD_DEPENDS=	${LOCALBASE}/include/radius.h:${PORTSDIR}/graphics/radius-engine
+BUILD_DEPENDS=	${LOCALBASE}/lib/libradius-engine.a:${PORTSDIR}/graphics/radius-engine
 LIB_DEPENDS=	lua-5.1:${PORTSDIR}/lang/lua \
 		png15:${PORTSDIR}/graphics/png \
 		physfs.1:${PORTSDIR}/devel/physfs
 RUN_DEPENDS=	zip:${PORTSDIR}/archivers/zip
 
-GNU_CONFIGURE=	yes
-ALL_TARGET=	${PORTNAME}
+USES=		pkgconfig
 USE_SDL=	sdl sound
 USE_GL=		glu
+GNU_CONFIGURE=	yes
+ALL_TARGET=	${PORTNAME}
 MAKE_JOBS_SAFE=	yes
 
 PLIST_FILES=	bin/${PORTNAME} \
 		share/applications/${PORTNAME}.desktop \
-		share/pixmaps/${PORTNAME}.png
+		share/pixmaps/${PORTNAME}.png \
+		%%DATADIR%%/${PORTNAME}.zip
+PLIST_DIRS=	%%DATADIR%%
 PLIST_DIRSTRY=	share/applications
 
-PORTDATA=	*
-
 .include <bsd.port.mk>
--- cretan-hubris-0.2_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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