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

DISTNAME=	ROX-Lib-0.1.4
PKGNAME=	rox-lib-0.1.4
PKGREVISION=	3
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=rox/}
EXTRACT_SUFX=	.tgz

MAINTAINER=	rxg@NetBSD.org
HOMEPAGE=	http://rox.sourceforge.net/
COMMENT=	Shared code for ROX applications

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

WRKSRC=		${WRKDIR}/ROX-Lib
DIST_SUBDIR=	rox

NO_CONFIGURE=	yes
NO_BUILD=	yes
USE_BUILDLINK2=	yes

PYTHON_PATCH_SCRIPTS=	AppRun bin/savebox

post-patch:
	${SED} -e s:"/usr/local/lib":"${PREFIX}/share/rox":g	\
		< ${WRKSRC}/Help/findrox.py			\
		> ${WRKSRC}/Help/findrox.py.1
	${MV} -f ${WRKSRC}/Help/findrox.py.1 ${WRKSRC}/Help/findrox.py

pre-install:
	${RM} -f ${WRKSRC}/AppRun.tmp
	${RM} -f ${WRKSRC}/bin/savebox.tmp

do-install:
	${CP} -Rf ${WRKSRC} ${PREFIX}/share/rox

.include "../../lang/python/application.mk"
.include "../../x11/pygtk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"