blob: d1d57a8d6447084767b9e822fe9aae8970e0c560 (
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
36
37
38
39
40
41
42
43
44
45
|
# Created by: Andrey Zakhvatov
PORTNAME= bs
PORTVERSION= 2.11
CATEGORIES= games
MAINTAINER= alfix86@gmail.com
COMMENT= Battleships solitaire game with a color interface
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xmlto:textproc/xmlto
USES= gmake gnome ncurses
MAKE_ARGS= CC="${CC}"
ALL_TARGET= # empty
USE_GITLAB= yes
GL_ACCOUNT= esr
GL_COMMIT= 73947294765e163a7b914fd6eb4dd364125b3382
PLIST_FILES= ${DESKTOPDIR}/${PORTNAME}.desktop \
bin/${PORTNAME} \
man/man6/${PORTNAME}.6.gz \
share/appdata/${PORTNAME}.xml \
share/icons/hicolor/32x32/apps/battleship.png
PORTDOCS= NEWS README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e '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>
|