summaryrefslogtreecommitdiff
path: root/net-im/bsflite/Makefile
blob: d1eb3588f0d1ba75d42f9fc4781b506f6b652b0b (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:	bsflite
# Date created:				3 June 2005
# Whom:					Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=	bsflite
DISTVERSION=	0.82
CATEGORIES=	net-im
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=bsflite

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

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

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 !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>