freebsd-ports/emulators/yaze-ag/Makefile
2022-09-10 00:00:35 +02:00

38 lines
862 B
Makefile

PORTNAME= yaze-ag
DISTVERSION= 2.51.3
CATEGORIES= emulators
MASTER_SITES= http://www.mathematik.uni-ulm.de/users/ag/yaze-ag/devel/
MAINTAINER= se@FreeBSD.org
COMMENT= Z80 and CP/M-80 emulator
WWW= http://yaze-ag.de/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libreadline.so:devel/readline
USES= compiler:c11
MAKEFILE= Makefile_freebsd
MAKE_ENV= BINDIR=${PREFIX}/bin \
DESTDIR="${STAGEDIR}" \
DOCDIR=${DOCSDIR} \
DOCHTMLDIR=${DOCSDIR}/html \
DSKDIR=${DATADIR}/disks \
LIBDIR=${DATADIR} \
LIBEXECDIR=${PREFIX}/libexec \
MANDIR=${MAN1PREFIX}/man/man1 \
OPTIMIZE="${CFLAGS}"
CONFLICTS_INSTALL= cpmtools
OPTIONS_DEFINE= DOCS
post-build:
${REINPLACE_CMD} -e 's:%%DATADIR%%:${DATADIR}:' \
-e 's:%%DOCSDIR%%:${DOCSDIR}:' \
-e 's:%%LIBEXECDIR%%:${PREFIX}/libexec:' \
${WRKSRC}/yaze.sh
.include <bsd.port.mk>