aboutsummaryrefslogtreecommitdiff
path: root/mail/listmanager
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-03 23:34:16 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-03 23:34:16 +0000
commitbdd556264ea392245e2b5af29a4a913ae9ee4085 (patch)
tree98bb05f695dd7182a606262556814db91003022b /mail/listmanager
parentc0b3ecac4483b2524287317171c79548d9842905 (diff)
downloadports-bdd556264ea392245e2b5af29a4a913ae9ee4085.tar.gz
ports-bdd556264ea392245e2b5af29a4a913ae9ee4085.zip
Notes
Diffstat (limited to 'mail/listmanager')
-rw-r--r--mail/listmanager/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/mail/listmanager/Makefile b/mail/listmanager/Makefile
index 23a381420377..a1e12b4701d5 100644
--- a/mail/listmanager/Makefile
+++ b/mail/listmanager/Makefile
@@ -11,24 +11,15 @@ CATEGORIES= mail
MASTER_SITES= http://www.listmanager.org/v${PORTVERSION}/ \
http://www.listmanager.org/
DISTNAME= ${PORTNAME}
-DIST_SUBDIR= ${PORTNAME}
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500000
-LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
-.endif
-
-.if ${OSVERSION} >= 440000
EXTRACT_SUFX= .freebsd44
-.else
-EXTRACT_SUFX= .freebsd35
-.endif
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} INSTALL help.tar.gz listmanager.8 ack
+DIST_SUBDIR= ${PORTNAME}
MAINTAINER= gshapiro@FreeBSD.org
COMMENT= Fully-featured mailing list manager
+LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
+
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKDIR}
@@ -44,10 +35,10 @@ pre-patch:
(cd ${WRKSRC} && ${TAR} xfz help.tar.gz)
post-patch:
- @ for file in listmanager.cf pkg-message setup; do \
+ @ for f in listmanager.cf pkg-message setup; do \
${SED} -e "s|@@VARPREFIX@@|${LISTMANAGER_HOME}|g" \
-e "s|@@INSPREFIX@@|${PREFIX}|g" \
- < ${FILESDIR}/$$file.in > ${WRKSRC}/$$file; \
+ < ${FILESDIR}/$$f.in > ${WRKSRC}/$$f; \
done
do-install:
@@ -65,4 +56,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>