2002-03-28 20:03:02 +00:00
|
|
|
# New ports collection makefile for: sma
|
|
|
|
# Date created: 28. Mar 2002
|
|
|
|
# Whom: dirk.meyer@dinoex.sub.org
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sma
|
2003-07-02 15:32:33 +00:00
|
|
|
PORTVERSION= 1.4
|
2002-03-28 20:03:02 +00:00
|
|
|
CATEGORIES= mail
|
2002-05-26 12:05:31 +00:00
|
|
|
MASTER_SITES= http://www.klake.org/sma/dl/ \
|
2002-05-26 15:01:52 +00:00
|
|
|
http://www.saunalahti.fi/~jt2/sma/dl/
|
2002-03-28 20:03:02 +00:00
|
|
|
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-02-20 18:26:42 +00:00
|
|
|
COMMENT= Program that analyses Sendmail log entries
|
2002-03-28 20:03:02 +00:00
|
|
|
|
|
|
|
MAN8= sma.8
|
|
|
|
DOCSFILES= BUGS COPYRIGHT HISTORY README TODO
|
|
|
|
SAMPLEFILES= sma.conf
|
|
|
|
ALL_TARGET= sma
|
|
|
|
|
|
|
|
do-configure:
|
2002-06-16 15:03:10 +00:00
|
|
|
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.sed
|
|
|
|
${SED} -e "s,CC =,CC?= ," \
|
|
|
|
-e "s,CFLAGS = -Wall -O,CFLAGS+= ," \
|
|
|
|
${WRKSRC}/Makefile.sed > ${WRKSRC}/Makefile
|
2002-03-28 20:03:02 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sma ${PREFIX}/bin/sma
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/sma.8 ${PREFIX}/man/man8/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
|
|
.for i in ${DOCSFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/
|
|
|
|
.endfor
|
|
|
|
.for i in ${SAMPLEFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${EXAMPLESDIR}/
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|