Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2012 17:23:52 +0200
From:      nemysis <nemysis@gmx.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jgh@FreeBSD.org
Subject:   ports/170745: [MAINTAINER] games/tanglet: Makefile changed, OptionsNG
Message-ID:  <20120818152355.8E9E71065670@hub.freebsd.org>
Resent-Message-ID: <201208181530.q7IFU9bt061207@freefall.freebsd.org>

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

>Number:         170745
>Category:       ports
>Synopsis:       [MAINTAINER] games/tanglet: Makefile changed, OptionsNG
>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 15:30:09 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 INSTALL why isn't needed after Installation.

OptionsNG

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}

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

--- tanglet-1.2.1_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/tanglet/Makefile ./Makefile
--- /usr/ports/games/tanglet/Makefile	2012-06-06 08:43:49.000000000 +0200
+++ ./Makefile	2012-08-18 17:00:04.000000000 +0200
@@ -7,6 +7,7 @@
 
 PORTNAME=	tanglet
 PORTVERSION=	1.2.1
+PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://gottcode.org/${PORTNAME}/
 EXTRACT_SUFX=	-src.tar.bz2
@@ -23,7 +24,9 @@
 MAKE_JOBS_SAFE=	yes
 
 PORTDATA=	*
-PORTDOCS=	CREDITS ChangeLog INSTALL
+PORTDOCS=	CREDITS ChangeLog
+
+.include <bsd.port.options.mk>
 
 do-configure:
 	@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
@@ -33,6 +36,11 @@
 # Executable
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 
+# Data
+.if !defined(NOPORTDATA)
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data translations" ${DATADIR})
+.endif
+
 # Icons
 	cd ${WRKSRC}/icons && ${FIND} hicolor -type d -name apps -exec \
 		${MKDIR} ${PREFIX}/share/icons/{} \;
@@ -44,13 +52,8 @@
 	${MKDIR} ${PREFIX}/share/applications
 	${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop ${PREFIX}/share/applications/
 
-# Data
-.if !defined(NOPORTDATA)
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} "data translations" ${DATADIR})
-.endif
-
 # Documentation
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 .  for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
--- tanglet-1.2.1_1.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?20120818152355.8E9E71065670>