1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Trim Makefile headers

- Drop ABI versions from LIB_DEPENDS
- OptionsNG
- Pet portlint
- Switch to dynamic plist where useful
This commit is contained in:
Dmitry Marakasov 2013-06-18 11:46:51 +00:00
parent 28eb882aa0
commit 3037cb61c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321181
108 changed files with 493 additions and 11173 deletions

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: wavplay
# Date created: 14 January 2000
# Whom: greg
#
# Created by: greg
# $FreeBSD$
#
PORTNAME= wavplay
PORTVERSION= 1.4

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: gitg
# Date created: 2010-03-19
# Whom: kipz <somicide@gmail.com>
#
# Created by: kipz <somicide@gmail.com>
# $FreeBSD$
#
PORTNAME= gitg
PORTVERSION= 0.0.8
@ -14,11 +10,11 @@ MASTER_SITES= GNOME
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= GTK-based git repository viewer
RUN_DEPENDS= git>=1.7.0.2:${PORTSDIR}/devel/git
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= git>=1.7.0.2:${PORTSDIR}/devel/git
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes

View File

@ -6,4 +6,4 @@ representation of data and actions. It can:
* Show colorized diff of changes in revisions
* Handles extremely large projects very well
WWW: http://trac.novowork.com/gitg/wiki
WWW: http://trac.novowork.com/gitg/wiki

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: love
# Date created: 01 Aug 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= love
PORTVERSION= 0.8.0
@ -40,11 +36,13 @@ PLIST_FILES= bin/love
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d; \
/test/ s|==|=|' ${WRKSRC}/configure
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
.for f in changes.txt readme.md

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: love
# Date created: 01 Aug 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= love
PORTVERSION= 0.7.2
@ -46,11 +42,13 @@ PLIST_FILES= bin/love07
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}07
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \
${WRKSRC}/configure
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
.for f in changes.txt readme.txt

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: love
# Date created: 01 Aug 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= love
DISTVERSION= 0.5-0
@ -37,13 +33,15 @@ PLIST_FILES= bin/love5
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}5
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|ILvoid|void|' ${WRKSRC}/src/opengl/Image.cpp \
${WRKSRC}/src/opengl/love_opengl.cpp
@${REINPLACE_CMD} -e '/^prefix=/ d; /^bindir=/ d; /^libdir=/ d' \
${WRKSRC}/configure
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
.for f in changes.txt readme.txt

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: p5-Tree-R
# Date created: 03 Mar 2011
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= Tree-R
PORTVERSION= 0.06

View File

@ -1,3 +1,3 @@
Tree::R - Perl extension for the Rtree data structure and algorithms
WWW: http://search.cpan.org/dist/Tree-R/
WWW: http://search.cpan.org/dist/Tree-R/

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: p5-WeakRef
# Date created: 14 Jun 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= WeakRef
PORTVERSION= 0.01

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: sfml
# Date created: 07 Jul 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= sfml
PORTVERSION= 1.6
@ -15,10 +11,10 @@ DISTNAME= SFML-${PORTVERSION}-sdk-linux-32
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Simple and Fast Multimedia Library
LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
jpeg.11:${PORTSDIR}/graphics/jpeg \
LIB_DEPENDS= sndfile:${PORTSDIR}/audio/libsndfile \
jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
freetype.9:${PORTSDIR}/print/freetype2
freetype:${PORTSDIR}/print/freetype2
USE_GMAKE= yes
USE_OPENAL= al
@ -34,6 +30,8 @@ PORTDOCS= *
PORTSCOUT= limit:[^c]$$
.include <bsd.port.options.mk>
post-extract:
@${RM} -f ${WRKSRC}/lib/*
@${FIND} ${WRKSRC}/samples/bin/ -type f -maxdepth 1 -delete
@ -42,7 +40,7 @@ post-install:
.for lib in audio graphics network system window
@${LN} -s libsfml-${lib}.so.${PORTVERSION} ${PREFIX}/lib/libsfml-${lib}.so.${PORTVERSION:C/^([0-9]).*/\1/}
.endfor
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "*" ${DOCSDIR}/
.endif

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: tokamak
# Date created: 24 Jun 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= tokamak
PORTVERSION= 1.0.5a
@ -26,7 +22,7 @@ BUILD_WRKSRC= ${WRKSRC}/build/gnu
PORTDOCS= *
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if !defined(WITH_DEBUG)
CPPFLAGS+= -DNDEBUG
@ -43,11 +39,10 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/include/tokamak.h ${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/include/math/*.h ${PREFIX}/include/math/
${INSTALL_DATA} ${WRKSRC}/lib/libtokamak_m.a ${PREFIX}/lib/
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/license.txt ${WRKSRC}/readme.txt ${DOCSDIR}
cd ${WRKSRC}/documentation && ${COPYTREE_SHARE} . ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: chexedit
# Date Created: 8 Jul 2000
# Whom: Roman Shterenzon <roman@xpert.com>
#
# Created by: Roman Shterenzon <roman@xpert.com>
# $FreeBSD$
#
PORTNAME= chexedit
PORTVERSION= 0.9.7

View File

@ -14,4 +14,4 @@ times when this is ideal:
* Any place you might use od(1) but need more power. Compare more
vs less.
WWW: http://www.rogoyski.com/adam/programs/hexedit/
WWW: http://www.rogoyski.com/adam/programs/hexedit/

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: hnb
# Date created: Fri Jul 6 05:37:14 EDT 2001
# Whom: Patrick Li <pat@databits.net>
#
# Created by: Patrick Li <pat@databits.net>
# $FreeBSD$
#
PORTNAME= hnb
PORTVERSION= 1.9.17
@ -21,7 +17,7 @@ MAKE_JOBS_UNSAFE= yes
MAN1= hnb.1
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${ARCH} != "i386"
BROKEN= segfaults on 64bit systems
@ -34,11 +30,11 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/hnb ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/../doc/hnb.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for FILE in Documentation.hnb Documentation.html hnbrc
${INSTALL_DATA} ${WRKSRC}/../doc/${FILE} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: biloba
# Date created: 02 Oct 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= biloba
PORTVERSION= 0.9.3

View File

@ -3,4 +3,4 @@ pawns on a hexagonal board and attempts to eliminate opponents'
pawns. Biloba includes an AI opponent, and supports local or network
play.
WWW: http://biloba.sourceforge.net/
WWW: http://biloba.sourceforge.net/

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: connectfive
# Date created: 20 Sep 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= connectfive
PORTVERSION= 1.0.2
@ -24,20 +20,28 @@ USE_SDL= sdl
USE_GL= gl
USE_XORG= xmu xext x11
USE_GMAKE= yes
USE_DOS2UNIX= glfont2.h
WRKSRC= ${WRKDIR}/connectFive
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile.linux
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/connect.cpp
@${REINPLACE_CMD} -e 's|Board::||' ${WRKSRC}/Board.h
do-install:
@${MKDIR} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/connectfive ${PREFIX}/bin/
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/data/* ${DATADIR}/
.if !defined(NOPORTDOCS)
.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGELOG.txt ${WRKSRC}/LICENSE.txt ${WRKSRC}/README.txt ${DOCSDIR}/
.endif

View File

@ -1,13 +1,13 @@
--- glfont2.h.orig Sat Dec 20 10:26:21 2003
+++ glfont2.h Wed Sep 21 09:34:38 2005
@@ -8,7 +8,9 @@
#ifndef GLFONT2_H
#define GLFONT2_H
-//#include <pair.h>
+#if defined(__GNUC__) && (__GNUC__ < 3)
+#include <pair.h>
+#endif
#include <string>
#include <GL/gl.h>
#include <GL/glu.h>
#ifndef GLFONT2_H
#define GLFONT2_H
-//#include <pair.h>
+#if defined(__GNUC__) && (__GNUC__ < 3)
+#include <pair.h>
+#endif
#include <string>
#include <GL/gl.h>
#include <GL/glu.h>

View File

@ -1,14 +0,0 @@
bin/connectfive
%%DATADIR%%/marble1.bmp
%%DATADIR%%/marble2.bmp
%%DATADIR%%/marble3.bmp
%%DATADIR%%/times14.glf
%%DATADIR%%/times48.glf
%%DATADIR%%/times72.glf
%%DATADIR%%/timesLarge.glf
%%DATADIR%%/wood2.bmp
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: critterding
# Date created: 15 Oct 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= critterding
DISTVERSION= beta12
@ -14,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/sources
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Evolving Artificial Life
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2
USE_BZIP2= yes
GNU_CONFIGURE= yes
@ -24,11 +20,13 @@ USE_GL= gl
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-system-ftgl
USE_GCC= 4.2+
USE_GCC= yes
MAKE_JOBS_SAFE= yes
PORTDOCS= README AUTHORS Changelog
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|../share/critterding|${DATADIR}|' \
${WRKSRC}/src/gui/textprinter.cpp ${WRKSRC}/src/gl/glwindow.cpp
@ -36,7 +34,7 @@ post-patch:
pre-configure:
cd ${WRKSRC} && ${AUTORECONF} -fi
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}

View File

@ -0,0 +1,11 @@
--- src/scenes/evolution.cpp.orig 2010-03-06 01:14:29.000000000 +0300
+++ src/scenes/evolution.cpp 2013-06-18 06:00:15.823111566 +0400
@@ -287,7 +287,7 @@
}
else if ( world->mouseRayHitEntity->type == 0 )
{
- CritterB* c = static_cast<const CritterB*>(world->mouseRayHitEntity);
+ const CritterB* c = static_cast<const CritterB*>(world->mouseRayHitEntity);
Textprinter::Instance()->print( oldx+margin, oldy, "critter");
Textprinter::Instance()->print(oldx+rmargindistance, oldy, "%1i", c->critterID);
Textprinter::Instance()->print( oldx+margin, oldy+vspacer, "energy");

View File

@ -0,0 +1,50 @@
--- src/utils/bullet/BulletSoftBody/btSoftBody.h.orig 2010-02-18 01:52:17.000000000 +0300
+++ src/utils/bullet/BulletSoftBody/btSoftBody.h 2013-06-18 05:58:55.243113542 +0400
@@ -182,6 +182,7 @@
btScalar m_kAST; // Area/Angular stiffness coefficient [0,1]
btScalar m_kVST; // Volume stiffness coefficient [0,1]
int m_flags; // Flags
+ Material() {}
};
/* Feature */
@@ -201,6 +202,7 @@
btScalar m_area; // Area
btDbvtNode* m_leaf; // Leaf data
int m_battach:1; // Attached
+ Node() {}
};
/* Link */
struct Link : Feature
@@ -212,6 +214,7 @@
btScalar m_c1; // rl^2
btScalar m_c2; // |gradient|^2/c0
btVector3 m_c3; // gradient
+ Link() {}
};
/* Face */
struct Face : Feature
@@ -220,6 +223,7 @@
btVector3 m_normal; // Normal
btScalar m_ra; // Rest area
btDbvtNode* m_leaf; // Leaf data
+ Face() {}
};
/* Tetra */
struct Tetra : Feature
@@ -230,6 +234,7 @@
btVector3 m_c0[4]; // gradients
btScalar m_c1; // (4*kVST)/(im0+im1+im2+im3)
btScalar m_c2; // m_c1/sum(|g0..3|^2)
+ Tetra() {}
};
/* RContact */
struct RContact
@@ -271,6 +276,7 @@
int m_rank; // Rank
Node* m_nodes[4]; // Nodes
btScalar m_coords[4]; // Coordinates
+ Note() {}
};
/* Pose */
struct Pose

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: crrcsim
# Date created: 17 Jun 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= crrcsim
PORTVERSION= 0.9.11
@ -15,8 +11,8 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Model-airplane flight simulation program
BUILD_DEPENDS= ${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
LIB_DEPENDS= portaudio.2:${PORTSDIR}/audio/portaudio2 \
jpeg.11:${PORTSDIR}/graphics/jpeg
LIB_DEPENDS= portaudio:${PORTSDIR}/audio/portaudio2 \
jpeg:${PORTSDIR}/graphics/jpeg
GNU_CONFIGURE= yes
USE_GMAKE= yes
@ -38,9 +34,11 @@ DESKTOP_ENTRIES="CRRCsim" \
"Game;Simulation;" \
false
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/portaudio/ s|==|=|' ${WRKSRC}/configure
.if defined(NOPORTDOCS)
.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-pkgdataDATA||; \
/^SUBDIRS =/ s|=.*|= man|' ${WRKSRC}/documentation/Makefile.in
.endif

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: dangen
# Date created: 25 Aug 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= dangen
PORTVERSION= 0.5
@ -26,22 +22,25 @@ DESKTOP_ENTRIES="dangen" \
"Game;ArcadeGame;" \
false
PORTDOCS= README
PORTDOCS= *
PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/image/font.png
PLIST_DIRS= %%DATADIR%%/image %%DATADIR%%
MAN6= dangen.6
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile.in \
${WRKSRC}/libtenm/Makefile.in ${WRKSRC}/spqr/Makefile.in
@${REINPLACE_CMD} -e 's|$$(datadir)/games/|$$(datadir)/|' ${WRKSRC}/spqr/image/Makefile.in
@${REINPLACE_CMD} -e 's|/games||' ${WRKSRC}/util.c
.if !defined(NOPORTDOCS)
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif
.include <bsd.port.mk>

View File

@ -1,4 +0,0 @@
bin/dangen
%%DATADIR%%/image/font.png
@dirrm %%DATADIR%%/image
@dirrm %%DATADIR%%

View File

@ -1,7 +1,4 @@
# New ports collection makefile for: egoboo
# Date created: Apr 28 2003
# Whom: Jan Stocker <Jan.Stocker@t-online.de>
#
# Created by: Jan Stocker <Jan.Stocker@t-online.de>
# $FreeBSD$
PORTNAME= egoboo
@ -19,19 +16,26 @@ COMMENT= A 3D dungeon crawling adventure in the spirit of NetHack
USE_SDL= sdl ttf mixer image
USE_GL= yes
USE_GMAKE= yes
USE_DOS2UNIX= *.c
WRKSRC= ${WRKDIR}/${DISTNAME}/game
MAKEFILE= Makefile.unix
PLIST_FILES= bin/${PORTNAME} libexec/${PORTNAME}
PORTDATA= *
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/egoboo|${DATADIR}|g; \
s|cp -a|cp -RPp|; s|/usr/libexec|${PREFIX}/libexec|' \
${WRKSRC}/egoboo.sh
post-install:
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
@cd ${WRKDIR}/${DISTNAME:S/-/-data-/} && \
${COPYTREE_SHARE} . ${DATADIR}
.endif
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}

