1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/games/vms-empire/Makefile
Rene Ladan 4ad7ae27f6 games/vms-empire: update to 1.16 and fix no-common build.
PR:		245804
Submitted by:	Gian-Simon Purkert <gspurki@gmail.com>
MFH:		2021Q2
2021-04-07 21:36:03 +02:00

37 lines
926 B
Makefile

# Created by: Andrey Zakhvatov
PORTNAME= vms-empire
PORTVERSION= 1.16
CATEGORIES= games
MASTER_SITES= http://www.catb.org/~esr/vms-empire/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simulation of a full-scale war between two emperors
LICENSE= GPLv2
USES= ncurses
MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
PORTDOCS= AUTHORS BUGS HACKING NEWS README
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/${PORTNAME} \
man/man6/${PORTNAME}.6.gz \
share/appdata/${PORTNAME}.xml \
${DESKTOPDIR}/${PORTNAME}.desktop \
share/icons/hicolor/48x48/apps/${PORTNAME}.png
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|; \
s|/usr/bin|${PREFIX}/bin|; \
s|/usr/share/|${PREFIX}/share/|; \
s|/usr/local/share/man|${PREFIX}/man|' \
${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>