Lines 1-7
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= modules2tuple |
3 |
PORTNAME= modules2tuple |
4 |
PORTVERSION= 1.0.0 |
4 |
PORTVERSION= 1.1.0 |
5 |
CATEGORIES= devel |
5 |
CATEGORIES= devel |
6 |
|
6 |
|
7 |
MAINTAINER= dg@syrec.org |
7 |
MAINTAINER= dg@syrec.org |
Lines 10-27
Link Here
|
10 |
LICENSE= BSD2CLAUSE |
10 |
LICENSE= BSD2CLAUSE |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
|
12 |
|
13 |
BUILD_DEPENDS= go:lang/go |
13 |
USES= go:modules |
14 |
|
14 |
|
|
|
15 |
GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} |
16 |
|
15 |
USE_GITHUB= yes |
17 |
USE_GITHUB= yes |
16 |
|
|
|
17 |
GH_TUPLE= dmgk:${PORTNAME}:v${PORTVERSION}:DEFAULT |
18 |
GH_TUPLE= dmgk:${PORTNAME}:v${PORTVERSION}:DEFAULT |
18 |
|
19 |
|
19 |
PLIST_FILES= bin/${PORTNAME} |
20 |
PLIST_FILES= bin/${PORTNAME} |
20 |
|
21 |
|
21 |
do-build: |
|
|
22 |
cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} go build |
23 |
|
24 |
do-install: |
25 |
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ |
26 |
|
27 |
.include <bsd.port.mk> |
22 |
.include <bsd.port.mk> |