Files
ports/games/xroach/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

36 lines
800 B
Makefile

PORTNAME= xroach
PORTVERSION= 4.4
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= https://cyber.dabamos.de/pub/distfiles/
DISTNAME= ${PORTNAME}
MAINTAINER= kidon@posteo.de
COMMENT= Cockroaches hide under your windows
USES= imake localbase xorg
USE_CSTD= gnu99
USE_XORG= x11 xext
DPADD+= ${LOCALBASE}/lib/libX11.a ${LIBM}
LDADD+= -lX11 -lm
BINDIR= ${LOCALBASE}/bin
MANDIR= ${LOCALBASE}/share/man/man
BINOWN= bin
BINMODE= 755
PLIST_FILES= bin/xroach share/man/man6/xroach.6.gz
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
do-install:
${INSTALL_PROGRAM} -s ${WRKSRC}/xroach ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${PREFIX}/share/man/man6/${PORTNAME}.6
.include <bsd.port.mk>