aboutsummaryrefslogtreecommitdiffstats
path: root/comms/smstools/Makefile
blob: 529ad190e79820bb7696271330033753c75383fe (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
# New ports collection makefile for:    smstools
# Date created:                         06-11-2004
# Whom:                                 Benny Kjaergaard <bennyk@wax.dk>
#
# $FreeBSD$
#

PORTNAME=   smstools
PORTVERSION=    1.14.8
CATEGORIES= comms
MASTER_SITES=   http://smstools.meinemullemaus.de/packages/

MAINTAINER= bennyk@wax.dk
COMMENT=    Tools to handle Short Message Service

LIB_DEPENDS=    mm:${PORTSDIR}/devel/mm

WRKSRC=     ${WRKDIR}/smstools
USE_GMAKE=  yes
USE_REINPLACE=  yes

post-patch:
    echo "${EXAMPLESDIR}"
    @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
        ${WRKSRC}/src/smsd_cfg.c \
        ${WRKSRC}/install.sub \
        ${WRKSRC}/Makefile \
        ${WRKSRC}/examples/smsd.conf.easy \
        ${WRKSRC}/examples/smsd.conf.full \
        ${WRKSRC}/bin/sms
    @${REINPLACE_CMD} -e "s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g; \
                s|%%DOCSDIR%%|${DOCSDIR}|g" \
        ${WRKSRC}/install.sub

.include <bsd.port.mk>