blob: dcca6a0bb93b726a60fe90cc91d7e756942498d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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
WWW= http://www.catb.org/~esr/vms-empire/
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>
|