freebsd-ports/editors/vile/Makefile
Thomas E. Dickey f96d43f530 editors/vile: update to 9.8v
While here, remove CONFLICTS_INSTALL. In 9.8v, the sources include
updated makefiles which make the two ports nonconflicting. That is
done by using sed-scripts within the makefiles to rename files owned
by xvile (along with some updates to the latter's plist file).

Changelog: https://invisible-island.net/vile/CHANGES.html#v9_8v

PR:		260382
Reported by:	Thomas E. Dickey <dickey@invisible-island.net> (maintainer)
2021-12-20 14:41:37 +09:00

53 lines
1.3 KiB
Makefile

# Created by: pgf
PORTNAME= vile
PORTVERSION= 9.8v
CATEGORIES= editors
MASTER_SITES= ftp://ftp.invisible-island.net/pub/vile/current/ \
https://invisible-mirror.net/archives/vile/current/
PATCH_SITES= ${MASTER_SITES:S,vile/current/,vile/patches/,g}
#PATCHFILES=
MAINTAINER= dickey@invisible-island.net
COMMENT= VI Like Emacs -- console version
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= reflex:textproc/reflex
USES= ncurses pkgconfig shebangfix tar:tgz
SHEBANG_FILES= perl/vileget
GNU_CONFIGURE= yes
CONFIGURE_ENV= cf_cv_crypt_works=yes
MAKEFILE= makefile
INSTALL_TARGET= install install-doc install-html
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}
PLIST_SUB+= SO_EXT=".so"
.else
PLIST_SUB+= SO_EXT=""
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|$$(datadir)/doc|@datadir@/doc/vile| ; \
s|$$(datadir)/html|$$(docdir)/html| ; \
s|\($$(DOCDIR)\) \($$(MANDIR)\)|\1 $$(HTMLDIR) \2|' \
${WRKSRC}/makefile.in
.include <bsd.port.mk>