aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bubblemon-dockapp/Makefile
blob: 8ea603ed69d268ab6129a807a7a6720523029b87 (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
# New ports collection makefile for:	bubblemon-dockapp
# Date created:			Apr 16, 2001
# Whom:				Mark Pulford <mark@kyne.com.au>
#
# $FreeBSD$
#

PORTNAME=	bubblemon-dockapp
PORTVERSION=	1.46
PORTREVISION=	3
CATEGORIES=	sysutils
MASTER_SITES=	http://www.ne.jp/asahi/linux/timecop/software/ \
		http://critical.ch/distfiles/ \
		http://energy.critical.ch/distfiles/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/0$//}

MAINTAINER=	gurkan@linuks.mine.nu
COMMENT=	X eye candy for displaying CPU and memory load in a dock

USE_X_PREFIX=	yes
USE_GMAKE=	yes
USE_GNOME=	gtk12
MAKE_ARGS+=	PREFIX="${PREFIX}"

PORTDOCS=	README

post-patch:
	${REINPLACE_CMD} -e "s@CC = gcc@CC = ${CC}@g; \
		s@-O3 -ansi -Wall@${CFLAGS} -Wall@g; \
		s@PREFIX = /usr/local@PREFIX = ${PREFIX}@g; \
		s@gtk-config@${GTK_CONFIG}@g; s@-lgtk@-lgtk-1.2@g; \
		s@-c -g kmem -m 2755 -o root@-s -c -g kmem -m 2755 -o root@g" \
		${WRKSRC}/Makefile

post-install:
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/misc/wak.wav ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/misc/wakwak.sh ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/Xdefaults.sample ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>