diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-04-02 03:15:03 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-04-02 03:15:03 +0800 |
commit | 3dcdd46e6cdf31d22f19eec4ca730ed720652e49 (patch) | |
tree | c0dd3ce876db775a716f6362d908825e6cd61044 /news/ifmail | |
parent | daa940f9a2442ad79766c284daa67b216b4741df (diff) | |
download | freebsd-ports-gnome-3dcdd46e6cdf31d22f19eec4ca730ed720652e49.tar.gz freebsd-ports-gnome-3dcdd46e6cdf31d22f19eec4ca730ed720652e49.tar.zst freebsd-ports-gnome-3dcdd46e6cdf31d22f19eec4ca730ed720652e49.zip |
Update /etc/services:
ifcico 60179/tcp #ifcico server (ifmail)
Diffstat (limited to 'news/ifmail')
-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 |