aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/joe2/Makefile18
-rw-r--r--editors/joe2/pkg-plist1
2 files changed, 9 insertions, 10 deletions
diff --git a/editors/joe2/Makefile b/editors/joe2/Makefile
index 1963bf23f098..b0625754a786 100644
--- a/editors/joe2/Makefile
+++ b/editors/joe2/Makefile
@@ -3,33 +3,31 @@
PORTNAME= joe
PORTVERSION= 2.9.8
+PORTREIVSION= 1
CATEGORIES+= editors
MASTER_SITES= SF/joe-editor/JOE%20sources/joe-${PORTVERSION}
MAINTAINER?= toasty@dragondata.com
COMMENT?= Joe's Own Editor
-RUN_DEPENDS= ispell:${PORTSDIR}/textproc/ispell
+OPTIONS_DEFINE= DOCS
+
+RUN_DEPENDS= ispell:${PORTSDIR}/textproc/aspell-ispell
PKGNAMESUFFIX= 2
CONFLICTS= joe-3*
GNU_CONFIGURE= yes
-USE_GMAKE= yes
-USES= iconv
+USES= iconv gmake
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${ICONV_LIB}"
CPPFLAGS+= -I${LOCALBASE}/include
ALL_TARGET= ${PORTNAME}
-MAN1= ${PORTNAME}.1
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.cvs ${WRKSRC}/ChangeLog\
- ${WRKSRC}/INFO ${WRKSRC}/NEWS ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/LIST ${DOCSDIR}/CommandList
-.endif
+ ${WRKSRC}/INFO ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/LIST ${STAGEDIR}${DOCSDIR}/CommandList
.include <bsd.port.mk>
diff --git a/editors/joe2/pkg-plist b/editors/joe2/pkg-plist
index f8039bf4292f..eec9e31d5b9d 100644
--- a/editors/joe2/pkg-plist
+++ b/editors/joe2/pkg-plist
@@ -9,6 +9,7 @@ etc/joe/jmacsrc
etc/joe/jstarrc
etc/joe/rjoerc
etc/joe/jpicorc
+man/man1/joe.1.gz
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/CommandList
%%PORTDOCS%%%%DOCSDIR%%/INFO