aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-28 20:56:56 +0800
committerbapt <bapt@FreeBSD.org>2014-01-28 20:56:56 +0800
commita405d3527732e6bbcea59e01028cc398e8963136 (patch)
tree804f8d7b8f453b9e4e09b119e8d2df3db97ce6e0 /editors
parent3ecd50e7e4c45a2e512a66c5563b4f1939f27e66 (diff)
downloadfreebsd-ports-gnome-a405d3527732e6bbcea59e01028cc398e8963136.tar.gz
freebsd-ports-gnome-a405d3527732e6bbcea59e01028cc398e8963136.tar.zst
freebsd-ports-gnome-a405d3527732e6bbcea59e01028cc398e8963136.zip
Support stage
Use aspell-ispell instead of textproc/ispell USE_GMAKE -> USES=gmake
Diffstat (limited to 'editors')
-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