77f8276a88
- Use the version tag instead of commit hash when they're the same. - Remove unnneeded variables. - Simplify go- ports when possible. - Various fixes. Sponsored by: Absolight
30 lines
464 B
Makefile
30 lines
464 B
Makefile
# Created by: Luke Jee <lukejee@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gpm
|
|
PORTVERSION= 1.4.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= lukejee@gmail.com
|
|
COMMENT= Go Package Manager
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
RUN_DEPENDS= bash:shells/bash \
|
|
go:lang/go
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= pote
|
|
|
|
NO_BUILD= yes
|
|
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= bin/gpm
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/gpm ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
.include <bsd.port.mk>
|