1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/nonsense/Makefile
Eitan Adler ed59156ea9 Clean up my ports (and a couple of ports@ owned ones):
- Fix COMMENT
- Add MAKE_JOBS_SAFE where appropriate
- Change ordering of LICENSE lines
- Fix new header format
- Etc.

Reviewed by:	drogoh (on irc)
2013-03-08 20:23:38 +00:00

36 lines
927 B
Makefile

# Created by: roam@FreeBSD.org
# $FreeBSD$
PORTNAME= nonsense
PORTVERSION= 0.6
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= eadler@FreeBSD.org
COMMENT= Nonsense text generator
NO_BUILD= defined
MAN6= nonsense.6
.include <bsd.port.options.mk>
post-configure:
${REINPLACE_CMD} -e "s,/usr/local,${PREFIX}," ${WRKSRC}/nonsense
${SED} -e "s^%%PREFIX%%^${PREFIX}^g" \
< ${FILESDIR}/${MAN6} > ${WRKSRC}/${MAN6}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/nonsense ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/nonsense/data
${MKDIR} ${PREFIX}/share/nonsense/template
${INSTALL_DATA} ${WRKSRC}/*.data ${PREFIX}/share/nonsense/data
${INSTALL_DATA} ${WRKSRC}/*.template ${PREFIX}/share/nonsense/template
${INSTALL_MAN} ${WRKSRC}/${MAN6} ${PREFIX}/man/man6/
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${PREFIX}/share/doc/nonsense
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/nonsense/
.endif
.include <bsd.port.mk>