mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-22 22:00:49 +01:00
40 lines
738 B
Makefile
40 lines
738 B
Makefile
# $OpenBSD: Makefile,v 1.3 2020/04/17 23:59:50 sthen Exp $
|
|
|
|
COMMENT = "automated password generator" clone written in Go
|
|
|
|
V = 0.3.1
|
|
|
|
DISTNAME = v$V
|
|
|
|
REVISION = 1
|
|
|
|
PKGNAME = apg-go-$V
|
|
|
|
CATEGORIES = security
|
|
|
|
HOMEPAGE = https://github.com/wneessen/apg-go
|
|
|
|
MAINTAINER = Winni Neessen <wn@neessen.net>
|
|
|
|
MASTER_SITES = https://github.com/wneessen/apg-go/archive/refs/tags/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/go
|
|
MODGO_TYPE = bin
|
|
|
|
ALL_TARGET = wneessen/apg-go
|
|
|
|
post-extract:
|
|
mv ${WRKDIR}/${PKGNAME} ${WRKDIR}/${DISTNAME}
|
|
|
|
test:
|
|
cd ${WRKDIR} && ${MODGO_CMD} test ${ALL_TARGET}
|
|
|
|
build:
|
|
mkdir -p ${MODGO_WORKSPACE}/bin
|
|
cd ${WRKDIR} && ${MODGO_CMD} build \
|
|
-o ${MODGO_WORKSPACE}/bin ${ALL_TARGET}
|
|
|
|
.include <bsd.port.mk>
|