View File

@ -1,10 +1,10 @@
--- lin-file.c.orig 2007-11-16 22:36:58.000000000 +0300
+++ lin-file.c 2008-02-07 04:09:32.000000000 +0300
@@ -9,6 +9,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/dir.h>
+#include <sys/syslimits.h>
//File Routines-----------------------------------------------------------
void fs_init()
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/dir.h>
+#include <sys/syslimits.h>
//File Routines-----------------------------------------------------------
void fs_init()

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: f1spirit-remake
# Date created: 15 May 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= f1spirit-remake
PORTVERSION= 1.0
@ -17,17 +13,23 @@ DISTNAME= f1spirit-linux
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Remake of classic F1 Spirit racing game
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
USE_ZIP= yes
USE_GMAKE= yes
USE_SDL= sdl net image mixer sound
USE_GL= gl glu
USE_DOS2UNIX= *.h *.cpp
WRKSRC= "${WRKDIR}/F-1 Spirit"
BUILD_WRKSRC= ${WRKSRC}/sources
PLIST_FILES= bin/f1s
PORTDOCS= readme.txt
PORTDATA= *
.include <bsd.port.options.mk>
post-patch:
@${FIND} ${BUILD_WRKSRC} -name '*.cpp' -print0 | ${XARGS} -0 ${REINPLACE_CMD} \
@ -38,10 +40,11 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/f1s ${PREFIX}/bin
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} 'demos designs f1spirit2.cfg graphics sound tracks' ${DATADIR}
.if !defined(NOPORTDOCS)
.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}

View File

