2010-02-10 20:17:31 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2010/02/10 19:17:37 joerg Exp $
|
2006-01-29 18:39:33 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= edit-2.0
|
|
|
|
PKGNAME= rox-${DISTNAME}
|
2010-02-10 20:17:31 +01:00
|
|
|
PKGREVISION= 3
|
2006-01-29 18:39:33 +01:00
|
|
|
CATEGORIES= editors
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=rox/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= rxg@NetBSD.org
|
|
|
|
HOMEPAGE= http://rox.sourceforge.net/desktop/node/20
|
|
|
|
COMMENT= Simple text editor for ROX
|
|
|
|
|
|
|
|
DEPENDS+= rox-lib>=2.0.2nb2:../../devel/rox-lib
|
|
|
|
|
2008-05-26 04:13:14 +02:00
|
|
|
USE_TOOLS+= pax
|
|
|
|
|
2008-03-03 19:25:52 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-01-29 18:39:33 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/Edit
|
|
|
|
DIST_SUBDIR= rox
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PYTHON_PATCH_SCRIPTS= AppRun tests/testreplace.py
|
|
|
|
|
|
|
|
INSTALLATION_DIRS= share/rox/Edit
|
|
|
|
|
|
|
|
SUBST_CLASSES+= lib
|
|
|
|
SUBST_MESSAGE.lib= Fixing hardcoded paths for ROX-Lib.
|
|
|
|
SUBST_STAGE.lib= post-patch
|
|
|
|
SUBST_FILES.lib= findrox.py
|
|
|
|
SUBST_SED.lib= -e 's,/usr/local/lib,${PREFIX}/share/rox,g'
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name 'CVS' -print | ${XARGS} ${RM} -rf
|
|
|
|
@${RM} -f ${WRKSRC}/.cvsignore
|
|
|
|
|
|
|
|
do-install:
|
2008-05-26 04:13:14 +02:00
|
|
|
cd ${WRKSRC} && pax -rw . ${DESTDIR}${PREFIX}/share/rox/Edit
|
2006-01-29 18:39:33 +01:00
|
|
|
|
|
|
|
.include "../../lang/python/application.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|