Initial diff from maintainer Mike Burns, Thanks! - Fix missing depends (spotted by sthen@) - Use HOMEPAGE in MASTER_SITES - Remove SEPARATE_BUILD - Review and input from jca@ and sthen@ ok jca@
34 lines
716 B
Makefile
34 lines
716 B
Makefile
# $OpenBSD: Makefile,v 1.6 2017/05/17 06:31:15 rsadowski Exp $
|
|
|
|
VERSION = 0.11.2
|
|
|
|
COMMENT = interactive shell for git
|
|
|
|
DISTNAME = gitsh-${VERSION}
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://github.com/thoughtbot/gitsh
|
|
|
|
MAINTAINER = Mike Burns <mike+openbsd@mike-burns.com>
|
|
|
|
# License: BSD
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += c ereadline gmp m ncurses pthread ruby23
|
|
|
|
MASTER_SITES = ${HOMEPAGE}/releases/download/v${VERSION}/
|
|
|
|
MODULES = lang/ruby
|
|
RUN_DEPENDS = devel/git
|
|
LIB_DEPENDS = devel/readline \
|
|
devel/gmp
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV = READLINE_LIB="ereadline" \
|
|
CPPFLAGS="-I${LOCALBASE}/include/ereadline" \
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
RUBY="${RUBY}"
|
|
|
|
.include <bsd.port.mk>
|