aboutsummaryrefslogtreecommitdiff
path: root/editors/joe2
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-28 12:56:56 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-28 12:56:56 +0000
commit5e5283d094918c22271f2e36aad7b79048d5457e (patch)
tree804f8d7b8f453b9e4e09b119e8d2df3db97ce6e0 /editors/joe2
parentff3d558ddc3a038ddca5d2ea20ec270b6c1fa295 (diff)
downloadports-5e5283d094918c22271f2e36aad7b79048d5457e.tar.gz
ports-5e5283d094918c22271f2e36aad7b79048d5457e.zip
Support stage
Use aspell-ispell instead of textproc/ispell USE_GMAKE -> USES=gmake
Notes
Notes: svn path=/head/; revision=341543
Diffstat (limited to 'editors/joe2')
-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