[Bug 232315] [NEW PORT] shells/poshinit : portable way of using the same shell environment with Bash / Zsh across FreeBSD / Linux / Cygwin

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 16 18:49:21 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232315

--- Comment #13 from bourne.identity at hotmail.com <bourne.identity at hotmail.com> ---
Can someone please help me fix my Makefile  such that it starts installing
files/poshinit.1 as the man page ?

Currently, I just keep getting this error :

pkg-static: Unable to access file
/usr/ports/shells/poshinit/work/stage/usr/local/man/man1/poshinit.1:No such
file or directory
*** Error code 74


It appears that makefile auto-compresses poshinit.1
/usr/ports/shells/poshinit/work/stage/usr/local/man/man1/poshinit.1.gz

Thanks for any help.
Here is what my Makefile currently looks like :

PORTNAME=       poshinit
PORTVERSION=        1.0
CATEGORIES=     shells
MASTER_SITES=

MAINTAINER=     bourne.identity at hotmail.com
COMMENT=        Portable shell environment across Bash/Zsh & across
FreeBSD/Linux/Cygwin

NO_BUILD=       yes
NO_ARCH=        yes

PLIST_FILES=        bin/${PORTNAME} man/man1/${PORTNAME}.1
DISTFILES=

do-install:
        ${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
        ${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1
${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1

.include <bsd.port.mk>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list