@ -1,11 +1,11 @@
--- sources/CCar.h.orig 2006-02-11 13:48:14.000000000 +0300
+++ sources/CCar.h 2008-05-15 00:17:13.000000000 +0400
@@ -119,6 +119,8 @@
};
+class F1SpiritGame;
+class CTrack;
class CCar {
friend class EnemyCCar;
};
+class F1SpiritGame;
+class CTrack;
class CCar {
friend class EnemyCCar;

View File

@ -1,42 +1,42 @@
--- sources/CPlayer.cpp.orig 2008-05-17 02:59:23.000000000 +0400
+++ sources/CPlayer.cpp 2008-05-17 03:01:31.000000000 +0400
@@ -204,7 +204,8 @@
struct tm *today;
gettimeofday(&ttime, NULL);
- today=localtime(&(ttime.tv_sec));
+ time_t tmp = (time_t)ttime.tv_sec;
+ today=localtime(&tmp);
position_date[i].year=today->tm_year;
position_date[i].month=today->tm_mon;
struct tm *today;
gettimeofday(&ttime, NULL);
- today=localtime(&(ttime.tv_sec));
+ time_t tmp = (time_t)ttime.tv_sec;
+ today=localtime(&tmp);
position_date[i].year=today->tm_year;
position_date[i].month=today->tm_mon;
@@ -231,7 +232,8 @@
struct tm *today;
gettimeofday(&ttime, NULL);
- today=localtime(&(ttime.tv_sec));
+ time_t tmp = (time_t)ttime.tv_sec;
+ today=localtime(&tmp);
time_date[i].year=today->tm_year;
time_date[i].month=today->tm_mon;
struct tm *today;
gettimeofday(&ttime, NULL);
- today=localtime(&(ttime.tv_sec));
+ time_t tmp = (time_t)ttime.tv_sec;
+ today=localtime(&tmp);
time_date[i].year=today->tm_year;
time_date[i].month=today->tm_mon;
@@ -258,7 +260,8 @@
struct tm *today;
gettimeofday(&ttime, NULL);
- today=localtime(&(ttime.tv_sec));
+ time_t tmp = (time_t)ttime.tv_sec;
+ today=localtime(&tmp);
lap_date[i].year=today->tm_year;
lap_date[i].month=today->tm_mon;
struct tm *today;
gettimeofday(&ttime, NULL);
- today=localtime(&(ttime.tv_sec));
+ time_t tmp = (time_t)ttime.tv_sec;
+ today=localtime(&tmp);
lap_date[i].year=today->tm_year;
lap_date[i].month=today->tm_mon;
@@ -285,7 +288,8 @@
struct tm *today;
gettimeofday(&ttime, NULL);
- today=localtime(&(ttime.tv_sec));
+ time_t tmp = (time_t)ttime.tv_sec;
+ today=localtime(&tmp);
position_date[i].year=today->tm_year;
position_date[i].month=today->tm_mon;
struct tm *today;
gettimeofday(&ttime, NULL);
- today=localtime(&(ttime.tv_sec));
+ time_t tmp = (time_t)ttime.tv_sec;
+ today=localtime(&tmp);
position_date[i].year=today->tm_year;
position_date[i].month=today->tm_mon;

View File

@ -1,303 +0,0 @@
bin/f1s
%%DATADIR%%/demos/demo1.rpl
%%DATADIR%%/demos/demo2.rpl
%%DATADIR%%/demos/demo3.rpl
%%DATADIR%%/demos/demo4.rpl
%%DATADIR%%/demos/demo5.rpl
%%DATADIR%%/demos/demo6.rpl
%%DATADIR%%/designs/f1/popolon.car
%%DATADIR%%/designs/f1/popolon2.car
%%DATADIR%%/designs/rally/fastest.car
%%DATADIR%%/designs/stock/fastest.car
%%DATADIR%%/f1spirit2.cfg
%%DATADIR%%/graphics/brake-1.png
%%DATADIR%%/graphics/brake-2.png
%%DATADIR%%/graphics/brake-3.png
%%DATADIR%%/graphics/car-endurance-1-side.png
%%DATADIR%%/graphics/car-endurance-1-top.png
%%DATADIR%%/graphics/car-endurance-2-side.png
%%DATADIR%%/graphics/car-endurance-2-top.png
%%DATADIR%%/graphics/car-endurance-3-side.png
%%DATADIR%%/graphics/car-endurance-3-top.png
%%DATADIR%%/graphics/car-f1-1-side.png
%%DATADIR%%/graphics/car-f1-1-top.png
%%DATADIR%%/graphics/car-f1-2-side.png
%%DATADIR%%/graphics/car-f1-2-top.png
%%DATADIR%%/graphics/car-f1-3-side.png
%%DATADIR%%/graphics/car-f1-3-top.png
%%DATADIR%%/graphics/car-f3-1-side.png
%%DATADIR%%/graphics/car-f3-1-top.png
%%DATADIR%%/graphics/car-f3-2-side.png
%%DATADIR%%/graphics/car-f3-2-top.png
%%DATADIR%%/graphics/car-f3-3-side.png
%%DATADIR%%/graphics/car-f3-3-top.png
%%DATADIR%%/graphics/car-f3000-1-side.png
%%DATADIR%%/graphics/car-f3000-1-top.png
%%DATADIR%%/graphics/car-f3000-2-side.png
%%DATADIR%%/graphics/car-f3000-2-top.png
%%DATADIR%%/graphics/car-f3000-3-side.png
%%DATADIR%%/graphics/car-f3000-3-top.png
%%DATADIR%%/graphics/car-rally-1-side.png
%%DATADIR%%/graphics/car-rally-1-top.png
%%DATADIR%%/graphics/car-rally-2-side.png
%%DATADIR%%/graphics/car-rally-2-top.png
%%DATADIR%%/graphics/car-rally-3-side.png
%%DATADIR%%/graphics/car-rally-3-top.png
%%DATADIR%%/graphics/car-stock-1-side.png
%%DATADIR%%/graphics/car-stock-1-top.png
%%DATADIR%%/graphics/car-stock-2-side.png
%%DATADIR%%/graphics/car-stock-2-top.png
%%DATADIR%%/graphics/car-stock-3-side.png
%%DATADIR%%/graphics/car-stock-3-top.png
%%DATADIR%%/graphics/cars-endurance.png
%%DATADIR%%/graphics/cars-f1.png
%%DATADIR%%/graphics/cars-f3.png
%%DATADIR%%/graphics/cars-f3000.png
%%DATADIR%%/graphics/cars-rally.png
%%DATADIR%%/graphics/cars-stock.png
%%DATADIR%%/graphics/cloud1.png
%%DATADIR%%/graphics/cloud1w.png
%%DATADIR%%/graphics/cloud2.png
%%DATADIR%%/graphics/cloud2w.png
%%DATADIR%%/graphics/cloud3.png
%%DATADIR%%/graphics/cloud3w.png
%%DATADIR%%/graphics/damage.png
%%DATADIR%%/graphics/disclaimer.jpg
%%DATADIR%%/graphics/end.png
%%DATADIR%%/graphics/endurance/Thumbs.db
%%DATADIR%%/graphics/endurance/extras.png
%%DATADIR%%/graphics/endurance/lroad-chicane.png
%%DATADIR%%/graphics/endurance/rroad-chicane.png
%%DATADIR%%/graphics/engine-1.png
%%DATADIR%%/graphics/engine-2.png
%%DATADIR%%/graphics/engine-3.png
%%DATADIR%%/graphics/engine-4.png
%%DATADIR%%/graphics/engine-5.png
%%DATADIR%%/graphics/engine-6.png
%%DATADIR%%/graphics/extras.png
%%DATADIR%%/graphics/f1-brazil/Thumbs.db
%%DATADIR%%/graphics/f1-brazil/grass.png
%%DATADIR%%/graphics/f1-france/Thumbs.db
%%DATADIR%%/graphics/f1-france/isle.png
%%DATADIR%%/graphics/f1-france/lroad-chicane.png
%%DATADIR%%/graphics/f1-france/road3.png
%%DATADIR%%/graphics/f1-france/rroad-chicane.png
%%DATADIR%%/graphics/f1-portugal/Thumbs.db
%%DATADIR%%/graphics/f1-portugal/extras.png
%%DATADIR%%/graphics/f1-sanmarino/Thumbs.db
%%DATADIR%%/graphics/f1-sanmarino/grass.png
%%DATADIR%%/graphics/f1-westgermany/Thumbs.db
%%DATADIR%%/graphics/f1-westgermany/isle.png
%%DATADIR%%/graphics/f1-westgermany/lroad-chicane.png
%%DATADIR%%/graphics/f1-westgermany/rroad-chicane.png
%%DATADIR%%/graphics/f3/Thumbs.db
%%DATADIR%%/graphics/f3/extras.png
%%DATADIR%%/graphics/f3/isle.png
%%DATADIR%%/graphics/f3/lfences.png
%%DATADIR%%/graphics/f3/rfences.png
%%DATADIR%%/graphics/flag0.png
%%DATADIR%%/graphics/flag1.png
%%DATADIR%%/graphics/font-unicode-alpha.png
%%DATADIR%%/graphics/gamestart1.png
%%DATADIR%%/graphics/gamestart2.png
%%DATADIR%%/graphics/gear-1.png
%%DATADIR%%/graphics/gear-2.png
%%DATADIR%%/graphics/gear-3.png
%%DATADIR%%/graphics/hud/Thumbs.db
%%DATADIR%%/graphics/hud/fuel.png
%%DATADIR%%/graphics/hud/hud_damage.png
%%DATADIR%%/graphics/hud/hud_fixed_1.png
%%DATADIR%%/graphics/hud/hud_fixed_2.png
%%DATADIR%%/graphics/hud/hud_fixed_3.png
%%DATADIR%%/graphics/hud/hud_fixed_3_sidefuel.png
%%DATADIR%%/graphics/hud/hud_fixed_4.png
%%DATADIR%%/graphics/hud/hud_gears.png
%%DATADIR%%/graphics/hud/hud_rpm_1.png
%%DATADIR%%/graphics/hud/hud_rpm_10.png
%%DATADIR%%/graphics/hud/hud_rpm_11.png
%%DATADIR%%/graphics/hud/hud_rpm_2.png
%%DATADIR%%/graphics/hud/hud_rpm_3.png
%%DATADIR%%/graphics/hud/hud_rpm_4.png
%%DATADIR%%/graphics/hud/hud_rpm_5.png
%%DATADIR%%/graphics/hud/hud_rpm_6.png
%%DATADIR%%/graphics/hud/hud_rpm_7.png
%%DATADIR%%/graphics/hud/hud_rpm_8.png
%%DATADIR%%/graphics/hud/hud_rpm_9.png
%%DATADIR%%/graphics/hud/hud_speed_font.png
%%DATADIR%%/graphics/hud/hud_time_font.png
%%DATADIR%%/graphics/hud/minihud_fuel.png
%%DATADIR%%/graphics/konami1.jpg
%%DATADIR%%/graphics/konami2.png
%%DATADIR%%/graphics/laps.png
%%DATADIR%%/graphics/locked.png
%%DATADIR%%/graphics/menu_background.jpg
%%DATADIR%%/graphics/minimap-car.png
%%DATADIR%%/graphics/minimap-enemycar.png
%%DATADIR%%/graphics/rally/Thumbs.db
%%DATADIR%%/graphics/rally/crowd.png
%%DATADIR%%/graphics/rally/extras.png
%%DATADIR%%/graphics/rally/lroad-chicane.png
%%DATADIR%%/graphics/rally/road1.png
%%DATADIR%%/graphics/rally/road3.png
%%DATADIR%%/graphics/rally/rock.png
%%DATADIR%%/graphics/rally/rroad-chicane.png
%%DATADIR%%/graphics/rally/tiles.png
%%DATADIR%%/graphics/rally/walls.png
%%DATADIR%%/graphics/rpm.png
%%DATADIR%%/graphics/scoreboard.png
%%DATADIR%%/graphics/semaphore.png
%%DATADIR%%/graphics/signs.png
%%DATADIR%%/graphics/smallfont-unicode-alpha.png
%%DATADIR%%/graphics/splash640x480.jpg
%%DATADIR%%/graphics/stock/Thumbs.db
%%DATADIR%%/graphics/stock/arrows.png
%%DATADIR%%/graphics/stock/crowd.png
%%DATADIR%%/graphics/stock/fences.png
%%DATADIR%%/graphics/stock/lroad-chicane.png
%%DATADIR%%/graphics/stock/lroad.png
%%DATADIR%%/graphics/stock/pit.png
%%DATADIR%%/graphics/stock/road-lines.png
%%DATADIR%%/graphics/stock/road1.png
%%DATADIR%%/graphics/stock/road2.png
%%DATADIR%%/graphics/stock/road3.png
%%DATADIR%%/graphics/stock/rroad-chicane.png
%%DATADIR%%/graphics/stock/rroad.png
%%DATADIR%%/graphics/stock/tiles.png
%%DATADIR%%/graphics/suspension-1.png
%%DATADIR%%/graphics/suspension-2.png
%%DATADIR%%/graphics/suspension-3.png
%%DATADIR%%/graphics/title1-a-alpha.png
%%DATADIR%%/graphics/title1-b-alpha.png
%%DATADIR%%/graphics/title1-c-alpha.png
%%DATADIR%%/graphics/title1-d-alpha.png
%%DATADIR%%/graphics/title2-alpha.png
%%DATADIR%%/graphics/track-previews/Thumbs.db
%%DATADIR%%/graphics/track-previews/endurance.png
%%DATADIR%%/graphics/track-previews/f1-1.png
%%DATADIR%%/graphics/track-previews/f1-10.png
%%DATADIR%%/graphics/track-previews/f1-11.png
%%DATADIR%%/graphics/track-previews/f1-12.png
%%DATADIR%%/graphics/track-previews/f1-13.png
%%DATADIR%%/graphics/track-previews/f1-14.png
%%DATADIR%%/graphics/track-previews/f1-15.png
%%DATADIR%%/graphics/track-previews/f1-16.png
%%DATADIR%%/graphics/track-previews/f1-2.png
%%DATADIR%%/graphics/track-previews/f1-3.png
%%DATADIR%%/graphics/track-previews/f1-4.png
%%DATADIR%%/graphics/track-previews/f1-5.png
%%DATADIR%%/graphics/track-previews/f1-6.png
%%DATADIR%%/graphics/track-previews/f1-7.png
%%DATADIR%%/graphics/track-previews/f1-8.png
%%DATADIR%%/graphics/track-previews/f1-9.png
%%DATADIR%%/graphics/track-previews/f3.png
%%DATADIR%%/graphics/track-previews/f3000.png
%%DATADIR%%/graphics/track-previews/micro.png
%%DATADIR%%/graphics/track-previews/oval.png
%%DATADIR%%/graphics/track-previews/rally.png
%%DATADIR%%/graphics/track-previews/stock.png
%%DATADIR%%/sound/endurance/WS_FTP.LOG
%%DATADIR%%/sound/endurance/car_brake.ogg
%%DATADIR%%/sound/endurance/car_pass.ogg
%%DATADIR%%/sound/endurance/car_running.ogg
%%DATADIR%%/sound/endurance/music.ogg
%%DATADIR%%/sound/endurance/tire_squeal.ogg
%%DATADIR%%/sound/f1/WS_FTP.LOG
%%DATADIR%%/sound/f1/car_brake.ogg
%%DATADIR%%/sound/f1/car_pass.ogg
%%DATADIR%%/sound/f1/car_running.ogg
%%DATADIR%%/sound/f1/music.ogg
%%DATADIR%%/sound/f1/tire_squeal.ogg
%%DATADIR%%/sound/f3/WS_FTP.LOG
%%DATADIR%%/sound/f3/car_brake.ogg
%%DATADIR%%/sound/f3/car_pass.ogg
%%DATADIR%%/sound/f3/car_running.ogg
%%DATADIR%%/sound/f3/tire_squeal.ogg
%%DATADIR%%/sound/f3000/WS_FTP.LOG
%%DATADIR%%/sound/f3000/car_brake.ogg
%%DATADIR%%/sound/f3000/car_pass.ogg
%%DATADIR%%/sound/f3000/car_running.ogg
%%DATADIR%%/sound/f3000/music.ogg
%%DATADIR%%/sound/f3000/tire_squeal.ogg
%%DATADIR%%/sound/game_ending.ogg
%%DATADIR%%/sound/game_menu.ogg
%%DATADIR%%/sound/game_next.ogg
%%DATADIR%%/sound/game_start.ogg
%%DATADIR%%/sound/game_title.ogg
%%DATADIR%%/sound/menu_cursor.ogg
%%DATADIR%%/sound/menu_select.ogg
%%DATADIR%%/sound/pause.ogg
%%DATADIR%%/sound/rally/WS_FTP.LOG
%%DATADIR%%/sound/rally/car_hit1.ogg
%%DATADIR%%/sound/rally/car_pass.ogg
%%DATADIR%%/sound/rally/car_running.ogg
%%DATADIR%%/sound/rally/music.ogg
%%DATADIR%%/sound/stock/WS_FTP.LOG
%%DATADIR%%/sound/stock/car_brake.ogg
%%DATADIR%%/sound/stock/car_finish.ogg
%%DATADIR%%/sound/stock/car_fuel.ogg
%%DATADIR%%/sound/stock/car_hit1.ogg
%%DATADIR%%/sound/stock/car_hit2.ogg
%%DATADIR%%/sound/stock/car_hit3.ogg
%%DATADIR%%/sound/stock/car_hit4.ogg
%%DATADIR%%/sound/stock/car_pass.ogg
%%DATADIR%%/sound/stock/car_running.ogg
%%DATADIR%%/sound/stock/curbs.ogg
%%DATADIR%%/sound/stock/music.ogg
%%DATADIR%%/sound/stock/semaphore_high.ogg
%%DATADIR%%/sound/stock/semaphore_low.ogg
%%DATADIR%%/sound/stock/tire_squeal.ogg
%%DATADIR%%/sound/stock/water_splash.ogg
%%DATADIR%%/sound/wrong.ogg
%%DATADIR%%/tracks/endurance.f1t
%%DATADIR%%/tracks/extras/micro.f1t
%%DATADIR%%/tracks/extras/oval.f1t
%%DATADIR%%/tracks/f1-australia.f1t
%%DATADIR%%/tracks/f1-austria.f1t
%%DATADIR%%/tracks/f1-belgium.f1t
%%DATADIR%%/tracks/f1-brazil.f1t
%%DATADIR%%/tracks/f1-france.f1t
%%DATADIR%%/tracks/f1-greatbritain.f1t
%%DATADIR%%/tracks/f1-hungary.f1t
%%DATADIR%%/tracks/f1-italy.f1t
%%DATADIR%%/tracks/f1-japan.f1t
%%DATADIR%%/tracks/f1-mexico.f1t
%%DATADIR%%/tracks/f1-monaco.f1t
%%DATADIR%%/tracks/f1-portugal.f1t
%%DATADIR%%/tracks/f1-sanmarino.f1t
%%DATADIR%%/tracks/f1-spain.f1t
%%DATADIR%%/tracks/f1-usa.f1t
%%DATADIR%%/tracks/f1-westgermany.f1t
%%DATADIR%%/tracks/f3.f1t
%%DATADIR%%/tracks/f3000.f1t
%%DATADIR%%/tracks/rally.f1t
%%DATADIR%%/tracks/stock.f1t
@dirrm %%DATADIR%%/tracks/extras
@dirrm %%DATADIR%%/tracks
@dirrm %%DATADIR%%/sound/stock
@dirrm %%DATADIR%%/sound/rally
@dirrm %%DATADIR%%/sound/f3000
@dirrm %%DATADIR%%/sound/f3
@dirrm %%DATADIR%%/sound/f1
@dirrm %%DATADIR%%/sound/endurance
@dirrm %%DATADIR%%/sound
@dirrm %%DATADIR%%/graphics/track-previews
@dirrm %%DATADIR%%/graphics/stock
@dirrm %%DATADIR%%/graphics/rally
@dirrm %%DATADIR%%/graphics/hud
@dirrm %%DATADIR%%/graphics/f3
@dirrm %%DATADIR%%/graphics/f1-westgermany
@dirrm %%DATADIR%%/graphics/f1-sanmarino
@dirrm %%DATADIR%%/graphics/f1-portugal
@dirrm %%DATADIR%%/graphics/f1-france
@dirrm %%DATADIR%%/graphics/f1-brazil
@dirrm %%DATADIR%%/graphics/endurance
@dirrm %%DATADIR%%/graphics
@dirrm %%DATADIR%%/designs/stock
@dirrm %%DATADIR%%/designs/rally
@dirrm %%DATADIR%%/designs/f3000
@dirrm %%DATADIR%%/designs/f3
@dirrm %%DATADIR%%/designs/f1
@dirrm %%DATADIR%%/designs/endurance
@dirrm %%DATADIR%%/designs
@dirrm %%DATADIR%%/demos
@dirrm %%DATADIR%%

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: fishsupper
# Date created: 25 Mar 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= fishsupper
PORTVERSION= 0.1.6
@ -34,8 +30,10 @@ DESKTOP_ENTRIES="Fish Supper" \
"Game;ArcadeGame;" \
false
.if !defined(NOPORTDOCS)
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: flyhard
# Date created: 15 Jan 2007
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= flyhard
PORTVERSION= 0.42
@ -27,8 +23,10 @@ LDFLAGS+= ${PTHREAD_LIBS} -L${LOCALBASE}/lib
PORTDOCS= README
.if !defined(NOPORTDOCS)
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: freera
# Date created: 01 Feb 2007
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= freera
PORTVERSION= 080203

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: funnyboat
# Date created: 18 Mar 2007
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= funnyboat
PORTVERSION= 1.5
@ -28,6 +24,8 @@ SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}"
PORTDOCS= README.txt
.include <bsd.port.options.mk>
do-install:
${MKDIR} ${PREFIX}/lib/${PORTNAME}
${MKDIR} ${PREFIX}/lib/${PORTNAME}/data
@ -35,8 +33,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/lib/${PORTNAME}/data
${INSTALL_SCRIPT} ${WRKDIR}/funnyboat_ ${PREFIX}/bin/funnyboat
.if !defined(NOPORTDOCS)
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: glsfcave
# Date created: 19 Mar 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= glsfcave
PORTVERSION= 1.0
@ -11,7 +7,6 @@ PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://user.ecc.u-tokyo.ac.jp/~g650192/glsfcave/ \
http://mirror.amdmi3.ru/distfiles/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Control a ribbon to avoid hitting walls
@ -21,21 +16,20 @@ USE_GL= glut
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README
PORTDOCS= *
PLIST_FILES= bin/glsfcave
.include <bsd.port.options.mk>
do-build:
cd ${WRKSRC} && ${CC} -o glsfcave main.c -I${LOCALBASE}/include \
-L${LOCALBASE}/lib -lglut -lGL -lGLU
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/glsfcave ${PREFIX}/bin
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,23 +1,21 @@
# New ports collection makefile for: GNUDoku
# Date created: 12 Jan 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= GNUDoku
PORTVERSION= 0.93
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= http://offload2.icculus.org:9090/~jcspray/GNUDoku/
MASTER_SITES= http://offload2.icculus.org:9090/~jcspray/GNUDoku/ \
http://mirror.amdmi3.ru/distfiles/
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A free program for creating and solving Su Doku puzzles
LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24
LIB_DEPENDS= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24
USE_GMAKE= yes
MAKE_ENV= CXXLAGS="${CXXFLAGS}"
USE_PKGCONFIG= build
post-patch:
@${REINPLACE_CMD} -e 's|PREFIX=|PREFIX?=|' ${WRKSRC}/Makefile

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: gnurobbo
# Date created: 05 Mar 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= gnurobbo
PORTVERSION= 0.66
@ -24,9 +20,11 @@ MAKE_ENV= PACKAGE_DATA_DIR="${DATADIR}" \
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/define DEBUG_DUMP_VM_USAGE/ d' ${WRKSRC}/game.c
.if defined(NOPORTDOCS)
.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/DOCDIR/ d' ${WRKSRC}/Makefile
.endif

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: gunfudeadlands
# Date created: 21 Dec 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= gunfudeadlands
PORTVERSION= 1.01
@ -28,12 +24,14 @@ PLIST_DIRS= %%DATADIR%%
PORTDOCS= *
.include <bsd.port.options.mk>
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
${DATADIR}/GunFuDeadlands.zip
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/readme.txt ${DOCSDIR}/
.endif

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: interlogic
# Date created: 01 Oct 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= interlogic
PORTVERSION= 0.30
@ -24,6 +20,9 @@ WRKSRC= ${WRKDIR}/interlogic
PLIST_FILES= bin/interlogic
post-patch:
@${ECHO_CMD} "#!/bin/sh" > ${WRKSRC}/missing # suppress autotools madness
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/interlogic ${PREFIX}/bin/

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: jag
# Date created: 03 Jul 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= jag
PORTVERSION= 0.3.2

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: glpuzzle
# Date created: 09 Jan 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= jigzo
PORTVERSION= 0.6.1
@ -17,11 +13,12 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= An OpenGL jigsaw puzzle game
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
jpeg.11:${PORTSDIR}/graphics/jpeg
jpeg:${PORTSDIR}/graphics/jpeg
USE_SDL= sdl mixer
USE_GL= gl
USE_GMAKE= yes
MAKE_ARGS= CXX=${CXX}
MAKE_JOBS_SAFE= yes
PORTDOCS= *
@ -33,6 +30,8 @@ DESKTOP_ENTRIES="Jigzo" \
"Game;LogicGame;KidsGame;" \
false
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s|int_p_NULL|NULL|g" \
${WRKSRC}/src/Loader.cxx
@ -46,9 +45,9 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "font image puzzles sound" \
${DATADIR}/
${DATADIR}/
.ifndef (NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: kartofel
# Date created: 19 Jan 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= kartofel
PORTVERSION= 1.2
@ -15,7 +11,7 @@ MASTER_SITES= http://kartofel.jfedor.org/downloads/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Connect the dots in order without crossing over yourself
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
USE_GMAKE= yes
USE_SDL= sdl gfx mixer image ttf
@ -25,6 +21,9 @@ MAKE_JOBS_SAFE= yes
DATA_DIRS= sounds fonts music images levels
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
DESKTOP_ENTRIES="Kartofel" \
"A game of skill and logic" \
"${DATADIR}/images/icon32x32.png" \
@ -41,7 +40,9 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/kartofel ${PREFIX}/bin
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_DIRS}" ${DATADIR}
.endif
.include <bsd.port.mk>

