summaryrefslogtreecommitdiffstats
path: root/deskutils/gucharmap/Makefile
blob: e2a9331f174681c396ee8d40eb0de53db842589a (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
# New ports collection makefile for:    gucharmap
# Date created:             02 Mar 2003
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/deskutils/gucharmap/Makefile,v 1.21 2006/03/13 06:21:39 mezz Exp $
#

PORTNAME=   gucharmap
PORTVERSION=    1.6.0
CATEGORIES= deskutils gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A Unicode/ISO10646 character map and font viewer

BUILD_DEPENDS=  scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
LIB_DEPENDS=    popt.0:${PORTSDIR}/devel/popt
RUN_DEPENDS=    scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper

USE_BZIP2=  yes
USE_GETTEXT=    yes
USE_X_PREFIX=   yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix intlhack gnomehack gtk20 gnomedocutils
WANT_GNOME= yes
GNU_CONFIGURE=  yes
INSTALLS_OMF=   yes
INSTALLS_SHLIB= yes
INSTALLS_ICONS= yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
            LDFLAGS="-L${LOCALBASE}/lib"

.if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD)
.undef WITHOUT_GNOME
.undef WITHOUT_ALL
WITH_GNOME= yes
.endif

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mlibgnomeui}!=""
USE_GNOME+= libgnomeui
PKGNAMESUFFIX:= -gnome
.else
CONFIGURE_ARGS= --disable-gnome
.endif

.include <bsd.port.post.mk>