2012-12-29 04:16:49 +00:00
|
|
|
# Created by: pgf
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1995-02-27 23:00:37 +00:00
|
|
|
|
2000-04-14 00:25:54 +00:00
|
|
|
PORTNAME= vile
|
2013-07-11 15:15:30 +00:00
|
|
|
PORTVERSION= 9.8k
|
1996-11-11 05:07:53 +00:00
|
|
|
CATEGORIES= editors
|
2010-12-19 13:05:56 +00:00
|
|
|
MASTER_SITES= ftp://dickey.his.com/vile/current/ \
|
2013-02-08 02:03:06 +00:00
|
|
|
ftp://invisible-island.net/vile/current/
|
2002-01-13 19:09:49 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2010-12-19 13:05:56 +00:00
|
|
|
PATCH_SITES= ${MASTER_SITES:S,vile/current/,vile/patches/,g}
|
2013-02-08 02:03:06 +00:00
|
|
|
PATCHFILES= # none
|
2003-10-09 09:54:54 +00:00
|
|
|
|
2012-12-29 04:16:49 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-02-08 02:03:06 +00:00
|
|
|
COMMENT= VI Like Emacs -- console version
|
1996-11-11 05:07:53 +00:00
|
|
|
|
2013-02-08 02:03:06 +00:00
|
|
|
LICENSE= GPLv2
|
1995-04-24 03:38:32 +00:00
|
|
|
|
2013-01-06 14:23:24 +00:00
|
|
|
OPTIONS_DEFINE= FILTERS ICONV PERL DOCS
|
|
|
|
FILTERS_DESC= Loadable filters
|
2007-05-29 16:55:40 +00:00
|
|
|
|
2013-07-11 15:15:30 +00:00
|
|
|
USES= pkgconfig shebangfix
|
|
|
|
SHEBANG_FILES= perl/vileget
|
2013-02-08 02:03:06 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAKEFILE= makefile
|
|
|
|
|
|
|
|
MAN1= vile.1
|
|
|
|
|
|
|
|
CONFLICTS_INSTALL= xvile-[0-9]*
|
|
|
|
|
2013-09-20 16:36:23 +00:00
|
|
|
NO_STAGE= yes
|
2013-01-06 14:23:24 +00:00
|
|
|
.include <bsd.port.options.mk>
|
2002-01-13 19:09:49 +00:00
|
|
|
|
2013-02-08 02:03:06 +00:00
|
|
|
.if ${PORT_OPTIONS:MFILTERS}
|
|
|
|
CONFIGURE_ARGS+= --with-loadable-filters
|
|
|
|
PLIST_SUB+= SO_EXT=".so"
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SO_EXT=""
|
|
|
|
.endif
|
|
|
|
|
2013-01-06 14:23:24 +00:00
|
|
|
.if ${PORT_OPTIONS:MICONV}
|
2013-04-27 08:50:46 +00:00
|
|
|
USES+= iconv
|
2013-09-04 20:01:05 +00:00
|
|
|
CONFIGURE_ARGS+= --with-iconv ${ICONV_CONFIGURE_ARG}
|
2013-02-08 02:03:06 +00:00
|
|
|
PLIST_SUB+= ICONV=""
|
2008-02-17 11:49:05 +00:00
|
|
|
.else
|
2013-02-08 02:03:06 +00:00
|
|
|
CONFIGURE_ARGS+= --without-iconv --without-locale
|
|
|
|
PLIST_SUB+= ICONV="@comment "
|
2008-02-17 11:49:05 +00:00
|
|
|
.endif
|
|
|
|
|
2013-01-06 14:23:24 +00:00
|
|
|
.if ${PORT_OPTIONS:MPERL}
|
2013-08-03 08:45:51 +00:00
|
|
|
USES+= perl5
|
2013-02-08 02:03:06 +00:00
|
|
|
CONFIGURE_ARGS+= --with-perl
|
|
|
|
PLIST_SUB+= PERL=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= PERL="@comment "
|
1998-06-04 20:05:04 +00:00
|
|
|
.endif
|
|
|
|
|
2013-02-08 02:03:06 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^DOCDIR|#DOCDIR|' ${WRKSRC}/makefile.in
|
|
|
|
@${REINPLACE_CMD} -e \
|
2013-07-11 15:15:30 +00:00
|
|
|
's|defined(FLEX_BETA)|0|' ${WRKSRC}/filters/filters.h
|
2001-03-23 21:02:17 +00:00
|
|
|
|
1997-09-06 19:55:22 +00:00
|
|
|
post-install:
|
2013-02-08 02:03:06 +00:00
|
|
|
@${MKDIR} ${DATADIR}/macros
|
|
|
|
(cd ${WRKSRC}/macros && ${INSTALL_DATA} *.rc ${DATADIR}/macros)
|
2013-01-06 14:23:24 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-02-08 02:03:06 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
(cd ${WRKSRC}/doc && ${INSTALL_DATA} *.doc ${DOCSDIR})
|
1998-06-04 20:05:04 +00:00
|
|
|
.endif
|
1997-09-06 19:55:22 +00:00
|
|
|
|
2013-01-06 14:23:24 +00:00
|
|
|
.include <bsd.port.mk>
|