forked from Lainports/freebsd-ports
- Move crates to Makefile.crates for a cleaner Makefile - Generate man page and install it - Remove powerpc patch as it is included upstream - Take maintainership ChangeLog: https://github.com/svenstaro/genact/blob/master/CHANGELOG.md PR: 276054 Approved by: 0mp
26 lines
643 B
Makefile
26 lines
643 B
Makefile
PORTNAME= genact
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.3.0
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= eduardo@FreeBSD.org
|
|
COMMENT= Nonsense activity generator
|
|
WWW= https://github.com/svenstaro/genact
|
|
|
|
LICENSE= APACHE20 BSD3CLAUSE ISCL MIT UNLICENSE
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
|
|
|
|
USES= cargo
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= svenstaro
|
|
|
|
PLIST_FILES= bin/genact \
|
|
share/man/man1/genact.1.gz
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/genact
|
|
${STAGEDIR}${PREFIX}/bin/${PORTNAME} --print-manpage > ${WRKSRC}/${PORTNAME}.1
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1/
|
|
|
|
.include <bsd.port.mk>
|