aboutsummaryrefslogtreecommitdiffstats
path: root/comms/bforce/Makefile
blob: a66f284289ba15c434667c0a70ae7426c0f20ceb (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
# New ports collection makefile for:    bforce
# Date created:     19 Feb 2003
# Whom:         Vladimir Kurtikov <vk@vk.pp.ru>
#
# $FreeBSD$
#

PORTNAME=   bforce
PORTVERSION=    0.22.8
PORTREVISION=   2
CATEGORIES= comms
MASTER_SITES=   ftp://fido.kuzbass.ru/pub/fileecho/DALLAS.SOFT/ \
        http://bforce.chbs.ru/

MAINTAINER= vk@vk.pp.ru
COMMENT=    Simple ifcico like Fidonet technology mailer

USE_BZIP2=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CFLAGS="${CFLAGS} -fno-builtin"

WRKSRC=     ${WRKDIR}/${DISTNAME}/source

do-install:
    ${MKDIR} ${PREFIX}/etc/bforce
    ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.conf ${PREFIX}/etc/bforce/bforce.conf.sample
    ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.passwd ${PREFIX}/etc/bforce/bforce.passwd.sample
    ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.subst ${PREFIX}/etc/bforce/bforce.subst.sample
    ${INSTALL_DATA} ${WRKSRC}/../examples/freq.aliases ${PREFIX}/etc/bforce/freq.aliases.sample
    ${INSTALL_DATA} ${WRKSRC}/../examples/freq.dirs ${PREFIX}/etc/bforce/freq.dirs.sample
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/bforce ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfindex ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfstat ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/nlookup ${PREFIX}/bin
    @${SED} "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE}

.include <bsd.port.mk>