summaryrefslogtreecommitdiff
path: root/mail/mlmmj/Makefile
blob: 4518bc370fd1e66dcad609e20523dcc97aa5a814 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# New ports collection makefile for:   mlmmj
# Date created:        12 june 2004
# Whom:                Christian Laursen <xi@borderworlds.dk>
#
# $FreeBSD$
#

PORTNAME=	mlmmj
PORTVERSION=	0.8.0
CATEGORIES=	mail
MASTER_SITES=	http://mlmmj.mmj.dk/files/

MAINTAINER=	xi@borderworlds.dk
COMMENT=	Mailing list managing made joyful

USE_BZIP2=	yes
USE_REINPLACE=	yes

HAS_CONFIGURE=	yes
CONFIGURE_ARGS+=	--prefix=${PREFIX}

post-patch:
	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/mlmmj-make-ml.sh

post-install:
	@${MKDIR} ${PREFIX}/share/mlmmj/listtexts
	@${INSTALL_DATA} ${WRKSRC}/listtexts/* ${PREFIX}/share/mlmmj/listtexts

.include <bsd.port.mk>