summaryrefslogtreecommitdiff
path: root/mail/mailman
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-03-05 14:59:48 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-03-05 14:59:48 +0000
commit997ab72e084a6dc63df335ccf545c4728ec25ced (patch)
tree78fbc593b731ed9827ae58ea946052f07e87b04e /mail/mailman
parentUpdate to 2004.03.05. (diff)
Adapt as MASTER PORT for new SLAVE PORT(japanese/mailman).
No feature change. Approved by: Vivek Khera <vivek@khera.org> (maintainer)
Notes
Notes: svn path=/head/; revision=103022
Diffstat (limited to 'mail/mailman')
-rw-r--r--mail/mailman/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile
index b8af0d19610a..16622a0c3931 100644
--- a/mail/mailman/Makefile
+++ b/mail/mailman/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mailman
PORTVERSION= 2.1.4
-CATEGORIES= mail
+CATEGORIES?= mail
MASTER_SITES= http://www.list.org/ \
${MASTER_SITE_GNU} \
${MASTER_SITE_SOURCEFORGE}
@@ -21,15 +21,15 @@ DIST_SUBDIR= mailman
.if defined(WITH_HTDIG)
# see http://www.openinfo.co.uk/mailman/index.html
# Order of application of these patches is critical.
-PATCHFILES= indexing-2.1.4-0.1.patch.gz:patch1 \
+PATCHFILES+= indexing-2.1.4-0.1.patch.gz:patch1 \
htdig-2.1.4-0.1.patch.gz:patch2
PATCH_DIST_STRIP= -p1
-PATCH_SITES= http://www.openinfo.co.uk/mailman/patches/444879/:patch1 \
+PATCH_SITES+= http://www.openinfo.co.uk/mailman/patches/444879/:patch1 \
http://www.openinfo.co.uk/mailman/patches/444884/:patch2
.endif
-MAINTAINER= vivek@khera.org
-COMMENT= A mailing list manager (MLM) with a user-friendly web front-end
+MAINTAINER?= vivek@khera.org
+COMMENT?= A mailing list manager (MLM) with a user-friendly web front-end
RUN_DEPENDS= lynx:${PORTSDIR}/www/lynx
.if defined(WITH_CHINESE)
@@ -106,13 +106,13 @@ post-patch:
@ ${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' \
${WRKSRC}/Mailman/Defaults.py.in
-pre-configure:
+pre-configure::
# Mailman's configure script needs the "mailman" user/group to exist, so
# $PKGINSTALL has to be patched before the do-configure target executes.
@ ${SED} \
-e 's#%%USER%%#${MM_USERNAME}#g' -e 's#%%UID%%#${MM_USERID}#g' \
-e 's#%%GROUP%%#${MM_GROUPNAME}#g' -e 's#%%GID%%#${MM_GROUPID}#g' \
- -e 's#%%MAILMANDIR%%#${MAILMANDIR}#g' pkg-install > \
+ -e 's#%%MAILMANDIR%%#${MAILMANDIR}#g' ${MASTERDIR}/pkg-install > \
${PKGINSTALL}
@ ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
@@ -120,10 +120,10 @@ post-configure:
@ ${SED} \
-e 's#%%USER%%#${MM_USERNAME}#g' -e 's#%%GROUP%%#${MM_GROUPNAME}#g' \
-e 's#%%PREFIX%%#${PREFIX}#g' -e 's#%%MAILMANDIR%%#${MAILMANDIR}#g' \
- pkg-deinstall > ${PKGDEINSTALL}
+ ${MASTERDIR}/pkg-deinstall > ${PKGDEINSTALL}
@ ${SED} -e 's#%%MAILMANDIR%%#${MAILMANDIR}#g' \
-e 's#%%DOCSDIR%%#${DOCSDIR}#g' -e 's#%%LOCALBASE%%#${LOCALBASE}#g' \
- pkg-message > ${PKGMESSAGE}
+ ${MASTERDIR}/pkg-message > ${PKGMESSAGE}
pre-install:
@ ${SH} ${PKGREQ} INSTALL