Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2014 16:51:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 195014] [NEW PORT] games/diaspora: Single and multiplayer space fighter combat game
Message-ID:  <bug-195014-13-VpRcvBrJE0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195014-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195014-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195014

--- Comment #12 from lightside <lightside@gmx.com> ---
I guess, we are talking about following command:
cd ${WRKDIR_DIASPORA} && ${FIND} data -type d -empty | ${SORT} |\
    ${XARGS} -L 1 -I '{}' ${ECHO_CMD} "@dir ${DATADIR}/{}"\
    >> ${TMPPLIST}

>From my point of view, the good reason about using dynamic generation package
list is adaptation for contents of the package, if there is a possible case for
different contents of files (and/or directories) from version to version.
Since, I created this port, it is my choose to use static package list inside
of pkg-plist file or Makefile with PLIST_FILES. I choose PLIST_FILES and
PORTDATA, PORTDOCS facilities.

The empty directories is a different case, related to stage capabilities, where
it choose not to use empty directories, where they might be needed. To overcome
this, I made following command (converted to show a real case):
# cd Diaspora_R1_Linux/Diaspora && find data -type d -empty | sort | xargs -L 1
-I '{}' echo "@dir /usr/local/share/{}"

Its current result is follows:
@dir /usr/local/share/data/Info
@dir /usr/local/share/data/cache
@dir /usr/local/share/data/cbanims
@dir /usr/local/share/data/config
@dir /usr/local/share/data/effects
@dir /usr/local/share/data/fonts
@dir /usr/local/share/data/force feedback
@dir /usr/local/share/data/hud
@dir /usr/local/share/data/intelanims
@dir /usr/local/share/data/interface
@dir /usr/local/share/data/maps
@dir /usr/local/share/data/missions
@dir /usr/local/share/data/models
@dir /usr/local/share/data/multidata
@dir /usr/local/share/data/music
@dir /usr/local/share/data/players/images
@dir /usr/local/share/data/players/multi/inferno
@dir /usr/local/share/data/players/single/inferno
@dir /usr/local/share/data/players/squads
@dir /usr/local/share/data/scripts
@dir /usr/local/share/data/sounds
@dir /usr/local/share/data/tables
@dir /usr/local/share/data/voice/briefing
@dir /usr/local/share/data/voice/command_briefings
@dir /usr/local/share/data/voice/debriefing
@dir /usr/local/share/data/voice/personas
@dir /usr/local/share/data/voice/special

But since I use ">> ${TMPPLIST}" additional command at the end, this output
will be redirected and added to the ${TMPPLIST} file and will not be shown to
the user.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-195014-13-VpRcvBrJE0>