Hello,
I am creating a new port. The program is written in Go and the source has a man page (1). You can find it here: https://github.com/steffenfritz/mxcheck
I wrote a Makefile,
and
are working without problems, everything's in place, i.e. the binary is in work/stage/usr/local/bin
However,
fails with the missing man page:
I referenced the man page in PLIST_FILES, nothing else.
How can I copy the man page into its place? What is missing in the Makefile?
The Makefile:
EDIT: Indentation is ok, just messed up in the code snippet
I am creating a new port. The program is written in Go and the source has a man page (1). You can find it here: https://github.com/steffenfritz/mxcheck
I wrote a Makefile,
Bash:
make stage
Bash:
make stage-qa
However,
Code:
make package
Code:
===> Building package for mxcheck-1.4.2_1
pkg-static: Unable to access file /usr/ports/security/mxcheck_freebsd/work/stage/usr/local/man/man1/mxcheck.1.gz:No such file or directory
*** Error code 1
Stop.
make: stopped in /usr/ports/security/mxcheck_freebsd
I referenced the man page in PLIST_FILES, nothing else.
How can I copy the man page into its place? What is missing in the Makefile?
The Makefile:
Code:
PORTNAME= mxcheck
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.2
PORTREVISION= 1
CATEGORIES= security
MAINTAINER= steffen@fritz.wtf
COMMENT= Terminal based e-mail server configuration and DNS scanner
WWW= https://github.com/steffenfritz/mxcheck
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
GO_MODULE= github.com/steffenfritz/mxcheck
PLIST_FILES= bin/${PORTNAME} \
man/man1/mxcheck.1.gz
.include <bsd.port.mk>
EDIT: Indentation is ok, just messed up in the code snippet