summaryrefslogtreecommitdiffstats
path: root/x11-clocks/xtu/Makefile
blob: 2ea98a392c57a9cd99fd0666f57c8027e58affc1 (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
# 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
USE_REINPLACE=	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>
OpenPOWER on IntegriCloud