2016-11-02 06:46:20 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.61 2016/11/02 06:46:20 kirby Exp $
|
2001-05-06 02:29:37 +00:00
|
|
|
|
2010-01-01 19:21:05 +00:00
|
|
|
COMMENT= free Norton Commander clone with many useful features
|
2000-03-22 19:58:12 +00:00
|
|
|
|
2016-11-02 06:46:20 +00:00
|
|
|
DISTNAME= mc-4.8.18
|
2010-01-01 19:21:05 +00:00
|
|
|
CATEGORIES= misc
|
2000-02-03 02:11:32 +00:00
|
|
|
|
2010-01-01 19:21:05 +00:00
|
|
|
HOMEPAGE= http://www.midnight-commander.org/
|
2010-03-28 18:28:47 +00:00
|
|
|
MASTER_SITES= ${HOMEPAGE}downloads/
|
2010-01-01 19:21:05 +00:00
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
2001-03-05 06:36:08 +00:00
|
|
|
|
2014-07-13 09:07:50 +00:00
|
|
|
EXTRACT_SUFX= .tar.xz
|
2011-08-23 08:28:42 +00:00
|
|
|
|
2010-01-17 18:42:08 +00:00
|
|
|
# GPLv2
|
2000-03-22 19:58:12 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2016-04-25 13:35:06 +00:00
|
|
|
WANTLIB += c iconv intl m pcre pthread termcap glib-2.0 gmodule-2.0 slang
|
2014-09-11 09:58:34 +00:00
|
|
|
WANTLIB += crypto ssl z ssh2
|
2000-04-28 23:33:16 +00:00
|
|
|
|
2010-01-01 19:21:05 +00:00
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
2014-09-11 09:58:34 +00:00
|
|
|
BUILD_DEPENDS= security/libssh2
|
2010-11-19 07:23:05 +00:00
|
|
|
LIB_DEPENDS= devel/glib2 \
|
|
|
|
devel/libslang
|
|
|
|
RUN_DEPENDS= archivers/unzip \
|
2014-09-11 09:58:34 +00:00
|
|
|
archivers/zip \
|
2015-11-22 14:21:33 +00:00
|
|
|
security/libssh2 \
|
|
|
|
textproc/gdiff
|
2010-01-01 19:21:05 +00:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
2014-10-30 20:23:59 +00:00
|
|
|
CONFIGURE_ARGS+= --with-subshell \
|
|
|
|
--enable-vfs-sftp \
|
|
|
|
--enable-vfs-smb \
|
2015-11-10 16:59:33 +00:00
|
|
|
--enable-charset \
|
|
|
|
--with-slang-includes=${LOCALBASE}/include \
|
2010-01-01 19:21:05 +00:00
|
|
|
CONFIGURE_ENV= LOCALBASE=${LOCALBASE} \
|
|
|
|
LIBS="-lm"
|
2004-08-02 16:08:23 +00:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/config
|
2010-01-01 19:21:05 +00:00
|
|
|
|
|
|
|
post-install:
|
2010-03-28 18:28:47 +00:00
|
|
|
@mv ${WRKINST}${SYSCONFDIR}/mc ${PREFIX}/share/examples
|
2010-01-01 19:21:05 +00:00
|
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/mc
|
|
|
|
@find ${PREFIX}/share/examples/mc -type f | \
|
|
|
|
xargs chmod ${SHAREMODE}
|
|
|
|
@find ${PREFIX}/share/examples/mc -type d | \
|
|
|
|
xargs chmod ${DIRMODE}
|
2006-10-25 13:06:58 +00:00
|
|
|
|
2000-02-03 02:11:32 +00:00
|
|
|
.include <bsd.port.mk>
|