svn commit: r416489 - in head/editors/joe: . files
Michael Gmelin
grembo at FreeBSD.org
Mon Jun 6 21:27:10 UTC 2016
Author: grembo
Date: Mon Jun 6 21:27:08 2016
New Revision: 416489
URL: https://svnweb.freebsd.org/changeset/ports/416489
Log:
Make dependency on aspell optional
joe is less than 2 MB in size and has no dependencies. Aspell
brings in 55MB in dependencies and more than 3000 files.
Change the port, so the dependency on aspell is optional (and
disabled by default) and allow installing aspell separately
for those who need it.
Reviewed by: bapt
Approved by: mentors (implicit)
Differential Revision: https://reviews.freebsd.org/D6732
Added:
head/editors/joe/files/patch-configure (contents, props changed)
Modified:
head/editors/joe/Makefile
Modified: head/editors/joe/Makefile
==============================================================================
--- head/editors/joe/Makefile Mon Jun 6 21:08:05 2016 (r416488)
+++ head/editors/joe/Makefile Mon Jun 6 21:27:08 2016 (r416489)
@@ -3,6 +3,7 @@
PORTNAME= joe
PORTVERSION= 4.2
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= editors
MASTER_SITES= SF/joe-editor/JOE%20sources/joe-${PORTVERSION}
@@ -12,10 +13,8 @@ COMMENT= Joe's Own Editor
LICENSE= GPLv2
-BUILD_DEPENDS= aspell:textproc/aspell
-RUN_DEPENDS= aspell:textproc/aspell
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= ASPELL DOCS
CONFLICTS= joe-2.*
@@ -26,6 +25,12 @@ LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB}
ALL_TARGET= ${PORTNAME}
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MASPELL}
+RUN_DEPENDS= aspell:textproc/aspell
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|docs/README.old docs/man.md ||' ${WRKSRC}/Makefile.in
Added: head/editors/joe/files/patch-configure
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/editors/joe/files/patch-configure Mon Jun 6 21:27:08 2016 (r416489)
@@ -0,0 +1,11 @@
+--- configure.orig 2016-03-06 19:35:47.000000000 +0000
++++ configure 2016-06-05 13:46:54.833041496 +0000
+@@ -8145,7 +8145,7 @@
+ done
+ IFS=$as_save_IFS
+
+- test -z "$ac_cv_prog_SPELL" && ac_cv_prog_SPELL="ispell"
++ test -z "$ac_cv_prog_SPELL" && ac_cv_prog_SPELL="aspell"
+ fi
+ fi
+ SPELL=$ac_cv_prog_SPELL
More information about the svn-ports-all
mailing list