diff options
author | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-18 20:34:39 +0000 |
---|---|---|
committer | Danilo Egea Gondolfo <danilo@FreeBSD.org> | 2013-11-18 20:34:39 +0000 |
commit | a07a25c45263c0a0091f6b326e8706f4f82a3b22 (patch) | |
tree | 65da6780ca2198ee5b1840bd7809ae638e1038d1 /games/fairymax | |
parent | 54a419b98951dbcbe9737e26c1205641747831f6 (diff) | |
download | ports-a07a25c45263c0a0091f6b326e8706f4f82a3b22.tar.gz ports-a07a25c45263c0a0091f6b326e8706f4f82a3b22.zip |
Notes
Diffstat (limited to 'games/fairymax')
-rw-r--r-- | games/fairymax/Makefile | 36 |
1 files changed, 15 insertions, 21 deletions
diff --git a/games/fairymax/Makefile b/games/fairymax/Makefile index dbb9f7d6c9d9..0d0e8d3defd2 100644 --- a/games/fairymax/Makefile +++ b/games/fairymax/Makefile @@ -2,11 +2,11 @@ # $FreeBSD$ PORTNAME= fairymax -PORTVERSION= 4.8S.5 +PORTVERSION= 4.8S.6 CATEGORIES= games MASTER_SITES= http://freeheimdall.homeunix.org/files/ DISTNAME= ${PORTNAME}-b6a7fa8 -# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=b6a7fa8ae7c54db7bb5a9415ccae3fd55e9b360e;sf=tgz +# http://hgm.nubati.net/cgi-bin/gitweb.cgi?p=fairymax.git;a=snapshot;h=0e4813b1b6dbb8a2a85c5b6a42486cfa52724d68;sf=tgz MAINTAINER= kalten@gmx.at COMMENT= Chess engine for shatranj, courier chess, and others @@ -21,27 +21,19 @@ DIST_SUBDIR= ${PORTNAME} PLIST_FILES= bin/${PORTNAME} \ bin/shamax \ bin/maxqi \ + man/man6/fairymax.6.gz \ + man/man6/shamax.6.gz \ + man/man6/maxqi.6.gz \ %%DATADIR%%/fmax.ini \ %%DATADIR%%/qmax.ini PLIST_DIRS= %%DATADIR%% -MAN6= ${PORTNAME}.6 -MLINKS= ${PORTNAME}.6 shamax.6 \ - ${PORTNAME}.6 maxqi.6 - USES= gmake perl5 USE_PERL5= build MAKE_ARGS+= INI_F=${DATADIR}/fmax.ini \ INI_Q=${DATADIR}/qmax.ini -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS} -CFLAGS+= -O2 -.else -CFLAGS+= -.endif +OPTIMIZED_CFLAGS_CFLAGS= -O2 post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ @@ -49,12 +41,14 @@ post-patch: ${WRKSRC}/fairymax.pod do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fairymax ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/shamax ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/maxqi ${PREFIX}/bin - ${MKDIR} ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/data/fmax.ini ${DATADIR}/fmax.ini - ${INSTALL_DATA} ${WRKSRC}/data/qmax.ini ${DATADIR}/qmax.ini - ${INSTALL_MAN} ${WRKSRC}/fmax.man ${MAN6PREFIX}/man/man6/${MAN6} + ${INSTALL_PROGRAM} ${WRKSRC}/fairymax ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/shamax ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/maxqi ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/data/fmax.ini ${STAGEDIR}${DATADIR}/fmax.ini + ${INSTALL_DATA} ${WRKSRC}/data/qmax.ini ${STAGEDIR}${DATADIR}/qmax.ini + ${INSTALL_MAN} ${WRKSRC}/fmax.man ${STAGEDIR}${MAN6PREFIX}/man/man6/${PORTNAME}.6 + ${LN} -s ${MAN6PREFIX}/man/man6/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/shamax.6 + ${LN} -s ${MAN6PREFIX}/man/man6/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/maxqi.6 .include <bsd.port.mk> |