aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/bsflite/Makefile
blob: 955db4e3f73f0d9d0baeb1431e97bdb7af536d22 (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
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$

PORTNAME=   bsflite
DISTVERSION=    0.85
CATEGORIES= net-im
MASTER_SITES=   SF

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Lightweight command line AIM client

PLIST_FILES=    bin/bsflite %%EXAMPLESDIR%%/config-example
PLIST_DIRS= %%EXAMPLESDIR%%
PORTDOCS=   COPYING ChangeLog README

OPTIONS_DEFINE= DOCS

NO_STAGE=   yes
.include <bsd.port.options.mk>

post-patch:
    @${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' \
        ${WRKSRC}/${MAKEFILE} \
        ${WRKSRC}/imcomm/Makefile

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/bsflite ${PREFIX}/bin
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/config-example ${EXAMPLESDIR}

.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>