summaryrefslogtreecommitdiff
path: root/net/licq-jons-gtk-gui/Makefile
blob: 6a755f1c5587c391d3c556ab720986ee72f2ee21 (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
# 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}
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:${LICQ_PORT}

USE_BZIP2=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" \
		LIBS="${PTHREAD_LIBS}"
LICQ_PORT?=	${PORTSDIR}/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>