aboutsummaryrefslogtreecommitdiffstats
path: root/news/crashmail/Makefile
blob: 5b50a09ee520856eb025b4c3985c749ac9967821 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    crashmail
# Date created:             21 January 2003
# Whom:                 Max Khon <fjoe@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   crashmail
PORTVERSION=    0.62
CATEGORIES= news mail
MASTER_SITES=   http://www.df.lth.se/~billing/crashmail/
DISTNAME=   cm062linux

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

WRKSRC=     ${WRKDIR}/CrashMail
BUILD_WRKSRC=   ${WRKSRC}/src
INSTALL_WRKSRC= ${WRKSRC}/src
ALL_TARGET= linux

USE_ZIP=    yes
USE_GMAKE=  yes
USE_REINPLACE=  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>