Lines 1-12
Link Here
|
1 |
PORTNAME= gnushogi |
1 |
PORTNAME= gnushogi |
2 |
PORTVERSION= 1.4.2 |
2 |
PORTVERSION= 1.4.2 |
3 |
PORTREVISION= 1 |
3 |
PORTREVISION= 2 |
4 |
CATEGORIES= games |
4 |
CATEGORIES= games |
5 |
MASTER_SITES= GNU |
5 |
MASTER_SITES= GNU |
6 |
|
6 |
|
7 |
MAINTAINER= ports@FreeBSD.org |
7 |
MAINTAINER= mew14930xvi@inbox.lv |
8 |
COMMENT= GNU version of Shogi |
8 |
COMMENT= GNU version of Shogi |
9 |
WWW= http://www.cs.caltech.edu/~mvanier/hacking/gnushogi/gnushogi.html |
9 |
WWW= https://www.gnu.org/software/gnushogi/ |
10 |
|
10 |
|
11 |
LICENSE= GPLv3 |
11 |
LICENSE= GPLv3 |
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
LICENSE_FILE= ${WRKSRC}/COPYING |
Lines 14-49
LICENSE_FILE= ${WRKSRC}/COPYING
Link Here
|
14 |
GNU_CONFIGURE= yes |
14 |
GNU_CONFIGURE= yes |
15 |
MAKE_JOBS_UNSAFE= yes |
15 |
MAKE_JOBS_UNSAFE= yes |
16 |
|
16 |
|
17 |
OPTIONS_DEFINE= DOCS INFO |
17 |
PLIST_FILES= bin/gnushogi share/man/man6/gnushogi.6.gz \ |
|
|
18 |
${DATADIR}/gnushogi.bbk |
19 |
PORTDOCS= BOOKFILES PORTING shogi.rules tutorial1.gam tutorial2.gam |
20 |
|
21 |
OPTIONS_DEFINE= DOCS INFO |
18 |
OPTIONS_DEFAULT= INFO |
22 |
OPTIONS_DEFAULT= INFO |
19 |
|
23 |
|
20 |
INFO_USES= makeinfo |
24 |
INFO_USES= makeinfo |
21 |
INFO_INFO= gnushogi |
25 |
INFO_INFO= gnushogi |
22 |
|
26 |
|
23 |
post-extract-INFO-on: |
|
|
24 |
-@${RM} ${WRKSRC}/doc/gnushogi.info* |
25 |
|
26 |
post-patch: |
27 |
post-patch: |
27 |
@${REINPLACE_CMD} -e '/<sys\/file.h>/d' \ |
28 |
@${REINPLACE_CMD} -e '/<sys\/file.h>/d' ${WRKSRC}/gnushogi/*dsp.c |
28 |
${WRKSRC}/gnushogi/*dsp.c |
|
|
29 |
|
29 |
|
30 |
pre-build-INFO-on: |
30 |
pre-build-INFO-on: |
31 |
cd ${WRKSRC}/doc && makeinfo --no-split gnushogi |
31 |
cd ${WRKSRC}/doc && makeinfo --no-split gnushogi |
32 |
|
32 |
|
33 |
do-install: |
33 |
do-install: |
34 |
@${INSTALL_PROGRAM} ${WRKSRC}/gnushogi/gnushogi ${STAGEDIR}${PREFIX}/bin |
34 |
${INSTALL_PROGRAM} ${WRKSRC}/gnushogi/gnushogi ${STAGEDIR}${PREFIX}/bin |
35 |
@${INSTALL_MAN} ${WRKSRC}/doc/gnushogi.6 ${STAGEDIR}${PREFIX}/share/man/man6 |
35 |
${INSTALL_MAN} ${WRKSRC}/doc/gnushogi.6 \ |
|
|
36 |
${STAGEDIR}${PREFIX}/share/man/man6 |
36 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
37 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
37 |
@${INSTALL_DATA} ${WRKSRC}/gnushogi/gnushogi.bbk ${STAGEDIR}${DATADIR} |
38 |
${INSTALL_DATA} ${WRKSRC}/gnushogi/gnushogi.bbk ${STAGEDIR}${DATADIR} |
38 |
|
|
|
39 |
do-install-INFO-on: |
40 |
@${INSTALL_DATA} ${WRKSRC}/doc/gnushogi.info ${STAGEDIR}${PREFIX}/${INFO_PATH} |
41 |
|
39 |
|
42 |
do-install-DOCS-on: |
40 |
do-install-DOCS-on: |
43 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
41 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
44 |
@${INSTALL_DATA} ${WRKSRC}/doc/BOOKFILES ${STAGEDIR}${DOCSDIR} |
42 |
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
45 |
@${INSTALL_DATA} ${WRKSRC}/doc/PORTING ${STAGEDIR}${DOCSDIR} |
43 |
|
46 |
@${INSTALL_DATA} ${WRKSRC}/doc/*.gam ${STAGEDIR}${DOCSDIR} |
44 |
do-install-INFO-on: |
47 |
@${INSTALL_DATA} ${WRKSRC}/doc/*.rules ${STAGEDIR}${DOCSDIR} |
45 |
${INSTALL_DATA} ${WRKSRC}/doc/gnushogi.info \ |
|
|
46 |
${STAGEDIR}${PREFIX}/${INFO_PATH} |
48 |
|
47 |
|
49 |
.include <bsd.port.mk> |
48 |
.include <bsd.port.mk> |