Changeset View
Changeset View
Standalone View
Standalone View
devel/pydio-packr/Makefile
- This file was added.
PORTNAME= packr | |||||
DISTVERSIONPREFIX= v | |||||
DISTVERSION= 1.30.2-0.20200608151212 | |||||
DISTVERSIONSUFFIX= -7d41389ccc6e | |||||
CATEGORIES= devel | |||||
koobs: I'm not sure this is the best versioning definition for Go applications. I may be wrong.
See… | |||||
Done Inline ActionsI think it's the only way it can be done with USES= go:modules. skozlov: I think it's the only way it can be done with `USES= go:modules`.
Because this is a fork, the… | |||||
PKGNAMEPREFIX= pydio- | |||||
MAINTAINER= skozlov@FreeBSD.org | |||||
COMMENT= Pydio fork of packr v1 | |||||
LICENSE= MIT | |||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | |||||
NOT_FOR_ARCHS= i386 | |||||
NOT_FOR_ARCHS_REASON= www/pydio-cells doesn't build on i386, so there's no point building pydio-packr | |||||
USES= go:modules | |||||
GO_MODULE= github.com/pydio/packr | |||||
GO_TARGET= ./packr | |||||
PLIST_FILES= bin/pydio-packr | |||||
post-install: | |||||
${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \ | |||||
${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${PORTNAME} | |||||
.include <bsd.port.mk> |
I'm not sure this is the best versioning definition for Go applications. I may be wrong.
See:
https://docs.freebsd.org/en/books/porters-handbook/special/#using-go and
https://docs.freebsd.org/en/books/porters-handbook/uses/#uses-go