9481016931
Reported by: mat
29 lines
677 B
Makefile
29 lines
677 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= direnv
|
|
PORTVERSION= 2.6.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= sysutils
|
|
|
|
MAINTAINER= swills@FreeBSD.org
|
|
COMMENT= Environment variable manager for your shell
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= zimbatm
|
|
|
|
PLIST_FILES= bin/direnv man/man1/direnv.1.gz man/man1/direnv-stdlib.1.gz
|
|
|
|
STRIP= # stripping can break go binaries
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/direnv \
|
|
${STAGEDIR}${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/man/direnv.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/man/direnv-stdlib.1 \
|
|
${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|