sthen f52be2a50e bump all go ports that don't already have a RUN_DEPENDS on lang/go (which
has pkgspec set on the go version number already), so that pkg_add -u updates
them to versions which work with MAP_STACK. spotted by pvk@
2018-04-14 22:53:54 +00:00

35 lines
735 B
Makefile

# $OpenBSD: Makefile,v 1.2 2018/04/14 22:53:54 sthen Exp $
COMMENT = modern and intuitive terminal-based text editor
V = 1.1.3
DISTNAME = micro-${V}-src
PKGNAME = micro-${V}
REVISION = 0
CATEGORIES = editors
HOMEPAGE = https://micro-editor.github.io/
MAINTAINER = Edd Barrett <edd@openbsd.org>
# MIT "Expat" License
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c pthread
MASTER_SITES = https://github.com/zyedidia/micro/releases/download/v${V}/
MODULES = lang/go
MODGO_TYPE = bin
WRKDIST = ${WRKDIR}/micro
MAKE_ENV += MODGO_CMD="${MODGO_CMD}"
do-build:
cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} build-quick ${MAKE_FLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/micro ${PREFIX}/bin
NO_TEST = Yes
.include <bsd.port.mk>