View File

@ -1,41 +0,0 @@
bin/kartofel
%%DATADIR%%/fonts/Cyklop-Regular.ttf
%%DATADIR%%/fonts/FreeSans.ttf
%%DATADIR%%/images/Cliffs-1024x768.png
%%DATADIR%%/images/icon256x256.png
%%DATADIR%%/images/icon32x32.png
%%DATADIR%%/levels/1.txt
%%DATADIR%%/levels/10.txt
%%DATADIR%%/levels/11.txt
%%DATADIR%%/levels/12.txt
%%DATADIR%%/levels/13.txt
%%DATADIR%%/levels/14.txt
%%DATADIR%%/levels/15.txt
%%DATADIR%%/levels/16.txt
%%DATADIR%%/levels/17.txt
%%DATADIR%%/levels/18.txt
%%DATADIR%%/levels/19.txt
%%DATADIR%%/levels/2.txt
%%DATADIR%%/levels/20.txt
%%DATADIR%%/levels/21.txt
%%DATADIR%%/levels/3.txt
%%DATADIR%%/levels/4.txt
%%DATADIR%%/levels/5.txt
%%DATADIR%%/levels/6.txt
%%DATADIR%%/levels/7.txt
%%DATADIR%%/levels/8.txt
%%DATADIR%%/levels/9.txt
%%DATADIR%%/music/moonlight.ogg
%%DATADIR%%/sounds/click01.wav
%%DATADIR%%/sounds/click02.wav
%%DATADIR%%/sounds/click03.wav
%%DATADIR%%/sounds/sound_crash.wav
%%DATADIR%%/sounds/sound_dot_lit.wav
%%DATADIR%%/sounds/sound_level_success.wav
%%DATADIR%%/sounds/sound_out_of_time.wav
@dirrm %%DATADIR%%/sounds
@dirrm %%DATADIR%%/music
@dirrm %%DATADIR%%/levels
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%/fonts
@dirrm %%DATADIR%%

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: kiki
# Date created: 24 Oct 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= kiki
PORTVERSION= 1.0.2

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: maxr
# Date created: 23 Dec 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= maxr
PORTVERSION= 0.2.8

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: meandmyshadow
# Date created: 15 Jan 2012
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= meandmyshadow
PORTVERSION= 0.4
@ -15,7 +11,7 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Me and My Shadow puzzle/platform game
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
USES= cmake
USE_SDL= sdl ttf image mixer image gfx
@ -32,15 +28,17 @@ DESKTOP_ENTRIES="Me and My Shadow" \
"Game;LogicGame;" \
false
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/cmake/Modules/FindSDL_gfx.cmake
post-install:
${MKDIR} -p ${PREFIX}/share/pixmaps/
${MKDIR} ${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/icons/64x64/meandmyshadow.png \
${PREFIX}/share/pixmaps/
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in AUTHORS ChangeLog docs/*
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/

View File

@ -2,4 +2,4 @@ Me and My Shadow is a puzzle/platform game written by Luka Horvat.
The author has given us permission to gpl the game, and develop it
further. It has an interesting concept and rather unique gameplay.
WWW: http://meandmyshadow.sourceforge.net/
WWW: http://meandmyshadow.sourceforge.net/

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: memonix
# Date created: 12 Jul 2007
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= memonix
PORTVERSION= 1.6.070713

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: meritous
# Date created: 24 Nov 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= meritous
PORTVERSION= 1.2
@ -22,10 +18,13 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_SDL= sdl mixer image
ALL_TARGET= default
USE_DOS2UNIX= dat/d/helpfile.txt
USE_DOS2UNIX= dat/d/helpfile.txt src/*.c
MAKE_JOBS_SAFE= yes
PORTDOCS= *
PORTDATA= *
PLIST_FILES= bin/${PORTNAME}
DESKTOP_ENTRIES="Meritous" \
"Action-adventure dungeon crawl game" \
@ -34,15 +33,18 @@ DESKTOP_ENTRIES="Meritous" \
"Game;ActionGame;AdventureGame;" \
false
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|dat/|${DATADIR}/|' ${WRKSRC}/src/*.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/meritous ${PREFIX}/bin
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
cd ${WRKSRC}/dat && ${COPYTREE_SHARE} \* ${DATADIR}
.if !defined(NOPORTDOCS)
.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif

View File

@ -1,11 +1,11 @@
--- src/boss.c.orig 2008-01-15 05:54:37.000000000 +0300
+++ src/boss.c 2008-12-01 02:19:45.000000000 +0300
@@ -691,7 +691,7 @@
} else {
if (dist(tail_x[0], tail_y[0], boss_x, boss_y) >= 24) {
if (boss_tail_len < 10) boss_tail_len++;
- for (i = 9; i >= 0; i--) {
+ for (i = 8; i >= 0; i--) {
tail_x[i+1] = tail_x[i];
tail_y[i+1] = tail_y[i];
}
} else {
if (dist(tail_x[0], tail_y[0], boss_x, boss_y) >= 24) {
if (boss_tail_len < 10) boss_tail_len++;
- for (i = 9; i >= 0; i--) {
+ for (i = 8; i >= 0; i--) {
tail_x[i+1] = tail_x[i];
tail_y[i+1] = tail_y[i];
}

View File

@ -1,23 +1,23 @@
--- src/levelblit.c.orig 2008-01-15 03:54:41.000000000 +0100
+++ src/levelblit.c 2010-01-30 10:07:22.000000000 +0100
@@ -27,7 +27,12 @@
#include <SDL.h>
#include <SDL_image.h>
#include <assert.h>
-
#include <SDL.h>
#include <SDL_image.h>
#include <assert.h>
-
+
+#include <errno.h>
+#include <unistd.h>
+#include <err.h>
+#include <sys/stat.h>
+
#include "mapgen.h"
#include "demon.h"
#include "gamemap.h"
#include "mapgen.h"
#include "demon.h"
#include "gamemap.h"
@@ -378,6 +383,14 @@
int main(int argc, char **argv)
{
int main(int argc, char **argv)
{
+ {
+ if (chdir(getenv("HOME")) != 0)
+ err(1, "cannot cd to $HOME");
@ -26,6 +26,6 @@
+ if (chdir(".meritous") != 0)
+ err(1, "cannot cd to $HOME/.meritous");
+ }
int on_title = 1;
int executable_running = 1;
SDL_Surface *title, *title_pr, *asceai;
int on_title = 1;
int executable_running = 1;
SDL_Surface *title, *title_pr, *asceai;

View File

@ -1,89 +0,0 @@
bin/meritous
%%DATADIR%%/a/circuitcharge.wav
%%DATADIR%%/a/circuitrecover.wav
%%DATADIR%%/a/circuitrelease.wav
%%DATADIR%%/a/crystal.wav
%%DATADIR%%/a/crystal2.wav
%%DATADIR%%/a/enemyhit.wav
%%DATADIR%%/a/mons0shot.wav
%%DATADIR%%/a/mons10shot.wav
%%DATADIR%%/a/mons1shot.wav
%%DATADIR%%/a/mons2shot.wav
%%DATADIR%%/a/mons3shot.wav
%%DATADIR%%/a/mons4shot.wav
%%DATADIR%%/a/mons5shot.wav
%%DATADIR%%/a/mons6shot.wav
%%DATADIR%%/a/mons7shot.wav
%%DATADIR%%/a/mons8shot.wav
%%DATADIR%%/a/mons9shot.wav
%%DATADIR%%/a/playerhurt.wav
%%DATADIR%%/a/shieldhit.wav
%%DATADIR%%/a/teleport.wav
%%DATADIR%%/a/tone.wav
%%DATADIR%%/d/bossroom.loc
%%DATADIR%%/d/centre.loc
%%DATADIR%%/d/cstream.loc
%%DATADIR%%/d/fbossroom.loc
%%DATADIR%%/d/font.dat
%%DATADIR%%/d/helpfile.txt
%%DATADIR%%/d/icon_bitmask.dat
%%DATADIR%%/d/weapon.loc
%%DATADIR%%/i/agate.png
%%DATADIR%%/i/artifacts.png
%%DATADIR%%/i/asceai.png
%%DATADIR%%/i/automap.png
%%DATADIR%%/i/boss1.png
%%DATADIR%%/i/boss2.png
%%DATADIR%%/i/boss3.png
%%DATADIR%%/i/boss4.png
%%DATADIR%%/i/boss_icon.png
%%DATADIR%%/i/circuits_1.png
%%DATADIR%%/i/fin.png
%%DATADIR%%/i/gem.png
%%DATADIR%%/i/glitter.png
%%DATADIR%%/i/hidden_monster.png
%%DATADIR%%/i/icon.png
%%DATADIR%%/i/inrange.png
%%DATADIR%%/i/linetest.png
%%DATADIR%%/i/meter.png
%%DATADIR%%/i/mons1.png
%%DATADIR%%/i/mons10.png
%%DATADIR%%/i/mons2.png
%%DATADIR%%/i/mons3.png
%%DATADIR%%/i/mons4.png
%%DATADIR%%/i/mons5.png
%%DATADIR%%/i/mons6.png
%%DATADIR%%/i/mons7.png
%%DATADIR%%/i/mons8.png
%%DATADIR%%/i/mons9.png
%%DATADIR%%/i/overview.png
%%DATADIR%%/i/player.png
%%DATADIR%%/i/reticle.png
%%DATADIR%%/i/star1.png
%%DATADIR%%/i/star2.png
%%DATADIR%%/i/star3.png
%%DATADIR%%/i/stream.png
%%DATADIR%%/i/teleflash.png
%%DATADIR%%/i/theend.png
%%DATADIR%%/i/tileset.png
%%DATADIR%%/i/title.png
%%DATADIR%%/i/true_end.png
%%DATADIR%%/i/wuss_ending.png
%%DATADIR%%/m/CT_BOSS.MOD
%%DATADIR%%/m/Cv_boss.mod
%%DATADIR%%/m/FINALBAT.s3m
%%DATADIR%%/m/Fr_boss.mod
%%DATADIR%%/m/ICEFRONT.S3M
%%DATADIR%%/m/Wood.s3m
%%DATADIR%%/m/amblight.xm
%%DATADIR%%/m/cave.xm
%%DATADIR%%/m/cave06.s3m
%%DATADIR%%/m/cavern.xm
%%DATADIR%%/m/fear2.mod
%%DATADIR%%/m/iller_knarkloader_final.xm
%%DATADIR%%/m/rpg_bat1.xm
@dirrm %%DATADIR%%/m
@dirrm %%DATADIR%%/i
@dirrm %%DATADIR%%/d
@dirrm %%DATADIR%%/a
@dirrm %%DATADIR%%

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: nimuh
# Date created: 27 Jan 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= nimuh
PORTVERSION= 1.02
@ -15,7 +11,7 @@ DISTFILES= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ${PORTNAME}-data-${PORTVERS
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Puzzle game destined to improve the knowledge of Andalusia
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
GNU_CONFIGURE= yes
USE_GMAKE= yes

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: npush
# Date created: 05 Jul 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= npush
PORTVERSION= 0.7
@ -16,6 +12,8 @@ COMMENT= A curses-based logic game similar to Sokoban and Boulder Dash
PORTDOCS= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|"levels|"${DATADIR}/levels|' \
${WRKSRC}/npush.cpp
@ -27,11 +25,10 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/npush ${PREFIX}/bin
${MKDIR} ${DATADIR}/levels
${INSTALL_DATA} ${WRKSRC}/levels/* ${DATADIR}/levels
# ${MKDIR} ${PREFIX}/share/pixmaps/
${INSTALL_DATA} ${WRKSRC}/npush.png ${PREFIX}/share/pixmaps/
${MKDIR} ${PREFIX}/share/applications/
${INSTALL_DATA} ${WRKSRC}/npush.desktop ${PREFIX}/share/applications/
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/index.html ${WRKSRC}/readme.txt \
${WRKSRC}/screenshot?.png ${DOCSDIR}

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: openmortal
# Date created: 20 Apr 2004
# Whom: krion@FreeBSD.org
#
# Created by: krion@FreeBSD.org
# $FreeBSD$
#
PORTNAME= openmortal
PORTVERSION= 0.7
@ -14,11 +10,12 @@ MASTER_SITES= SF
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A parody of the once popular coin-up fighting game, Mortal Kombat
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2
USE_BZIP2= yes
USE_PERL5= yes
USE_SDL= mixer image sdl net
USE_DOS2UNIX= src/gfx.cpp
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"

View File

@ -1,11 +1,11 @@
--- src/gfx.cpp.orig Tue Sep 12 18:28:52 2006
+++ src/gfx.cpp Tue Sep 12 18:29:04 2006
@@ -7,7 +7,7 @@
***************************************************************************/
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "SDL.h"
***************************************************************************/
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "SDL.h"

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: osgg
# Date created: 29 Dec 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= osgg
PORTVERSION= 0.99

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: outerspace
# Date created: 27 Mar 2007
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= outerspace
PORTVERSION= 0.2.2

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: pachi
# Date created: 18 Sep 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= pachi
PORTVERSION= 1.0

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: passage
# Date created: 23 Apr 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= passage
PORTVERSION= 4

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: penguin-command
# Date created: Apr 4, 2001
# Whom: Mark Pulford <mark@kyne.com.au>
#
# Created by: Mark Pulford <mark@kyne.com.au>
# $FreeBSD$
#
PORTNAME= penguin-command
PORTVERSION= 1.6.11
@ -15,7 +11,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A clone of the classic game Missile Command
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
jpeg.11:${PORTSDIR}/graphics/jpeg
jpeg:${PORTSDIR}/graphics/jpeg
USE_SDL= mixer image sdl
GNU_CONFIGURE= yes

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: pengupop
# Date created: 14 Jun 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= pengupop
PORTVERSION= 2.2.6

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: pink-pony
# Date created: 07 Jul 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= pink-pony
PORTVERSION= 1.2.1
@ -15,12 +11,12 @@ MASTER_SITES= GOOGLE_CODE \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Tron-like multiplayer racing game
LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \
LIB_DEPENDS= IL:${PORTSDIR}/graphics/devil \
protobuf:${PORTSDIR}/devel/protobuf \
glfw.0:${PORTSDIR}/graphics/glfw \
glfw:${PORTSDIR}/graphics/glfw \
Half:${PORTSDIR}/graphics/ilmbase \
ftgl.2:${PORTSDIR}/graphics/ftgl \
sigc-2.0.0:${PORTSDIR}/devel/libsigc++20
ftgl:${PORTSDIR}/graphics/ftgl \
sigc-2.0:${PORTSDIR}/devel/libsigc++20
BUILD_DEPENDS= ${LOCALBASE}/lib/libaudiere.so:${PORTSDIR}/audio/audiere
RUN_DEPENDS= ${LOCALBASE}/lib/libaudiere.so:${PORTSDIR}/audio/audiere
@ -29,11 +25,14 @@ USE_SCONS= yes
USE_GL= gl glu
MAKE_JOBS_SAFE= yes
SUB_FILES= pink-pony.sh
USE_DOS2UNIX= lib/GL/GLee.h
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -Ee 's,(GLSL|levels|models|music|textures|fonts)/,${DATADIR}/&,' \
${WRKSRC}/pony.options ${WRKSRC}/Pony.cc ${WRKSRC}/lib/*.cc ${WRKSRC}/levels.xml
@ -49,7 +48,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/install/pink-pony.png ${PREFIX}/share/pixmaps/
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/install/pink-pony.desktop ${PREFIX}/share/applications/
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif

View File

@ -1,11 +1,11 @@
--- lib/GL/GLee.h.orig 2009-04-12 22:06:20.000000000 +0400
+++ lib/GL/GLee.h 2009-07-09 23:58:05.000000000 +0400
@@ -747,8 +747,6 @@
/* GLX */
- typedef void (*__GLXextFuncPtr)(void);
-
#ifndef GLX_ARB_get_proc_address
#define GLX_ARB_get_proc_address 1
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
/* GLX */
- typedef void (*__GLXextFuncPtr)(void);
-
#ifndef GLX_ARB_get_proc_address
#define GLX_ARB_get_proc_address 1
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: ri-li
# Date created: 03 Jul 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= Ri-li
PORTVERSION= 2.0.1

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: scramble
# Date created: 10 Nov 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= scramble
PORTVERSION= 0.9.5

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: sdlsand
# Date created: 22 Apr 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= sdlsand
PORTVERSION= 20061017
@ -22,6 +18,8 @@ WRKSRC= ${WRKDIR}/SDL\ Sand/SDL\ Sand
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= readme.txt
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e '/crtdbg/ d' ${WRKSRC}/CmdLine.cpp
@ -32,7 +30,7 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: shootingstar
# Date created: 20 Nov 2005
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= shootingstar
PORTVERSION= 1.2.0

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: simplevaders
# Date created: 21 Apr 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= simplevaders
PORTVERSION= 0.8
@ -15,6 +11,8 @@ MASTER_SITES= http://dusted.dk/download/ \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A Space-Invaders like 2D space shooter
LICENSE= GPLv3
USE_BZIP2= yes
USE_SDL= sdl mixer image ttf
USE_GL= gl glu

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: sturmbahnfahrer
# Date created: 07 Sep 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= stormbaancoureur
PORTVERSION= 2.1.5
@ -27,18 +23,18 @@ INSTALL_WRKSRC= ${WRKSRC}/src-stormbaancoureur
PORTDOCS= README
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|__DATADIR|"${DATADIR}"|' \
${WRKSRC}/src-stormbaancoureur/main.cxx
.if !defined(NOPORTDOCS)
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${INSTALL_WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: untahris
# Date created: 08 Sep 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= untahris
PORTVERSION= 3.1
@ -16,11 +12,14 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Play several classic fun, simple arcade games in multiplayer mode
USE_SDL= sdl net ttf mixer
PORTDOCS= *
USE_DOS2UNIX= intface.cpp
WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= *
PORTDATA= *
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|VeraBd.ttf|${DATADIR}/VeraBd.ttf|; \
@ -33,13 +32,15 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/untahris ${PREFIX}/bin/
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
.for f in VeraBd.ttf graph16*.unt *.wav
${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}/
.endfor
.if !defined(NOPORTDOCS)
.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,11 +1,11 @@
--- intface.cpp.orig 2009-05-20 01:41:32.000000000 +0400
+++ intface.cpp 2009-07-07 17:38:01.000000000 +0400
@@ -834,7 +834,7 @@
Ic(icBazooka).fillWith("0", d.Res);
Ic(icBazooka).gradFill(d.Res*4/8-1, 0, d.Res*4/8, d.Res*3/4, 0x80FFFFFF, 0xFFFFFFFF);
- char buf[64];
+ char buf[1024];
sprintf(buf, "graph%d%s.unt", d.Res, gtNames[c.graphicsType]);
FILE *f = fopen(buf, "rt");
if(f) {
Ic(icBazooka).fillWith("0", d.Res);
Ic(icBazooka).gradFill(d.Res*4/8-1, 0, d.Res*4/8, d.Res*3/4, 0x80FFFFFF, 0xFFFFFFFF);
- char buf[64];
+ char buf[1024];
sprintf(buf, "graph%d%s.unt", d.Res, gtNames[c.graphicsType]);
FILE *f = fopen(buf, "rt");
if(f) {

View File

@ -1,14 +0,0 @@
bin/untahris
%%DATADIR%%/VeraBd.ttf
%%DATADIR%%/birth.wav
%%DATADIR%%/blue.wav
%%DATADIR%%/death.wav
%%DATADIR%%/graph16gradient.unt
%%DATADIR%%/graph16lines.unt
%%DATADIR%%/graph16retro.unt
%%DATADIR%%/green.wav
%%DATADIR%%/hit.wav
%%DATADIR%%/place.wav
%%DATADIR%%/red.wav
%%DATADIR%%/shoot.wav
@dirrm %%DATADIR%%

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: xorgramana
# Date created: 27 Mar 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= xorgramana
PORTVERSION= 0.0.8
@ -26,6 +22,9 @@ ALL_TARGET= ${PORTNAME}
MKE_JOBS_SAFE= yes
PORTDOCS= README
PORTDATA= *
PLIST_FILES= bin/${PORTNAME}
DESKTOP_ENTRIES="XorGramana" \
"Logic word puzzle game set inside a series of mazes" \
@ -34,15 +33,18 @@ DESKTOP_ENTRIES="XorGramana" \
"Game;LogicGame;" \
false
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|GFX/|${DATADIR}/&|' ${WRKSRC}/icons.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "data GFX" ${DATADIR}
.if !defined(NOPORTDOCS)
.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}

View File

@ -3,4 +3,4 @@ each maze by arranging letters to form pre-defined words. XorGramana
is based upon the game Xor which appeared in the early 1990's on
8bit home computers. XorGramana implements a version of Xor too.
WWW: http://www.jwm-art.net/XorGramana/
WWW: http://www.jwm-art.net/XorGramana/

View File

@ -1,162 +0,0 @@
bin/xorgramana
%%DATADIR%%/GFX/0.png
%%DATADIR%%/GFX/1.png
%%DATADIR%%/GFX/2.png
%%DATADIR%%/GFX/2/edge3_b.png
%%DATADIR%%/GFX/2/edge3_l.png
%%DATADIR%%/GFX/2/edge3_r.png
%%DATADIR%%/GFX/2/edge3_t.png
%%DATADIR%%/GFX/2/floor3.png
%%DATADIR%%/GFX/2/wall3.png
%%DATADIR%%/GFX/3.png
%%DATADIR%%/GFX/3/edge2_b.png
%%DATADIR%%/GFX/3/edge2_l.png
%%DATADIR%%/GFX/3/edge2_r.png
%%DATADIR%%/GFX/3/edge2_t.png
%%DATADIR%%/GFX/3/floor2.png
%%DATADIR%%/GFX/3/wall2.png
%%DATADIR%%/GFX/4.png
%%DATADIR%%/GFX/5.png
%%DATADIR%%/GFX/6.png
%%DATADIR%%/GFX/7.png
%%DATADIR%%/GFX/8.png
%%DATADIR%%/GFX/9.png
%%DATADIR%%/GFX/a.png
%%DATADIR%%/GFX/b.png
%%DATADIR%%/GFX/blank.png
%%DATADIR%%/GFX/box_blank.png
%%DATADIR%%/GFX/c.png
%%DATADIR%%/GFX/d.png
%%DATADIR%%/GFX/dot.png
%%DATADIR%%/GFX/e.png
%%DATADIR%%/GFX/edge1_b.png
%%DATADIR%%/GFX/edge1_l.png
%%DATADIR%%/GFX/edge1_r.png
%%DATADIR%%/GFX/edge1_t.png
%%DATADIR%%/GFX/edge2_b.png
%%DATADIR%%/GFX/edge2_l.png
%%DATADIR%%/GFX/edge2_r.png
%%DATADIR%%/GFX/edge2_t.png
%%DATADIR%%/GFX/edge3_b.png
%%DATADIR%%/GFX/edge3_l.png
%%DATADIR%%/GFX/edge3_r.png
%%DATADIR%%/GFX/edge3_t.png
%%DATADIR%%/GFX/edge4_b.png
%%DATADIR%%/GFX/edge4_l.png
%%DATADIR%%/GFX/edge4_r.png
%%DATADIR%%/GFX/edge4_t.png
%%DATADIR%%/GFX/edge5_b.png
%%DATADIR%%/GFX/edge5_l.png
%%DATADIR%%/GFX/edge5_r.png
%%DATADIR%%/GFX/edge5_t.png
%%DATADIR%%/GFX/edge6_b.png
%%DATADIR%%/GFX/edge6_l.png
%%DATADIR%%/GFX/edge6_r.png
%%DATADIR%%/GFX/edge6_t.png
%%DATADIR%%/GFX/edge7_b.png
%%DATADIR%%/GFX/edge7_l.png
%%DATADIR%%/GFX/edge7_r.png
%%DATADIR%%/GFX/edge7_t.png
%%DATADIR%%/GFX/exit.png
%%DATADIR%%/GFX/exit_open.png
%%DATADIR%%/GFX/explode01.png
%%DATADIR%%/GFX/explode02.png
%%DATADIR%%/GFX/explode03.png
%%DATADIR%%/GFX/explode04.png
%%DATADIR%%/GFX/explode05.png
%%DATADIR%%/GFX/explode_h.png
%%DATADIR%%/GFX/explode_v.png
%%DATADIR%%/GFX/f.png
%%DATADIR%%/GFX/floor1.png
%%DATADIR%%/GFX/floor2.png
%%DATADIR%%/GFX/floor3.png
%%DATADIR%%/GFX/floor4.png
%%DATADIR%%/GFX/floor5.png
%%DATADIR%%/GFX/floor6.png
%%DATADIR%%/GFX/floor7.png
%%DATADIR%%/GFX/g.png
%%DATADIR%%/GFX/grav_d.png
%%DATADIR%%/GFX/grav_l.png
%%DATADIR%%/GFX/grav_r.png
%%DATADIR%%/GFX/grav_u.png
%%DATADIR%%/GFX/h-field.png
%%DATADIR%%/GFX/h.png
%%DATADIR%%/GFX/hard_push_d.png
%%DATADIR%%/GFX/hard_push_l.png
%%DATADIR%%/GFX/hard_push_r.png
%%DATADIR%%/GFX/hard_push_u.png
%%DATADIR%%/GFX/hash.png
%%DATADIR%%/GFX/i.png
%%DATADIR%%/GFX/j.png
%%DATADIR%%/GFX/k.png
%%DATADIR%%/GFX/l.png
%%DATADIR%%/GFX/line-b.png
%%DATADIR%%/GFX/line-bl.png
%%DATADIR%%/GFX/line-br.png
%%DATADIR%%/GFX/line-l.png
%%DATADIR%%/GFX/line-r.png
%%DATADIR%%/GFX/line-t.png
%%DATADIR%%/GFX/line-tl.png
%%DATADIR%%/GFX/line-tr.png
%%DATADIR%%/GFX/m.png
%%DATADIR%%/GFX/map.png
%%DATADIR%%/GFX/mask.png
%%DATADIR%%/GFX/movements.xcf
%%DATADIR%%/GFX/n.png
%%DATADIR%%/GFX/o.png
%%DATADIR%%/GFX/p.png
%%DATADIR%%/GFX/push_d.png
%%DATADIR%%/GFX/push_l.png
%%DATADIR%%/GFX/push_r.png
%%DATADIR%%/GFX/push_u.png
%%DATADIR%%/GFX/q.png
%%DATADIR%%/GFX/r.png
%%DATADIR%%/GFX/s.png
%%DATADIR%%/GFX/space.png
%%DATADIR%%/GFX/star.png
%%DATADIR%%/GFX/t.png
%%DATADIR%%/GFX/teleport.png
%%DATADIR%%/GFX/u.png
%%DATADIR%%/GFX/v-field.png
%%DATADIR%%/GFX/v.png
%%DATADIR%%/GFX/w.png
%%DATADIR%%/GFX/wall1.png
%%DATADIR%%/GFX/wall2.png
%%DATADIR%%/GFX/wall3.png
%%DATADIR%%/GFX/wall4.png
%%DATADIR%%/GFX/wall5.png
%%DATADIR%%/GFX/wall6.png
%%DATADIR%%/GFX/wall7.png
%%DATADIR%%/GFX/x.png
%%DATADIR%%/GFX/y.png
%%DATADIR%%/GFX/z.png
%%DATADIR%%/data/maps/1.txt
%%DATADIR%%/data/maps/2.txt
%%DATADIR%%/data/maps/3.txt
%%DATADIR%%/data/maps/4.txt
%%DATADIR%%/data/maps/5.txt
%%DATADIR%%/data/maps/6.txt
%%DATADIR%%/data/maps/7.txt
%%DATADIR%%/data/maps/8.txt
%%DATADIR%%/data/xormaps/1.txt
%%DATADIR%%/data/xormaps/10.txt
%%DATADIR%%/data/xormaps/11.txt
%%DATADIR%%/data/xormaps/12.txt
%%DATADIR%%/data/xormaps/13.txt
%%DATADIR%%/data/xormaps/14.txt
%%DATADIR%%/data/xormaps/15.txt
%%DATADIR%%/data/xormaps/2.txt
%%DATADIR%%/data/xormaps/3.txt
%%DATADIR%%/data/xormaps/4.txt
%%DATADIR%%/data/xormaps/5.txt
%%DATADIR%%/data/xormaps/6.txt
%%DATADIR%%/data/xormaps/7.txt
%%DATADIR%%/data/xormaps/8.txt
%%DATADIR%%/data/xormaps/9.txt
@dirrm %%DATADIR%%/data/xormaps
@dirrm %%DATADIR%%/data/maps
@dirrm %%DATADIR%%/data
@dirrm %%DATADIR%%/GFX/3
@dirrm %%DATADIR%%/GFX/2
@dirrm %%DATADIR%%/GFX
@dirrm %%DATADIR%%

View File

@ -1,16 +1,11 @@
# New ports collection makefile for: xtron
# Date created: 29 March 1998
# Whom: Andrey Zakhvatov
#
# Created by: Andrey Zakhvatov
# $FreeBSD$
#
PORTNAME= xtron
PORTVERSION= 1.1a
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/arcade
MASTER_SITES= SUNSITE/games/arcade
EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@FreeBSD.org
@ -26,6 +21,8 @@ DESKTOP_ENTRIES="xtron" \
"Game;ArcadeGame;" \
false
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xtronrc
@ -34,7 +31,7 @@ do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${DATADIR}/
${INSTALL_DATA} ${WRKSRC}/xtronrc ${PREFIX}/lib/X11/app-defaults/Tron
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: autopano-sift-c
# Date created: 10 Jul 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= autopano-sift-C
PORTVERSION= 2.5.1
@ -14,13 +10,13 @@ MASTER_SITES= SF/hugin/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Automatic panorama control point generation tool, C port
RESTRICTED= May be covered by patents
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
jpeg.11:${PORTSDIR}/graphics/jpeg \
LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \
jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png \
pano13:${PORTSDIR}/graphics/libpano13
RESTRICTED= May be covered by patents
CONFLICTS= autopano-sift-[0-9]*
USE_GNOME= libxml2
@ -35,10 +31,12 @@ PORTDOCS= *
MAN1= autopano-c-complete.1 autopano.1 generatekeys.1
MAN7= autopano-sift-c.7
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/CMakeLists.txt
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.1ST ${DOCSDIR}/

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: exifprobe
# Date created: 2004-07-21
# Whom: Michael Johnson <ahze@ahze.net>
#
# Created by: Michael Johnson <ahze@ahze.net>
# $FreeBSD$
#
PORTNAME= exifprobe
DISTVERSION= 2.0.1
@ -24,7 +20,7 @@ do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/exifgrep ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/exifprobe ${PREFIX}/bin
.for i in ${MAN1}
@${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/${i} ${MAN1PREFIX}/man/man1
.endfor
.include <bsd.port.mk>

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: ftgl
# Date created: 16 Jan 2004
# Whom: Igor Pokrovsky <tiamat@comset.net>
#
# Created by: Igor Pokrovsky <tiamat@comset.net>
# $FreeBSD$
#
PORTNAME= ftgl
DISTVERSION= 2.1.3-rc5
@ -14,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/FTGL%20Source/2.1.3%7Erc5
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= An OpenGL FreeType fonts rendering library
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2
USE_GMAKE= yes
USE_GL= gl glu

View File

@ -6,4 +6,4 @@ format. FTGL uses the Freetype (www.freetype.org) font library to open and
'decode' the fonts. It then takes that output and stores it in a format
most efficient for OpenGL rendering.
WWW: http://ftgl.wiki.sourceforge.net/
WWW: http://ftgl.wiki.sourceforge.net/

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: glosm
# Date created: 15 Jan 2011
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= glosm
PORTVERSION= 0.0.2
@ -16,7 +12,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 3D OpenGL renderer for OpenStreetMap
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
expat.6:${PORTSDIR}/textproc/expat2
expat:${PORTSDIR}/textproc/expat2
USE_BZIP2= yes
USES= cmake
@ -26,11 +22,13 @@ MAKE_JOBS_SAFE= yes
PORTDOCS= README ChangeLog
.include <bsd.port.options.mk>
regression-test:
cd ${BUILD_WRKSRC} && ctest
.if !defined(NOPORTDOCS)
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/

View File

@ -2,4 +2,4 @@ glosm is a framework for developing high-performance geospatial
data visualization applications of both interactive and batch nature
featuring OpenGL-based 3D first-person and tile renderers.
WWW: http://glosm.amdmi3.ru/about.html
WWW: http://glosm.amdmi3.ru/about.html

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: glpng
# Date created: 06 Mar 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= glpng
PORTVERSION= 1.45
@ -21,6 +17,7 @@ LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
USE_GL= gl
USE_ZIP= yes
USE_LDCONFIG= yes
USE_DOS2UNIX= glpng.c
AR?= /usr/bin/ar

View File

@ -6,13 +6,13 @@
+#include "png.h"
#include <GL/glpng.h>
#include <GL/gl.h>
#include <GL/gl.h>
#include <stdlib.h>
#include <math.h>
-#include "png/png.h"
/* Used to decide if GL/gl.h supports the paletted extension */
#ifdef GL_COLOR_INDEX1_EXT
/* Used to decide if GL/gl.h supports the paletted extension */
#ifdef GL_COLOR_INDEX1_EXT
@@ -269,14 +269,14 @@
if (pinfo == NULL) return 0;
@ -24,12 +24,12 @@
info = png_create_info_struct(png);
endinfo = png_create_info_struct(png);
// DH: added following lines
- if (setjmp(png->jmpbuf))
+ if (setjmp(png_jmpbuf(png)))
{
png_destroy_read_struct(&png, &info, &endinfo);
return 0;
// DH: added following lines
- if (setjmp(png->jmpbuf))
+ if (setjmp(png_jmpbuf(png)))
{
png_destroy_read_struct(&png, &info, &endinfo);
return 0;
@@ -373,14 +373,14 @@
png_uint_32 i;
@ -41,9 +41,9 @@
info = png_create_info_struct(png);
endinfo = png_create_info_struct(png);
// DH: added following lines
- if (setjmp(png->jmpbuf))
+ if (setjmp(png_jmpbuf(png)))
{
png_destroy_read_struct(&png, &info, &endinfo);
return 0;
// DH: added following lines
- if (setjmp(png->jmpbuf))
+ if (setjmp(png_jmpbuf(png)))
{
png_destroy_read_struct(&png, &info, &endinfo);
return 0;

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: makehuman
# Date created: 06 Mar 2006
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= makehuman
DISTVERSION= 0.9.1-rc1a
@ -14,20 +10,20 @@ MASTER_SITES= SF/${PORTNAME}/MakeHuman%20Source/MakeHuman_091
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Application for parametrical modeling of 3D humanoid characters
LIB_DEPENDS= animorph.0:${PORTSDIR}/graphics/animorph \
mhgui.0:${PORTSDIR}/graphics/mhgui
LIB_DEPENDS= animorph:${PORTSDIR}/graphics/animorph \
mhgui:${PORTSDIR}/graphics/mhgui
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_GNOME= pkgconfig
USE_PKGCONFIG= build
USE_GL= glut
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e 's,find . \(-name .*\) -exec cp --parents {} \(.*\) \\;,find -d . \1 | ${CPIO} -dumpl \2,g' \
@ -36,7 +32,7 @@ post-patch:
@${REINPLACE_CMD} -e '/^makehuman_pixmapsdir =/ s|pixmaps/makehuman|makehuman/pixmaps|' ${WRKSRC}/pixmaps/Makefile.in
@${REINPLACE_CMD} -e '/^packagepixmapsdir=/ s|pixmaps/\$${PACKAGE}|$${PACKAGE}/pixmaps|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^makehumandocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in
.if defined(NOPORTDOCS)
.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-makehumandocDATA||' ${WRKSRC}/Makefile.in
.endif

View File

@ -1,13 +1,9 @@
# New ports collection makefile for: nathive
# Date created: 24 Nov 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= nathive
PORTVERSION= 0.813
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://www.nathive.org/packages/ \
http://mirror.amdmi3.ru/distfiles/
@ -16,7 +12,8 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}_source
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Lightweight image editor
USE_GNOME= pkgconfig glib20 gtk20
USE_GNOME= glib20 gtk20
USE_PKGCONFIG= build
ALL_TARGET= default
post-patch:

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: pyglet
# Date created: 12 Aug 2008
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= pyglet
PORTVERSION= 1.1.4
@ -14,8 +10,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Cross-platform windowing and multimedia library for Python
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig
USE_PYTHON= yes
USE_PYDISTUTILS= yes
@ -25,20 +21,20 @@ USE_OPENAL= al
PORTDOCS= *
PORTEXAMPLES= *
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${ARCH} != "i386"
IGNORE= crashes or doesn't work on !i386
.endif
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,16 +1,11 @@
# New ports collection makefile for: py-rabbyt
# Date created: 12 Oct 2007
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= rabbyt
PORTVERSION= 0.8.2
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP} \
MASTER_SITES= CHEESESHOP/source/R/Rabbyt \
http://mirror.amdmi3.ru/distfiles/
MASTER_SITE_SUBDIR=source/R/Rabbyt
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Rabbyt-${PORTVERSION}

View File

@ -4,4 +4,4 @@ It has two goals:
1. Be fast, without sacrificing ease of use.
2. Be easy to use, without sacrificing speed
WWW: http://matthewmarshall.org/projects/rabbyt/
WWW: http://matthewmarshall.org/projects/rabbyt/

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: quesoglc
# Date created: 04 Jun 2009
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= quesoglc
PORTVERSION= 0.7.2
@ -14,14 +10,14 @@ MASTER_SITES= SF/${PORTNAME}/QuesoGLC/${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Free implementation of the OpenGL Character Renderer
LIB_DEPENDS= fribidi.3:${PORTSDIR}/converters/fribidi \
freetype.9:${PORTSDIR}/print/freetype2 \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
LIB_DEPENDS= fribidi:${PORTSDIR}/converters/fribidi \
freetype:${PORTSDIR}/print/freetype2 \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USES= pathfix
USES= pathfix
USE_GL= gl glu glut
USE_LDCONFIG= yes
@ -32,7 +28,9 @@ CONFIGURE_ARGS= --without-glew --with-fribidi
PORTDOCS= README
.if !defined(NOPORTDOCS)
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: sk1libs
# Date created: 30 Jun 2010
# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org>
#
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= sk1libs
PORTVERSION= 0.9.1
@ -14,9 +10,9 @@ MASTER_SITES= GOOGLE_CODE \
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A set of python libraries for sK1 Project
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms \
freetype.9:${PORTSDIR}/print/freetype2 \
jpeg.11:${PORTSDIR}/graphics/jpeg
LIB_DEPENDS= lcms:${PORTSDIR}/graphics/lcms \
freetype:${PORTSDIR}/print/freetype2 \
jpeg:${PORTSDIR}/graphics/jpeg
PROJECTHOST= uniconvertor

View File

@ -1,4 +1,4 @@
sk1libs is a set of python libs for sK1 Project. The package includes
multiplatform non-GUI extensions which are usually native extensions.
WWW: http://sk1project.org/
WWW: http://sk1project.org/

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: structuresynth
# Date created: 06 Apr 2008
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= structuresynth
PORTVERSION= 1.5.0
@ -20,6 +16,7 @@ USE_ZIP= yes
USE_QT4= qmake_build corelib gui opengl moc_build rcc_build xml script
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/structure-synth
USE_DOS2UNIX= *.cpp *.h
post-extract:
@${MV} "${WRKDIR}/Structure Synth Source Code" ${WRKSRC}

View File

@ -1,11 +1,11 @@
--- ./SyntopiaCore/GLEngine/Raytracer/RayTracer.cpp~ 2012-05-20 01:28:31.000000000 -0300
+++ ./SyntopiaCore/GLEngine/Raytracer/RayTracer.cpp 2012-05-20 01:28:47.000000000 -0300
@@ -7,6 +7,8 @@
#include "SyntopiaCore/Logging/Logging.h"
#include "SyntopiaCore/Misc/MiniParser.h"
+#include <GL/glu.h>
+
using namespace SyntopiaCore::Math;
using namespace SyntopiaCore::Misc;
#include "SyntopiaCore/Logging/Logging.h"
#include "SyntopiaCore/Misc/MiniParser.h"
+#include <GL/glu.h>
+
using namespace SyntopiaCore::Math;
using namespace SyntopiaCore::Misc;

View File

@ -1,11 +1,11 @@
--- ./SyntopiaCore/GLEngine/Sphere.h~ 2012-05-20 01:25:41.000000000 -0300
+++ ./SyntopiaCore/GLEngine/Sphere.h 2012-05-20 01:25:59.000000000 -0300
@@ -3,6 +3,8 @@
#include "SyntopiaCore/Math/Vector3.h"
#include "Object3D.h"
+#include <GL/glu.h>
+
namespace SyntopiaCore {
namespace GLEngine {
#include "SyntopiaCore/Math/Vector3.h"
#include "Object3D.h"
+#include <GL/glu.h>
+
namespace SyntopiaCore {
namespace GLEngine {

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: uniconvertor
# Date created: 15 Nov 2007
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= uniconvertor
PORTVERSION= 1.1.5

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: uniconvw
# Date created: 28 Oct 2010
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
#
# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
# $FreeBSD$
#
PORTNAME= uniconvw
PORTVERSION= 1.1.5

Some files were not shown because too many files have changed in this diff Show More