1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/net/gaim-snapshot/Makefile
2000-10-03 18:35:24 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: gaim
# Date created: 26 Mar 1999
# Whom: Jim Mock <jim@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gaim
PORTVERSION= 0.10.1
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.marko.net/pub/gaim/ \
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= jim@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
.if defined(WITH_GNOME)
LIB_DEPENDS+= gnome.4:${PORTSDIR}/x11/gnomelibs
.endif
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
CONFIGURE_ARGS= --disable-esd
.if defined(WITH_GNOME)
CONFIGURE_ARGS+= --enable-gnome
.else
CONFIGURE_ARGS+= --disable-gnome
.endif
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
GLIB_CONFIG="${GLIB_CONFIG}"
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/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>