aboutsummaryrefslogtreecommitdiffstats
path: root/net/gaim/Makefile
blob: 0a944c0c5e0ffe0325b26a6446905442c213f54f (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
# New ports collection makefile for:    gaim
# Version required:     0.8.0
# Date created:         26 Mar 1999
# Whom:             Jim Mock <jim@phrantic.phear.net>
#
# $Id: Makefile,v 1.4 1999/05/05 14:13:41 flathill Exp $
#

DISTNAME=   gaim-0.8.0
CATEGORIES= net
MASTER_SITES=   ftp://ftp.marko.net/pub/gaim/ \
        http://www.freebsd.org/~mharo/distfiles/ \
        ftp://ftp.netmug.org/pub/FreeBSD/distfiles/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} logo.xpm.gz
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= jim@phrantic.phear.net

LIB_DEPENDS=    gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
        glib12.2:${PORTSDIR}/devel/glib12

GLIB_CONFIG?=   ${LOCALBASE}/bin/glib12-config
GTK_CONFIG?=    ${X11BASE}/bin/gtk12-config

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_X_PREFIX=   yes
CONFIGURE_ENV=  GTK_CONFIG="${GTK_CONFIG}" \
        GLIB_CONFIG="${GLIB_CONFIG}"

post-patch:
    ${CP} ${DISTDIR}/logo.xpm.gz ${WRKSRC}/pixmaps
    ${GUNZIP_CMD} ${WRKSRC}/pixmaps/logo.xpm.gz

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/gaim ${PREFIX}/bin
    @ ${MKDIR} ${PREFIX}/share/gaim/pixmaps && chmod a+rx ${PREFIX}/share/gaim/pixmaps
    @ ${ECHO} "===>   Installing pixmaps"
    ${INSTALL_DATA} ${WRKSRC}/pixmaps/*.xpm ${PREFIX}/share/gaim/pixmaps

.include <bsd.port.mk>