summaryrefslogtreecommitdiffstats
path: root/comms/tilp/Makefile
blob: eb08d031cd830a3fe4242ac4d36ca2f9067d298a (plain)
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:	tilp
# Date created:		27 August 2003
# Whom:			Tijl Coosemans <tijl@ulyssis.org>
#
# $FreeBSD$
#

PORTNAME=	tilp
PORTVERSION=	6.68
CATEGORIES=	comms
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	tilp

MAINTAINER=	tijl@ulyssis.org
COMMENT=	TI Linking Program

BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS=	ticalcs-4.5:${PORTSDIR}/devel/libticalcs \
		ticables.10:${PORTSDIR}/comms/libticables \
		tifiles.5:${PORTSDIR}/devel/libtifiles \
		intl.4:${PORTSDIR}/devel/gettext

USE_GNOME=	gtk20 libglade2
USE_X_PREFIX=	yes
GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_GMAKE=	yes

CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"\
		LDFLAGS="-L${LOCALBASE}/lib"

MAN1=	tilp.1

.include <bsd.port.pre.mk>

.if defined(WITH_JPEG) || exists(${LOCALBASE}/lib/libjpeg.so.9)
LIB_DEPENDS+=	jpeg.9:${PORTSDIR}/graphics/jpeg
.else
pre-everything::
        @${ECHO_MSG}
        @${ECHO_MSG} "======================================================="
        @${ECHO_MSG} "If you want to compile with JPEG support, hit Ctrl-C"
        @${ECHO_MSG} "right now and use \"make WITH_JPEG=yes\""
        @${ECHO_MSG} "======================================================="
        @${ECHO_MSG}
.endif #WITH_JPEG

post-install:
	${MKDIR} ${PREFIX}/lib/tilp

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud