Index: head/games/pouetchess/Makefile =================================================================== --- head/games/pouetchess/Makefile (revision 155285) +++ head/games/pouetchess/Makefile (revision 155286) @@ -1,64 +1,62 @@ # New ports collection makefile for: pouetChess # Date created: 18 Jan 2006 # Whom: Dmitry Marakasov # # $FreeBSD$ # PORTNAME= pouetchess -PORTVERSION= 0.1 -PORTREVISION= 1 +PORTVERSION= 0.1.1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTNAME= pouetChess_${PORTVERSION} +DISTNAME= pouetChess_0.11_src MAINTAINER= amdmi3@mail.ru COMMENT= An open-source 3D chess game USE_X_PREFIX= yes USE_SDL= sdl image USE_GL= yes USE_GMAKE= yes USE_REINPLACE= yes -WRKSRC= ${WRKDIR}/pouetChess +WRKSRC= ${WRKDIR}/pouetChess_0.11 MAKE_ENV= CXX="${CXX}" DESKTOP_ENTRIES="pouetChess" \ "Play chess" \ "${DATADIR}/textures/1.png" \ "pouetChess" \ "Application;Game;" \ false post-patch: @${FIND} ${WRKSRC} \( -name "*.cpp" -o -name "*.h" -o -name Makefile \ -o -name config.ini \) -exec ${REINPLACE_CMD} -e \ "s|$$(${PRINTF} '\r')$$||" {} \; @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/*.cpp ${WRKSRC}/src/*.h @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/^LIBS/ s|$$| -L${X11BASE}/lib|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/CXX / d' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/CXXFLAGS.*+=/ d' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/^CXXFLAGS/ s|:=|+=|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e '/^CXXFLAGS/ s|$$| -I${X11BASE}/include|' ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|\($$(CXX)\) \(-MM\)|\1 $$(CXXFLAGS) \2|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|config\.ini|${PREFIX}/etc/pouetChess.conf|' ${WRKSRC}/src/globalInfos.cpp @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/globalInfos.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/pouetChess ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/bin/config.ini ${PREFIX}/etc/pouetChess.conf.sample if [ ! -f ${PREFIX}/etc/pouetChess.conf ]; then \ ${INSTALL_DATA} ${WRKSRC}/bin/config.ini ${PREFIX}/etc/pouetChess.conf; \ fi -.for i in objets3d textures +.for i in objets3d textures icons ${MKDIR} ${DATADIR}/${i} ${INSTALL_DATA} ${WRKSRC}/bin/data/${i}/* ${DATADIR}/${i} .endfor .include Property changes on: head/games/pouetchess/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property Index: head/games/pouetchess/distinfo =================================================================== --- head/games/pouetchess/distinfo (revision 155285) +++ head/games/pouetchess/distinfo (revision 155286) @@ -1,3 +1,3 @@ -MD5 (pouetChess_0.1.tar.gz) = e4eca429886472b6b9826f09fea504b0 -SHA256 (pouetChess_0.1.tar.gz) = fdf69b3757fc69756366b3a110f54c346cc18d057f8023818339380c4639fb9a -SIZE (pouetChess_0.1.tar.gz) = 364154 +MD5 (pouetChess_0.11_src.tar.gz) = ffc8a0b22269f487ca60c0017e023382 +SHA256 (pouetChess_0.11_src.tar.gz) = 206f0cf0f6a567f51fa6c85c3e5820bc9ed4659101a86d67a18487c9f23fcd2b +SIZE (pouetChess_0.11_src.tar.gz) = 394797 Property changes on: head/games/pouetchess/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property Index: head/games/pouetchess/pkg-plist =================================================================== --- head/games/pouetchess/pkg-plist (revision 155285) +++ head/games/pouetchess/pkg-plist (revision 155286) @@ -1,33 +1,36 @@ bin/pouetChess @unexec if cmp -s %D/etc/pouetChess.conf %D/etc/pouetChess.conf.sample; then rm -f %D/etc/pouetChess.conf; fi etc/pouetChess.conf.sample @exec if [ ! -f %D/etc/pouetChess.conf ]; then cp -p %D/etc/pouetChess.conf.sample %D/etc/pouetChess.conf; fi +%%DATADIR%%/icons/pouetChess.bmp +%%DATADIR%%/icons/pouetChess.png %%DATADIR%%/objets3d/cavalier.lwo %%DATADIR%%/objets3d/dame.lwo %%DATADIR%%/objets3d/fleche.lwo %%DATADIR%%/objets3d/fou.lwo %%DATADIR%%/objets3d/pion.lwo %%DATADIR%%/objets3d/plateau.lwo %%DATADIR%%/objets3d/roi.lwo %%DATADIR%%/objets3d/table.lwo %%DATADIR%%/objets3d/tour.lwo %%DATADIR%%/textures/1.png %%DATADIR%%/textures/2.png %%DATADIR%%/textures/blender.png %%DATADIR%%/textures/camera.png %%DATADIR%%/textures/credits.png %%DATADIR%%/textures/damier.jpg %%DATADIR%%/textures/exit.png %%DATADIR%%/textures/font.png %%DATADIR%%/textures/force.png %%DATADIR%%/textures/gimp.png %%DATADIR%%/textures/kate.png %%DATADIR%%/textures/murs.jpg %%DATADIR%%/textures/porte.jpg %%DATADIR%%/textures/quitter.png %%DATADIR%%/textures/sol.jpg %%DATADIR%%/textures/titre.png %%DATADIR%%/textures/tux.png +@dirrm %%DATADIR%%/icons @dirrm %%DATADIR%%/objets3d @dirrm %%DATADIR%%/textures @dirrm %%DATADIR%% Property changes on: head/games/pouetchess/pkg-plist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property