aboutsummaryrefslogtreecommitdiffstats
path: root/editors/vile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-27 23:20:09 +0800
committermiwi <miwi@FreeBSD.org>2014-02-27 23:20:09 +0800
commit3ddcc19d09e0139b54a323faf17fbff6eb10f829 (patch)
treeddd8c1a14912e5dee0b1546215b9f6c2ebf7e48c /editors/vile
parentd2d9e9701da352e09f7391ef8f5e52d1a8320353 (diff)
downloadfreebsd-ports-gnome-3ddcc19d09e0139b54a323faf17fbff6eb10f829.tar.gz
freebsd-ports-gnome-3ddcc19d09e0139b54a323faf17fbff6eb10f829.tar.zst
freebsd-ports-gnome-3ddcc19d09e0139b54a323faf17fbff6eb10f829.zip
- Update to version 9.8l
PR: 186420 Submitted by: ports fury
Diffstat (limited to 'editors/vile')
-rw-r--r--editors/vile/Makefile44
-rw-r--r--editors/vile/distinfo4
2 files changed, 19 insertions, 29 deletions
diff --git a/editors/vile/Makefile b/editors/vile/Makefile
index 266d437e7b52..c88ed2b7ef46 100644
--- a/editors/vile/Makefile
+++ b/editors/vile/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= vile
-PORTVERSION= 9.8k
+PORTVERSION= 9.8l
CATEGORIES= editors
MASTER_SITES= ftp://dickey.his.com/vile/current/ \
ftp://invisible-island.net/vile/current/
@@ -16,8 +16,7 @@ COMMENT= VI Like Emacs -- console version
LICENSE= GPLv2
-OPTIONS_DEFINE= FILTERS ICONV PERL DOCS
-FILTERS_DESC= Loadable filters
+BUILD_DEPENDS= reflex:${PORTSDIR}/textproc/reflex
USES= pkgconfig shebangfix
SHEBANG_FILES= perl/vileget
@@ -26,44 +25,35 @@ MAKEFILE= makefile
CONFLICTS_INSTALL= xvile-[0-9]*
+OPTIONS_DEFINE= DOCS FILTERS ICONV PERL
+OPTIONS_SUB= yes
+
+FILTERS_DESC= Loadable filters
+FILTERS_CONFIGURE_WITH= loadable-filters
+ICONV_USES= iconv
+ICONV_CONFIGURE_ON= --with-iconv ${ICONV_CONFIGURE_ARG}
+ICONV_CONFIGURE_OFF= --without-iconv --without-locale
+PERL_USES= perl5
+PERL_CONFIGURE_WITH= perl
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFILTERS}
-CONFIGURE_ARGS+= --with-loadable-filters
PLIST_SUB+= SO_EXT=".so"
.else
PLIST_SUB+= SO_EXT=""
.endif
-.if ${PORT_OPTIONS:MICONV}
-USES+= iconv
-CONFIGURE_ARGS+= --with-iconv ${ICONV_CONFIGURE_ARG}
-PLIST_SUB+= ICONV=""
-.else
-CONFIGURE_ARGS+= --without-iconv --without-locale
-PLIST_SUB+= ICONV="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MPERL}
-USES+= perl5
-CONFIGURE_ARGS+= --with-perl
-PLIST_SUB+= PERL=""
-.else
-PLIST_SUB+= PERL="@comment "
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's|^DOCDIR|#DOCDIR|' ${WRKSRC}/makefile.in
- @${REINPLACE_CMD} -e \
- 's|defined(FLEX_BETA)|0|' ${WRKSRC}/filters/filters.h
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/macros
- ${INSTALL_DATA} ${WRKSRC}/macros/*.rc ${STAGEDIR}${DATADIR}/macros
-.if ${PORT_OPTIONS:MDOCS}
+ (cd ${WRKSRC}/macros && ${INSTALL_DATA} *.rc \
+ ${STAGEDIR}${DATADIR}/macros)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/*.doc ${STAGEDIR}${DOCSDIR}
-.endif
+ (cd ${WRKSRC}/doc && ${INSTALL_DATA} *.doc \
+ ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
diff --git a/editors/vile/distinfo b/editors/vile/distinfo
index a0d272611d79..d8bfbc9ed68e 100644
--- a/editors/vile/distinfo
+++ b/editors/vile/distinfo
@@ -1,2 +1,2 @@
-SHA256 (vile-9.8k.tgz) = af8386a43fdf82ba3c8e4187b8fe850543c5baac769cf26bb2b437e5b3689e24
-SIZE (vile-9.8k.tgz) = 2278349
+SHA256 (vile-9.8l.tgz) = 2da06d7e949baa8541dc8ddd5e2d782346bbdaf59c9e564c1e8fedcc3a9bf59c
+SIZE (vile-9.8l.tgz) = 2289659