Date: Sat, 21 Jul 2012 13:39:31 +0200 (CEST) From: "J.R. Oldroyd" <fbsd@opal.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: tabthorpe@FreeBSD.org, Eitan Adler <eadler@FreeBSD.org> Subject: ports/170052: update port: games/daimonin-music to remove NO_CHECKSUM Message-ID: <201207211139.q6LBdVec044500@shibato.opal.com> Resent-Message-ID: <201207211140.q6LBeD37069843@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 170052 >Category: ports >Synopsis: update port: games/daimonin-music to remove NO_CHECKSUM >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 Jul 21 11:40:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: J.R. Oldroyd >Release: FreeBSD 8.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD xx.opal.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This update is to remove the need to have "NO_CHECKSUM" in the Makefile. The distfile here is un-versioned and has been known to change in place. This makes checksum verification not possible. The new technique removes NO_CHECKSUM and redefines the checksum code to do nothing. Separately, and also because the file might be updated in place, it is necessary for the fetch code to remove an old download so that a new version is downloaded each time this port is re-installed. This change is also made with this update. >How-To-Repeat: n/a >Fix: diff -ruN /usr/ports/games/daimonin-music/Makefile games/daimonin-music/Makefile --- /usr/ports/games/daimonin-music/Makefile 2010-09-27 11:02:56.000000000 +0200 +++ games/daimonin-music/Makefile 2012-07-21 13:22:08.000000000 +0200 @@ -6,25 +6,33 @@ # PORTNAME= daimonin-music -PORTVERSION= 20100827 +PORTVERSION= 20120721 CATEGORIES= games MASTER_SITES= SF/daimonin/Addon%20packs/Music/ -DISTFILES= AllMusic.zip +DISTNAME= AllMusic DIST_SUBDIR= ${PORTNAME:S/-music//} MAINTAINER= fbsd@opal.com COMMENT= Music for daimonin client -NO_CHECKSUM= true NO_BUILD= true +NO_PACKAGE= true USE_ZIP= true MYDATADIR= ${DATADIR:S/-music//} EXTRACT_BEFORE_ARGS= -aqo +pre-fetch: + [ ! -f ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}-${PORTVERSION}${EXTRACT_SUFX} ] && ${RM} -f ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} || ${TRUE} + +post-fetch: + ${LN} -f ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}-${PORTVERSION}${EXTRACT_SUFX} + +checksum: + ${DO_NADA} + do-install: - ${MKDIR} ${MYDATADIR}/media - ${CP} -p ${WRKDIR}/* ${MYDATADIR}/media/ + ${CP} -pr ${WRKDIR}/media ${MYDATADIR} .include <bsd.port.mk> diff -ruN /usr/ports/games/daimonin-music/pkg-plist games/daimonin-music/pkg-plist --- /usr/ports/games/daimonin-music/pkg-plist 2010-09-27 11:02:56.000000000 +0200 +++ games/daimonin-music/pkg-plist 2012-05-22 15:57:55.000000000 +0200 @@ -53,6 +53,7 @@ share/daimonin/media/License Note share/daimonin/media/airhits-01.ogg share/daimonin/media/airhits-02.ogg +@unexec if [ -f %D/share/daimonin/media/battle.ogg ]; then rm %D/share/daimonin/media/battle.ogg; fi share/daimonin/media/barrenlands.ogg share/daimonin/media/bubblymud.ogg share/daimonin/media/comecloser.ogg @@ -72,5 +73,5 @@ share/daimonin/media/spokyspace.ogg share/daimonin/media/swamp.ogg share/daimonin/media/thonkdonk.ogg -@dirrmtry share/daimonin/media +@dirrm share/daimonin/media @dirrmtry share/daimonin >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207211139.q6LBdVec044500>