1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/www/nostromo/pkg-plist
Guido Falsi e65fc3bbc1 - Fix build with clang
- Handle configuration file correctly
- Make installation directory relative to PREFIX, so it can be
  adjusted dynamically in the plist
- Trim Makefile headers

PR:		ports/181493
Submitted by:	Me
Approved by:	Maintainer timeout
2013-09-10 20:28:30 +00:00

18 lines
692 B
Plaintext

sbin/crypt
sbin/nhttpd
%%NOSTROMODIR%%/conf/mimes
@unexec if cmp -s %D/%%NOSTROMODIR%%/conf/nhttpd.conf-dist %D/%%NOSTROMODIR%%/conf/nhttpd.conf; then rm -f %D/%%NOSTROMODIR%%/conf/nhttpd.conf; fi
%%NOSTROMODIR%%/conf/nhttpd.conf-dist
@exec if [ ! -f %D/%%NOSTROMODIR%%/conf/nhttpd.conf ] ; then cp -p %D/%F %B/nhttpd.conf; fi
%%NOSTROMODIR%%/htdocs/index.html
%%NOSTROMODIR%%/htdocs/nostromo.gif
%%NOSTROMODIR%%/htdocs/cgi-bin/printenv
%%NOSTROMODIR%%/icons/dir.gif
%%NOSTROMODIR%%/icons/file.gif
@dirrmtry %%NOSTROMODIR%%/conf
@dirrmtry %%NOSTROMODIR%%/htdocs/cgi-bin
@dirrmtry %%NOSTROMODIR%%/htdocs
@dirrmtry %%NOSTROMODIR%%/icons
@dirrmtry %%NOSTROMODIR%%/logs
@dirrmtry %%NOSTROMODIR%%