1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/games/miscom/Makefile
Rene Ladan 4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00

51 lines
1.1 KiB
Makefile

PORTNAME= miscom
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SUNSITE/games/arcade
DISTNAME= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Atari "Missile Command" clone
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= ncurses
ALL_TARGET= # empty
MAKE_ARGS= CC="${CC}" DATADIR="${DATADIR}" \
CFLAGS="${CFLAGS}"
PLIST_FILES= bin/${PORTNAME} \
share/man/man6/${PORTNAME}.6.gz
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
CFLAGS+= -DSOUNDSDIR='\"${DATADIR}\"' -DSOUND_SUPPORT -DMORE_SOUNDBUF
.endif
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/miscom ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/miscom.6 ${STAGEDIR}${PREFIX}/share/man/man6
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/sounds/* ${STAGEDIR}${DATADIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in COPYING ChangeLog README TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.post.mk>