diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-04-01 19:15:03 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-04-01 19:15:03 +0000 |
commit | ff5258563d5b101e722221198f2672f13ec4ab69 (patch) | |
tree | 685aaf936b4b992efd8b9cc17a0bf7f39a82edaa /news | |
parent | - Chase libdvdcss share library version bump. Caveat: this is a (diff) |
Update /etc/services:
ifcico 60179/tcp #ifcico server (ifmail)
Notes
Notes:
svn path=/head/; revision=57155
Diffstat (limited to 'news')
-rw-r--r-- | news/ifmail/Makefile | 5 | ||||
-rw-r--r-- | news/ifmail/pkg-plist | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/news/ifmail/Makefile b/news/ifmail/Makefile index 2ff93f1a4f03..e6f4f267265f 100644 --- a/news/ifmail/Makefile +++ b/news/ifmail/Makefile @@ -37,6 +37,11 @@ post-install: .for i in ${MAN3} ${INSTALL_MAN} ${WRKSRC}/iflib/${i} ${PREFIX}/man/man3 .endfor + @${ECHO_CMD} "updating ${DESTDIR}/etc/services" + @${CP} ${DESTDIR}/etc/services ${DESTDIR}/etc/services.bak + @(grep -v ^ifcico ${DESTDIR}/etc/services.bak; \ + ${ECHO_CMD} "ifcico 60179/tcp #ifcico server (ifmail)") \ + > ${DESTDIR}/etc/services .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ diff --git a/news/ifmail/pkg-plist b/news/ifmail/pkg-plist index a2b449c7f209..c5090222e010 100644 --- a/news/ifmail/pkg-plist +++ b/news/ifmail/pkg-plist @@ -177,3 +177,5 @@ libexec/ifmail/nlpatch %%PORTDOCS%%@dirrm share/examples/ifmail/tcp %%PORTDOCS%%@dirrm share/examples/ifmail/zmailer %%PORTDOCS%%@dirrm share/examples/ifmail +@exec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^ifcico /etc/services.bak ; echo "ifcico 60179/tcp #ifcico server (ifmail)") > /etc/services +@unexec echo "updating /etc/services"; cp /etc/services /etc/services.bak; (grep -v ^ifcico /etc/services.bak ) > /etc/services |