aboutsummaryrefslogtreecommitdiffstats
path: root/mail/elm+ME/Makefile
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-07-29 04:26:39 +0800
committernaddy <naddy@FreeBSD.org>2002-07-29 04:26:39 +0800
commitf2a383307e02280a0d0cfda6db678de0fda227b0 (patch)
treef8f0e6b5503c901d8c3879e92f75616ccaec42c7 /mail/elm+ME/Makefile
parent7f1e3e85e694d76a979e91335062a6fc65f1b773 (diff)
downloadfreebsd-ports-graphics-f2a383307e02280a0d0cfda6db678de0fda227b0.tar.gz
freebsd-ports-graphics-f2a383307e02280a0d0cfda6db678de0fda227b0.tar.zst
freebsd-ports-graphics-f2a383307e02280a0d0cfda6db678de0fda227b0.zip
Update to 2.4.99b.
PR: 40937 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
Diffstat (limited to 'mail/elm+ME/Makefile')
-rw-r--r--mail/elm+ME/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/mail/elm+ME/Makefile b/mail/elm+ME/Makefile
index 5bb9a35fdf9..e74033c924b 100644
--- a/mail/elm+ME/Makefile
+++ b/mail/elm+ME/Makefile
@@ -72,7 +72,7 @@ MLINKS= frm.1 nfrm.1 newmail.1 wnewmail.1
ELM_VERSION= 2.4
ELM_REVISION= 99
-ELM_PATCHLEVEL= _
+ELM_PATCHLEVEL= b
ELM_PATCHDONE= false
.for level in _ a b c d e f
@@ -98,7 +98,8 @@ DOC_SUBDIR= share/doc/elm+ME
RCD_DIR= ${PREFIX}/${RCD_SUBDIR}
LIB_DIR= ${PREFIX}/${LIB_SUBDIR}
-RCD_FILE= 00elm.sh
+_RCD_FILE= 00elm.sh
+RCD_FILE= 000.elm.sh
MIME_TYPES= elm.mimetypes
MIME_CSETS= elm.mimecharsets
TERM_INFO= elm.terminalinfo
@@ -113,11 +114,14 @@ DOC_FILES= README.ME+ \
# Post-patch
#
-post-patch: patch-install-script patch-setgid patch-nls-files
+post-patch: fix-permissions patch-install-script patch-setgid patch-nls-files
+
+fix-permissions:
+ @${CHMOD} -R u+w ${WRKSRC}
patch-install-script:
@${SED} -e 's,%%SHLIB_SUBDIR%%,${SHLIB_SUBDIR},' \
- ${FILESDIR}/${RCD_FILE} > ${WRKSRC}/${RCD_FILE}
+ ${FILESDIR}/${_RCD_FILE} > ${WRKSRC}/${RCD_FILE}
# d_savegrpmboxid is currently broken using setgid(2) instead of setegid(2).
# will probably be fixed in a next release, for instance, fake a patch.