summaryrefslogtreecommitdiff
path: root/mail/mew2
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2005-07-18 07:21:11 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2005-07-18 07:21:11 +0000
commit6819555bed734f3cfea5808a87a9ca562d5d1a35 (patch)
tree41afe5b05c8ddfec8d39d022e5872db45d805ed6 /mail/mew2
parent- Fix detection of FreeBSD 7 (diff)
Ensure that LATEST_LINK is different for all mew2-based ports.
Diffstat (limited to 'mail/mew2')
-rw-r--r--mail/mew2/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mew2/Makefile b/mail/mew2/Makefile
index 835a23dc3848..b4223ed19caf 100644
--- a/mail/mew2/Makefile
+++ b/mail/mew2/Makefile
@@ -41,6 +41,9 @@ PLIST_SUB+= MEW_MAJOR_VER=${MEW_MAJOR_VER}
# manuals
MAN1= mewcat.1 mewdecode.1 mewencode.1 mewls.1 incm.1
+# make sure LATEST_LINK is different from mew1
+LATEST_LINK= mew${MEW_MAJOR_VER}-${EMACS_PORT_NAME}
+
post-patch:
for f in mew-key.el info/mew.texi; do \
${PERL} -i -pe 's,%%MEW_MAJOR_VER%%,${MEW_MAJOR_VER},g' ${WRKSRC}/$${f}; \