freebsd-ports/sysutils/news/pkg-plist
Jason Helfman 0a291a1916 Add new port: (sysutils/news)
News is used to read and maintain news relevant to a local system.
Typically it is run from the .login script so it can automatically
check for any new news items.  If it finds any, it will report,
"You have news:  item1 item2 etc..."

No website for software

PR: ports/164456
Submitted by:	Hokan <hokan at me.umn.edu>
2012-02-16 18:06:06 +00:00

6 lines
306 B
Text

@exec mkdir %D/news || true
@unexec cmp %D/news/news.item %D/%%EXAMPLESDIR%%/news.item.sample && rm -f %D/news/news.item || true
%%EXAMPLESDIR%%/news.item.sample
@exec if [ ! -e %D/news/news.item ]; then cp %D/%%EXAMPLESDIR%%/news.item.sample %D/news/news.item; fi
@dirrmtry news
@dirrmtry %%EXAMPLESDIR%%