1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/news/papercut/pkg-plist
Adam Weinberger 2a58169b19 Add stage support to news, and improve correctness.
I am not touching the husky ports with a 10 foot pole.

atp:
	stage, improve pkg-message
crashmail:
	stage
diablo:
	too wacky to stage, but convert WITH_* to OPTIONS, unmute
	commands that shouldn't be muted, use :MDOCS
fidogate-ds:
	stage, OPTIONS, treat examples as EXAMPLES, not DOCS, handle
	/var/* in the plist properly
golded+:
	stage, OPTIONS, protect examples behind %%PORTEXAMPLES%%
nntpbtr:
	this was an unbelievably PITA
	stage, add missing prototypes, add missing return types,
	rename patch files to what they actually patch
nntpcache:
	stage support, required lots of Makefile.in patching,
	call submakes correctly, handle config files properly
nzbperl:
	stage, use OPTIONS, remove obsolete pkg-message
papercut:
	stage, handle config file properly
py-pynzb:
	stage, use OPTIONS helper to avoid bsd.port.options.mk inclusion
s-news:
	stage
slrnconf:
	stage
slrnface:
	stage, install required files to datadir, not examplesdir,
	generate proper pkg-message
sn:
	stage
2014-03-29 17:28:56 +00:00

57 lines
3.4 KiB
Plaintext

bin/papercut
%%DATADIR%%/papercut.py
%%DATADIR%%/papercut_cache.py
%%DATADIR%%/portable_locker.py
@unexec if cmp -s %D/%%DATADIR%%/settings.py.sample %D/%%DATADIR%%/settings.py; then rm -f %D/%%DATADIR%%/settings.py; fi
%%DATADIR%%/settings.py.sample
@exec if [ ! -f %D/%%DATADIR%%/settings.py ] ; then cp -p %D/%F %B/settings.py; fi
@exec echo "To use papercut you need to edit %D/%%DATADIR%%/settings.py." |fmt
%%DATADIR%%/auth/__init__.py
%%DATADIR%%/auth/mysql.py
%%DATADIR%%/auth/phorum_mysql_users.py
%%DATADIR%%/auth/phorum_pgsql_users.py
%%DATADIR%%/auth/phpbb_mysql_users.py
%%DATADIR%%/auth/phpnuke_phpbb_mysql_users.py
%%DATADIR%%/auth/postnuke_phpbb_mysql_users.py
%%DATADIR%%/storage/__init__.py
%%DATADIR%%/storage/forwarding_proxy.py
%%DATADIR%%/storage/maildir.py
%%DATADIR%%/storage/mbox.py
%%DATADIR%%/storage/mime.py
%%DATADIR%%/storage/mysql.py
%%DATADIR%%/storage/mysql_storage.sql
%%DATADIR%%/storage/p2p.py
%%DATADIR%%/storage/phorum_mysql.py
%%DATADIR%%/storage/phorum_mysql_fix.sql
%%DATADIR%%/storage/phorum_pgsql.py
%%DATADIR%%/storage/phorum_pgsql_fix.sql
%%DATADIR%%/storage/phpbb_mysql.py
%%DATADIR%%/storage/phpbb_mysql_fix.sql
%%DATADIR%%/storage/phpnuke_phpbb_mysql.py
%%DATADIR%%/storage/strutil.py
@unexec [ -f %D/%%DATADIR%%/papercut.pyc ] && rm %D/%%DATADIR%%/papercut.pyc || true
@unexec [ -f %D/%%DATADIR%%/papercut_cache.pyc ] && rm %D/%%DATADIR%%/papercut_cache.pyc || true
@unexec [ -f %D/%%DATADIR%%/portable_locker.pyc ] && rm %D/%%DATADIR%%/portable_locker.pyc || true
@unexec [ -f %D/%%DATADIR%%/settings.py ] || true
@unexec [ -f %D/%%DATADIR%%/settings.pyc ] && rm %D/%%DATADIR%%/settings.pyc || true
@unexec [ -f %D/%%DATADIR%%/auth/__init__.pyc ] && rm %D/%%DATADIR%%/auth/__init__.pyc || true
@unexec [ -f %D/%%DATADIR%%/auth/mysql.pyc ] && rm %D/%%DATADIR%%/auth/mysql.pyc || true
@unexec [ -f %D/%%DATADIR%%/auth/phorum_mysql_users.pyc ] && rm %D/%%DATADIR%%/auth/phorum_mysql_users.pyc || true
@unexec [ -f %D/%%DATADIR%%/auth/phorum_pgsql_users.pyc ] && rm %D/%%DATADIR%%/auth/phorum_mysql_users.pyc || true
@unexec [ -f %D/%%DATADIR%%/auth/phpbb_mysql_users.pyc ] && rm %D/%%DATADIR%%/auth/phpbb_mysql_users.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/__init__.pyc ] && rm %D/%%DATADIR%%/storage/__init__.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/forwarding_proxy.pyc ] && rm %D/%%DATADIR%%/storage/forwarding_proxy.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/mbox.pyc ] && rm %D/%%DATADIR%%/storage/mbox.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/mime.pyc ] && rm %D/%%DATADIR%%/storage/mime.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/mysql.pyc ] && rm %D/%%DATADIR%%/storage/mysql.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/p2p.pyc ] && rm %D/%%DATADIR%%/storage/p2p.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/phorum_mysql.pyc ] && rm %D/%%DATADIR%%/storage/phorum_mysql.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/phorum_pgsql.pyc ] && rm %D/%%DATADIR%%/storage/phorum_pgsql.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/phpbb_mysql.pyc ] && rm %D/%%DATADIR%%/storage/phpbb_mysql.pyc || true
@unexec [ -f %D/%%DATADIR%%/storage/strutil.pyc ] && rm %D/%%DATADIR%%/storage/strutil.pyc || true
@dirrm %%DATADIR%%/auth
@dirrm %%DATADIR%%/storage
@dirrmtry %%DATADIR%%/cache
@dirrmtry %%DATADIR%%/logs
@unexec rmdir %D/%%DATADIR%% 2> /dev/null || echo "If you are permanently removing this port, you should do a ``rm -rf %D/%%DATADIR%%`` to remove any files left." | fmt