summaryrefslogtreecommitdiff
path: root/sysutils/rox-system/Makefile
blob: 6a1ce6dc5802c5e6f3a1dd9a9f8c7a173c6880cd (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
# $NetBSD: Makefile,v 1.10 2004/01/20 12:26:16 agc Exp $
#

DISTNAME=	System-0.1.2
PKGNAME=	rox-system-0.1.2
PKGREVISION=	3
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=rox/}
EXTRACT_SUFX=	.tgz

MAINTAINER=	rxg@NetBSD.org
HOMEPAGE=	http://rox.sourceforge.net/
COMMENT=	Simple system monitor

DEPENDS+=	rox>=1.2.0nb2:../../sysutils/rox

WRKSRC=		${WRKDIR}/System/src
DIST_SUBDIR=	rox

USE_BUILDLINK2=		yes
GNU_CONFIGURE=		yes

APPDIR=		${PREFIX}/share/rox

post-patch:
	${CP} ${WRKDIR}/System/AppRun ${WRKDIR}
	${SED} -e "s:"\$$APP_DIR/\$$PLATFORM":${PREFIX}/libexec/rox:g" < \
		${WRKDIR}/AppRun > ${WRKDIR}/System/AppRun

post-build:
	${MV} ${WRKSRC} ${WRKDIR}

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/src/System ${PREFIX}/libexec/rox
	${CP} -Rf ${WRKDIR}/System ${APPDIR}

.include "../../devel/libgtop/buildlink2.mk"
.include "../../x11/gnome-libs/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"