diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2004-12-31 00:17:05 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2004-12-31 00:17:05 +0000 |
commit | f13dcde71c6016d1e015deb7cd9dd34d4209c54f (patch) | |
tree | 48b8ac12c0bfe3b43fbcb24e21b1acd4b809b5d3 /audio/squeezecenter/pkg-install | |
parent | Remove USE_X_PREFIX=no and set PREFIX?=${LOCALBASE} explicitly, since we (diff) |
Various enhancements and fixes for slimserver:
- Use a new system to track which files in the CPAN directory should be
installed. As a side effect, generate most of the RUN_DEPENDS list
at runtime.
- Add a script to start softsqueeze. The javavm port and a Jave VM
must be installed to the script to actually work. A dependency was
not added at this point because that's a huge barrier.
- Fix a bug in EXCEPTFILES processing.
- Patch the configuration parsing code to default the cache and
playlist directories to locations under /var/db/slimserver instead
of the weird defaults. This will fix the cache on new installs. [0]
- Bump port revision.
Reported by: Kraig Vander Berg <kraig at woodshoes dot net> [0]
Notes
Notes:
svn path=/head/; revision=125578
Diffstat (limited to 'audio/squeezecenter/pkg-install')
-rw-r--r-- | audio/squeezecenter/pkg-install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/squeezecenter/pkg-install b/audio/squeezecenter/pkg-install index aaf7fbd5923d..a4141e4262fa 100644 --- a/audio/squeezecenter/pkg-install +++ b/audio/squeezecenter/pkg-install @@ -10,6 +10,7 @@ shell=/sbin/nologin comment="Slim Devices SlimServer pseudo-user" statedir=/var/db/slimserver cachedir=${statedir}/cache +playlistdir=${statedir}/playlists pidfile=/var/run/${name}.pid newsyslogfile=/etc/newsyslog.conf logfile=/var/log/slimserver.log @@ -49,6 +50,10 @@ POST-INSTALL) mkdir -p ${cachedir} chown -R ${u}:${g} ${cachedir} fi + if [ ! -d ${playlistdir} ]; then + mkdir -p ${playlistdir} + chown -R ${u}:${g} ${playlistdir} + fi if egrep -q "^${logfile}\>" ${newsyslogfile}; then echo "Using existing ${newsyslogfile} entry." else |