freebsd-ports/games/vms-empire/Makefile
Rusmir Dusko 2dbb5ddf0a - Update to 1.13, announce message:
Comment on entry to and exit from edit mode.
  Cleaned up packaging and install/uninstall productions.

- Rename from games/empire to games/vms-empire to match Upstream name
- Remove DISTNAME
- Change PLIST_FILES, changed by me and Upstream
- Remove obsolete REINPLACE
- Simplify installation handling, changed by me and Upstream
- Add REINPLACE, fix GNU/Linux paths
- Strip executable
- Change pkg-descr
2014-12-15 08:06:55 +00:00

35 lines
886 B
Makefile

# Created by: Andrey Zakhvatov
# $FreeBSD$
PORTNAME= vms-empire
PORTVERSION= 1.13
CATEGORIES= games
MASTER_SITES= http://www.catb.org/~esr/vms-empire/
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Simulation of a full-scale war between two emperors
LICENSE= GPLv2
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>