summaryrefslogtreecommitdiff
path: root/editors/rox-edit/Makefile
diff options
context:
space:
mode:
authorrxg <rxg@pkgsrc.org>2006-01-29 17:39:33 +0000
committerrxg <rxg@pkgsrc.org>2006-01-29 17:39:33 +0000
commit7f346da867d41a1879d6258b239adb65156994f3 (patch)
tree95268138c45076fe8a6417ad0921fdbb617f87ed /editors/rox-edit/Makefile
parent5686df5228256edd1f95a5ef7de222607538ad61 (diff)
downloadpkgsrc-7f346da867d41a1879d6258b239adb65156994f3.tar.gz
Intial import rox-edit-2.0.
Simple text editor for ROX.
Diffstat (limited to 'editors/rox-edit/Makefile')
-rw-r--r--editors/rox-edit/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/editors/rox-edit/Makefile b/editors/rox-edit/Makefile
new file mode 100644
index 00000000000..8789b1ea2ec
--- /dev/null
+++ b/editors/rox-edit/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/01/29 17:39:33 rxg Exp $
+#
+
+DISTNAME= edit-2.0
+PKGNAME= rox-${DISTNAME}
+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
+
+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:
+ cd ${WRKSRC} && ${PAX} -rw . ${PREFIX}/share/rox/Edit
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"