summaryrefslogtreecommitdiff
path: root/devel/ORBit2/Makefile
blob: 3e3de5415c8cd30b43abbd979d063ebe9e1c3ea6 (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
# New ports collection makefile for:   orbit
# Date Created:			16 Aug 1998
# Whom:				Chia-liang Kao <clkao@CirX.ORG>
#
# $FreeBSD$
#

PORTNAME=	ORBit
PORTVERSION=	0.5.3
PORTREVISION=	1
CATEGORIES=	devel gnome
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	stable/sources/ORBit

MAINTAINER=	ade@FreeBSD.org

LIB_DEPENDS=	glib12.3:${PORTSDIR}/devel/glib12 \
		intl.1:${PORTSDIR}/devel/gettext

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

USE_GMAKE=	yes
USE_LIBTOOL=	yes
INSTALLS_SHLIB=	yes
LIBTOOLFILES=	configure libIDL/configure popt/configure
CONFIGURE_ENV=	GLIB_CONFIG="${GLIB_CONFIG}" \
		CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

CONFIGURE_ARGS= --disable-indent

post-install:
.if !exists(${PREFIX}/etc/orbitrc)
	@${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc
	@${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc
	@${ECHO} etc/orbitrc >> ${TMPPLIST}
.endif

.include <bsd.port.mk>