Files
2026-10-04 04:07:15 +00: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>