summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libwnck/Makefile
blob: 5d88e51c49a8c3014e4a81ee055d6f0a5e7f1020 (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
# New ports collection makefile for:    libwnck
# Date created:             12 April 2002
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/x11-toolkits/libwnck/Makefile,v 1.70 2006/04/13 07:52:43 bland Exp $
#

PORTNAME=   libwnck
PORTVERSION=    2.15.2
CATEGORIES= x11-toolkits gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Library used for writing pagers and taskslists

USE_BZIP2=  yes
PREFIX?=    ${X11BASE}

.if !defined(REFERENCE_PORT)
LIB_DEPENDS=    startup-notification-1.0:${PORTSDIR}/x11/startup-notification

USE_GETTEXT=    yes
USE_XLIB=   yes
USE_GMAKE=  yes
USE_GNOME=  gnomehack gtk20 ltverhack referencehack
USE_BISON=  yes
INSTALLS_SHLIB= yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.mk>

.endif