# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # connectfive # connectfive/Makefile # connectfive/distinfo # connectfive/files # connectfive/files/patch-Makefile.linux # connectfive/pkg-descr # connectfive/pkg-plist # echo c - connectfive mkdir -p connectfive > /dev/null 2>&1 echo x - connectfive/Makefile sed 's/^X//' >connectfive/Makefile << 'END-of-connectfive/Makefile' X# New ports collection makefile for: connectfive X# Date created: 20 Sep 2005 X# Whom: Dmitry Marakasov X# X# $FreeBSD$ X# X XPORTNAME= connectfive XPORTVERSION= 1.0.2 XCATEGORIES= games XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= connectfive XDISTNAME= connectFive X XMAINTAINER= amdmi3@mail.ru XCOMMENT= Place five pieces in a row on a 3d board X XMAKEFILE= Makefile.linux XMAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \ X CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" XALL_TARGET= default X XUSE_SDL= sdl XUSE_GL= yes XUSE_GMAKE= yes XUSE_REINPLACE= yes X XWRKSRC= ${WRKDIR}/connectFive X Xpost-patch: X @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/*.cpp ${WRKSRC}/*.h X @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile.linux X @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/connect.cpp X Xdo-install: X @${MKDIR} ${PREFIX}/bin X ${INSTALL_PROGRAM} ${WRKSRC}/connectfive ${PREFIX}/bin/ X ${MKDIR} ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/data/* ${DATADIR}/ X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/CHANGELOG.txt ${WRKSRC}/LICENSE.txt ${WRKSRC}/README.txt ${DOCSDIR}/ X.endif X X.include END-of-connectfive/Makefile echo x - connectfive/distinfo sed 's/^X//' >connectfive/distinfo << 'END-of-connectfive/distinfo' XMD5 (connectFive.tar.gz) = c4560bc04ef8231039096dc53316d358 XSIZE (connectFive.tar.gz) = 631555 END-of-connectfive/distinfo echo c - connectfive/files mkdir -p connectfive/files > /dev/null 2>&1 echo x - connectfive/files/patch-Makefile.linux sed 's/^X//' >connectfive/files/patch-Makefile.linux << 'END-of-connectfive/files/patch-Makefile.linux' X--- Makefile.linux.orig Tue Sep 20 01:08:02 2005 X+++ Makefile.linux Tue Sep 20 01:36:38 2005 X@@ -1,9 +1,9 @@ X # Configuration section ------------------------------------------------------- X outputName := connectfive # Filename to give to final executable X cppExtension := .cpp # File extension of source files X-CPPFLAGS += -I /usr/local/include # List flags to pass to C/C++ preprocessor X-CXXFLAGS += -Wall -O0 -g # List flags to pass to C++ compiler X-LDFLAGS += -L /usr/local/lib -L /usr/X11R6/lib X+#CPPFLAGS += -I/usr/local/include -I/usr/X11R6/include X+#CXXFLAGS += -Wall -O0 -g # List flags to pass to C++ compiler X+#LDFLAGS += -L /usr/local/lib -L /usr/X11R6/lib X # List flags to pass to linker X LDLIBS += -lGLU -lGL -lXext -lX11 -lm -lXmu \ X `sdl-config --libs` X@@ -37,5 +37,5 @@ X rm -f *.o *~ *.d X X ${outputName} : ${allCppObjects} X- g++ -o $@ $^ ${LDFLAGS} ${LOADLIBES} ${LDLIBS} X+ ${CXX} -o $@ $^ ${LDFLAGS} ${LOADLIBES} ${LDLIBS} X END-of-connectfive/files/patch-Makefile.linux echo x - connectfive/pkg-descr sed 's/^X//' >connectfive/pkg-descr << 'END-of-connectfive/pkg-descr' XPlace five pieces in a row on a 3d board X XA 3d version of gomoku. Similar to connect four, but it is played Xin 3D on a 19x19 board and a play is allowed on any location of the Xboard. X XWWW: http://sourceforge.net/projects/connectfive X X- Dmitry Marakasov END-of-connectfive/pkg-descr echo x - connectfive/pkg-plist sed 's/^X//' >connectfive/pkg-plist << 'END-of-connectfive/pkg-plist' Xbin/connectfive X%%DATADIR%%/marble1.bmp X%%DATADIR%%/marble2.bmp X%%DATADIR%%/marble3.bmp X%%DATADIR%%/times14.glf X%%DATADIR%%/times48.glf X%%DATADIR%%/times72.glf X%%DATADIR%%/timesLarge.glf X%%DATADIR%%/wood2.bmp X%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt X%%PORTDOCS%%%%DOCSDIR%%/README.txt X%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG.txt X@dirrm %%DATADIR%% X%%PORTDOCS%%@dirrm %%DOCSDIR%% END-of-connectfive/pkg-plist exit