opnsense-ports/emulators/tilem/Makefile
Franco Fichtner c6e96193e7 */*: sync with upstream
Taken from: FreeBSD
2023-03-03 12:35:16 +01:00

33 lines
822 B
Makefile

PORTNAME= tilem
PORTVERSION= 2.0
PORTREVISION= 5
CATEGORIES= emulators
MASTER_SITES= SF
MAINTAINER= danfe@FreeBSD.org
COMMENT= Texas Instruments Z80 series calculator emulator
WWW= http://lpg.ticalc.org/prj_tilem/
LICENSE= GPLv3
LIB_DEPENDS= libticalcs2.so:comms/libticalcs2
USES= desktop-file-utils gnome pkgconfig shared-mime-info tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ENV= OPT_CFLAGS=" " # Inhibit -O3, our default CFLAGS are upheld
USE_GNOME= gtk20
LIBS+= -lm
PORTDOCS= CHANGELOG KEYS NEWS README THANKS TODO
OPTIONS_DEFINE= DOCS
# Unbreak parallel builds (-jX)
post-patch:
@${REINPLACE_CMD} -E 's,cd (.+) && (\$$\(MAKE\)),\2 -C \1,' \
${WRKSRC}/Makefile.in
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>