ports/170725: [MAINTAINER] games/cutemaze: Makefile changed, OptionsNG
nemysis
nemysis at gmx.ch
Sat Aug 18 01:30:09 UTC 2012
>Number: 170725
>Category: ports
>Synopsis: [MAINTAINER] games/cutemaze: 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 01:30: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
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:
--- cutemaze-1.1.0_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/cutemaze/Makefile ./Makefile
--- /usr/ports/games/cutemaze/Makefile 2012-06-06 08:43:46.000000000 +0200
+++ ./Makefile 2012-08-18 03:21:22.000000000 +0200
@@ -7,7 +7,7 @@
PORTNAME= cutemaze
PORTVERSION= 1.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
@@ -26,6 +26,8 @@
PORTDATA= *
PORTDOCS= ChangeLog README
+.include <bsd.port.options.mk>
+
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS}
@@ -34,6 +36,12 @@
# Executable
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+# Data
+.if !defined (NOPORTDATA)
+ ${MKDIR} ${DATADIR}
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} "preview themes" ${DATADIR})
+.endif
+
# Icons
${MKDIR} ${PREFIX}/share/icons/oxygen
.for d in icons
@@ -46,14 +54,8 @@
${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop \
${PREFIX}/share/applications/
-# Data
-.if !defined (NOPORTDATA)
- ${MKDIR} ${DATADIR}
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} "preview themes" ${DATADIR})
-.endif
-
# Documentation
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
--- cutemaze-1.1.0_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list