ports/170733: [MAINTAINER] games/kye: Makefile changed, Port require always DATA

nemysis nemysis at gmx.ch
Sat Aug 18 08:50:08 UTC 2012


>Number:         170733
>Category:       ports
>Synopsis:       [MAINTAINER] games/kye: Makefile changed, Port require always DATA
>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:   Sat Aug 18 08:50:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC
>Description:

Makefile changed:

Deleted why Port require always DATA

-OPTIONS_DEFINE= DATA
-OPTIONS_DEFAULT= DATA

Here works better NOPORTDATA

-.if ${PORT_OPTIONS:MDATA}
+.if !defined (NOPORTDATA)


pkg-message.in changed:

+    /bin/chmod 644 %%DATADIR%%/*.kye

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- py27-kye-1.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/kye/Makefile ./Makefile
--- /usr/ports/games/kye/Makefile	2012-08-04 23:59:15.000000000 +0200
+++ ./Makefile	2012-08-18 10:35:57.000000000 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	kye
 PORTVERSION=	1.0
+#PORTREVISION=	1
 CATEGORIES=	games python
 MASTER_SITES=	http://games.moria.org.uk/kye/download/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,9 +18,6 @@
 
 LICENSE=	GPLv2
 
-OPTIONS_DEFINE=	DATA
-OPTIONS_DEFAULT=	DATA
-
 USE_GNOME=	pygtk2 librsvg2
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
@@ -34,7 +32,7 @@
 
 post-install:
 # Data
-.if ${PORT_OPTIONS:MDATA}
+.if !defined (NOPORTDATA)
 	${INSTALL_DATA} ${WRKSRC}/kye-icon.png ${PREFIX}/share/pixmaps/Kye.png
 	${INSTALL_DATA} ${WRKSRC}/kye-edit-icon.png ${PREFIX}/share/pixmaps/Kye-edit.png
 .endif
diff -ruN --exclude=CVS /usr/ports/games/kye/files/pkg-message.in ./files/pkg-message.in
--- /usr/ports/games/kye/files/pkg-message.in	2012-08-04 23:59:15.000000000 +0200
+++ ./files/pkg-message.in	2012-08-18 10:35:17.000000000 +0200
@@ -20,6 +20,6 @@
 
 You could manually change Permissions these Levels with:
 
-    /bin/chmod 444 %%DATADIR%%/*.kye
+    /bin/chmod 644 %%DATADIR%%/*.kye
 
 ===============================================================================
--- py27-kye-1.0.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list