summaryrefslogtreecommitdiff
path: root/editors/joe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/joe/Makefile')
-rw-r--r--editors/joe/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/editors/joe/Makefile b/editors/joe/Makefile
index 34fd8fce0d8..cce4fe20259 100644
--- a/editors/joe/Makefile
+++ b/editors/joe/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2008/07/14 12:56:03 joerg Exp $
+# $NetBSD: Makefile,v 1.32 2010/06/23 12:52:42 adam Exp $
-DISTNAME= joe-3.5
+DISTNAME= joe-3.7
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=joe-editor/}
@@ -12,7 +12,18 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --sysconfdir=${PREFIX:Q}/share/examples
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+INSTALLATION_DIRS+= ${PKG_SYSCONFDIR}/joe
+
+EGDIR= ${PREFIX}/share/examples/joe
+CONF_FILES= ${EGDIR}/ftyperc ${PKG_SYSCONFDIR}/joe/ftyperc
+CONF_FILES+= ${EGDIR}/jicerc.ru ${PKG_SYSCONFDIR}/joe/jicerc.ru
+CONF_FILES+= ${EGDIR}/jmacsrc ${PKG_SYSCONFDIR}/joe/jmacsrc
+CONF_FILES+= ${EGDIR}/joerc ${PKG_SYSCONFDIR}/joe/joerc
+CONF_FILES+= ${EGDIR}/jpicorc ${PKG_SYSCONFDIR}/joe/jpicorc
+CONF_FILES+= ${EGDIR}/jstarrc ${PKG_SYSCONFDIR}/joe/jstarrc
+CONF_FILES+= ${EGDIR}/rjoerc ${PKG_SYSCONFDIR}/joe/rjoerc
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"