aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/gaim-ignorance/Makefile
blob: c23f4942ed17609c79e0034b7b59a8a98300c6f6 (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
45
46
# New ports collection makefile for:    gaim-ignorance
# Date created:     17 April 2005
# Whom:         kevinb
#
# $FreeBSD$
#

PORTNAME=   ignorance
PORTVERSION=    2.2
PORTREVISION=   4
CATEGORIES= net-im
MASTER_SITES=   http://thefnords.googlepages.com/
PKGNAMEPREFIX=  gaim-

MAINTAINER= kruptos@mlinux.org
COMMENT=    Adds filtering capabilities to gaim

BUILD_DEPENDS=  gaim:${PORTSDIR}/net-im/gaim
RUN_DEPENDS=    gaim:${PORTSDIR}/net-im/gaim

DEPRECATED= The author has taken down his site and has ceased developing this program

USE_BZIP2=  yes
GNU_CONFIGURE=  yes

SUB_FILES=  pkg-message
PORTDOCS=   README

post-patch:
    @${REINPLACE_CMD} -e 's|-g3|| ; s|echo aout|echo elf|' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e "s/ignorance.conf/ignorance.conf.sample/g" ${WRKSRC}/Makefile.in
    @${MV} ${WRKSRC}/ignorance.conf ${WRKSRC}/ignorance.conf.sample

post-install:
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/ignorance ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
    if ${TEST} ! -f ${PREFIX}/etc/gaim/ignorance.conf; then \
        ${CP} ${PREFIX}/etc/gaim/ignorance.conf.sample ${PREFIX}/etc/gaim/ignorance.conf; \
    fi
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>