aboutsummaryrefslogtreecommitdiffstats
path: root/net/licq-jons-gtk-gui/Makefile
blob: 34e65a356f17eba82a791f328e64cfcc6b14b8ed (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
47
48
49
50
51
52
53
# New ports collection makefile for:    licq-jons-gtk-gui
# Date created:                         30 November 2002
# Whom:                                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   jons-gtk-gui
PORTVERSION=    ${JONS_GTK_LICQ_VER}
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=       ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= licq
PKGNAMEPREFIX=      licq-
DISTNAME=       ${PKGNAMEPREFIX}${LICQ_VER}
#DISTFILES=     ${DISTNAME}.tar.bz2

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    Jons GTK plugin for licq

RUN_DEPENDS+=   licq:${PORTSDIR}/${LICQ_PORT}

IGNORE=     is incompatible with licq-1.3.0
DEPRECATED= project stalled, no more releases
EXPIRATION_DATE=    2005-04-01

USE_BZIP2=  yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${PTHREAD_CFLAGS}" \
        LIBS="${PTHREAD_LIBS}"
LICQ_PORT?= net/licq
USE_GNOME=  gtk12
PLIST_SUB+= GUI_NAME=jons-gtk
EXTRA_FIX=  ${WRKSRC}/src/Makefile.in
LICQ_VER=       1.2.4
JONS_GTK_LICQ_VER=  0.20.3

post-patch:
    @ ${MV} ${EXTRA_FIX} ${EXTRA_FIX}.sed
    ${SED} -e "s=gtk-config=gtk12-config=" ${EXTRA_FIX}.sed > ${EXTRA_FIX}

.include <bsd.port.pre.mk>

WRKSRC?=        ${WRKDIR}/${DISTNAME}/plugins/${PORTNAME}

.if ${OSVERSION} > 500030
CPPFLAGS+=      -Wno-deprecated
CONFIGURE_ENV+=     CPPFLAGS="${CPPFLAGS}"
MAKE_ENV+=      CPPFLAGS="${CPPFLAGS}"
.endif

.include <bsd.port.post.mk>