# New ports collection makefile for:	crashmail
# Date created:				21 January 2003
# Whom:					Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD: ports/news/crashmail/Makefile,v 1.6 2006/05/11 22:49:52 edwin Exp $
#

PORTNAME=	crashmail
PORTVERSION=	0.71
CATEGORIES=	news mail
MASTER_SITES=	http://www.billingware.org/crashmail/
DISTNAME=	cm071linux

MAINTAINER=	vk@vk.pp.ru
COMMENT=	CrashMail II FTN mail tosser

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
BUILD_WRKSRC=	${WRKSRC}/src
INSTALL_WRKSRC=	${WRKSRC}/src
ALL_TARGET=	linux

USE_ZIP=	yes
USE_GMAKE=	yes

post-patch:
	@${REINPLACE_CMD} \
	  -e 's^"crashmail.prefs"^"${PREFIX}/etc/crashmail/crashmail.prefs"^' \
	  ${WRKSRC}/src/oslib_linux/os_linux.h

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/bin/crashexport ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/crashgetnode ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/crashlist ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/crashmail ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/crashmaint ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/crashstats ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bin/crashwrite ${PREFIX}/bin
	@${MKDIR} ${PREFIX}/etc/crashmail
	${INSTALL_DATA} ${WRKSRC}/doc/example.prefs ${PREFIX}/etc/crashmail
	${INSTALL_DATA} ${WRKSRC}/doc/AreafixHelp.txt \
		${PREFIX}/etc/crashmail/areafix.help

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1