summaryrefslogtreecommitdiff
path: root/x11-clocks/xtu/Makefile
blob: a7c10bfde97e100c8de06d1c72384d77054ec712 (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
# New ports collection makefile for:	xtu
# Date created:		17 Apr 1999
# Whom:			runge@rostock.zgdv.de
#
# $FreeBSD$
#

PORTNAME=	xtu
PORTVERSION=	1.2
CATEGORIES=	x11-clocks
MASTER_SITES=	http://core.de/~coto/projects/xtu/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Transparent analog clock for X11

USE_IMAKE=	yes
WANT_GNOME=	yes
MAKE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
NO_INSTALL_MANPAGES=	yes

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mimlib}!=""
USE_GNOME=	imlib
CPPFLAGS=	-DUSE_IMLIB `${IMLIB_CONFIG} --cflags`
LDFLAGS=	`${IMLIB_CONFIG} --libs`
.else
USE_XPM=	yes
CPPFLAGS=	-DUSE_XPM
LDFLAGS=	-lXpm -lX11 -lXext
.endif

.include <bsd.port.post.mk>