31 lines
726 B
Makefile

# $OpenBSD: Makefile,v 1.10 2017/11/21 00:13:03 naddy Exp $
COMMENT= dancers shell or distributed shell
DISTNAME = dsh-0.25.10
CATEGORIES= sysutils net
REVISION = 0
HOMEPAGE= http://www.netfort.gr.jp/~dancer/software/dsh.html.en
MASTER_SITES= http://www.netfort.gr.jp/~dancer/software/downloads/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB = c dshconfig iconv intl
LIB_DEPENDS= devel/gettext \
devel/libdshconfig
CONFIGURE_STYLE= gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-lintl -liconv"
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples
post-configure:
@perl -pi -e 's,rsh,ssh,' ${WRKSRC}/dsh.conf
.include <bsd.port.mk>