aboutsummaryrefslogtreecommitdiff
path: root/mail/heirloom-mailx
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-08-29 12:46:25 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-08-29 12:46:25 +0000
commit1f4e10b1c12de1bab99abbbaaf82c3f5d382bc24 (patch)
treec6048961dfc9d7fc352f4f75697beb4c690df21a /mail/heirloom-mailx
parentaf6fcf93c5d2ca412f0ee1815dd2809c44817b45 (diff)
downloadports-1f4e10b1c12de1bab99abbbaaf82c3f5d382bc24.tar.gz
ports-1f4e10b1c12de1bab99abbbaaf82c3f5d382bc24.zip
- Update to 11.25
- Preserve config on deinstall - Pass maintainership to submitter PR: ports/85045 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Notes
Notes: svn path=/head/; revision=141296
Diffstat (limited to 'mail/heirloom-mailx')
-rw-r--r--mail/heirloom-mailx/Makefile18
-rw-r--r--mail/heirloom-mailx/distinfo4
2 files changed, 14 insertions, 8 deletions
diff --git a/mail/heirloom-mailx/Makefile b/mail/heirloom-mailx/Makefile
index 306bc7945586..490fd781ffb8 100644
--- a/mail/heirloom-mailx/Makefile
+++ b/mail/heirloom-mailx/Makefile
@@ -1,17 +1,17 @@
# New ports collection makefile for: nail
-# Date created: 20 October 2000
-# Whom: Kris Kennaway <kris@FreeBSD.org>
+# Date created: 20 October 2000
+# Whom: Kris Kennaway <kris@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nail
-PORTVERSION= 11.24
+PORTVERSION= 11.25
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ehaupt@critical.ch
COMMENT= BSD mail utility with MIME extensions
USE_BZIP2= yes
@@ -25,14 +25,20 @@ MAKE_ARGS= PREFIX="${PREFIX}" \
IPv6="-DHAVE_IPv6_FUNCS"
MAN1= nail.1
-PLIST_FILES= bin/nail etc/nail.rc
+PLIST_FILES= bin/nail \
+ "@unexec if cmp -s %D/etc/nail.rc %D/etc/nail.rc.default; then rm -f %D/etc/nail.rc; fi " \
+ "etc/nail.rc.default" \
+ "@exec [ -f %B/nail.rc ] || cp %B/%f %B/nail.rc"
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nail ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/nail.1 ${MANPREFIX}/man/man1
+ ${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/etc/nail.rc.default
+.if !exists(${PREFIX}/etc/nail.rc)
+ ${INSTALL_DATA} ${WRKSRC}/nail.rc ${PREFIX}/etc
+.endif
.include <bsd.port.mk>
diff --git a/mail/heirloom-mailx/distinfo b/mail/heirloom-mailx/distinfo
index bcc263058dd1..c61e85ea880b 100644
--- a/mail/heirloom-mailx/distinfo
+++ b/mail/heirloom-mailx/distinfo
@@ -1,2 +1,2 @@
-MD5 (nail-11.24.tar.bz2) = e127cdbba1220a45f6f1f463ac4b4fd1
-SIZE (nail-11.24.tar.bz2) = 266691
+MD5 (nail-11.25.tar.bz2) = 54f42db31911d734fcf37a89b72d4df7
+SIZE (nail-11.25.tar.bz2) = 267959