1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/editors/vile/Makefile

73 lines
1.5 KiB
Makefile
Raw Normal View History

# Created by: pgf
1999-08-25 05:57:29 +00:00
# $FreeBSD$
2000-04-14 00:25:54 +00:00
PORTNAME= vile
PORTVERSION= 9.8k
CATEGORIES= editors
MASTER_SITES= ftp://dickey.his.com/vile/current/ \
ftp://invisible-island.net/vile/current/
EXTRACT_SUFX= .tgz
PATCH_SITES= ${MASTER_SITES:S,vile/current/,vile/patches/,g}
PATCHFILES= # none
2003-10-09 09:54:54 +00:00
MAINTAINER= ports@FreeBSD.org
COMMENT= VI Like Emacs -- console version
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
USES= pkgconfig shebangfix
SHEBANG_FILES= perl/vileget
GNU_CONFIGURE= yes
MAKEFILE= makefile
MAN1= vile.1
CONFLICTS_INSTALL= xvile-[0-9]*
NO_STAGE= yes
2013-01-06 14:23:24 +00:00
.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
2013-01-06 14:23:24 +00:00
.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
2013-01-06 14:23:24 +00:00
.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
1997-09-06 19:55:22 +00:00
post-install:
@${MKDIR} ${DATADIR}/macros
(cd ${WRKSRC}/macros && ${INSTALL_DATA} *.rc ${DATADIR}/macros)
2013-01-06 14:23:24 +00:00
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/doc && ${INSTALL_DATA} *.doc ${DOCSDIR})
.endif
1997-09-06 19:55:22 +00:00
2013-01-06 14:23:24 +00:00
.include <bsd.port.mk>