[Bug 195014] [NEW PORT] games/diaspora: Single and multiplayer space fighter combat game

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 15 16:51:34 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195014

--- Comment #12 from lightside <lightside at 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.


More information about the freebsd-ports-bugs mailing list