=================================================================== RCS file: /cvs/ports/games/palomino/Attic/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.3 diff -u -r1.1.1.1 -r1.3 --- ports/games/palomino/Attic/Makefile 2009/09/10 19:14:54 1.1.1.1 +++ ports/games/palomino/Attic/Makefile 2010/06/15 15:02:24 1.3 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2009/09/10 18:14:54 yason Exp $ +# $OpenBSD: Makefile,v 1.3 2010/06/15 14:02:24 yason Exp $ #ONLY_FOR_ARCHS = ??? #NOT_FOR_ARCHS = ??? #SHARED_ONLY = ??? @@ -8,8 +8,8 @@ COMMENT = ??? # COMMENT-foo = ??? for multi packages -DISTNAME = palomino_src_20090615 -#PKGNAME = ??? +DISTNAME = palomino_src_20100421 +PKGNAME = ${DISTNAME:S/_src_/-/} #PKGNAME-foo = ??? for multi packages #SHARED_LIBS = ??? @@ -28,7 +28,7 @@ #WANTLIB = ??? -MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=palomino-sim/} +MASTER_SITES = ftp://ftp.palomino3d.org/sim/ #DISTFILES = ??? #EXTRACT_ONLY = ??? EXTRACT_SUFX = .tar.bz2 @@ -36,9 +36,13 @@ #DIST_SUBDIR = ??? MODULES = devel/cmake + #BUILD_DEPENDS = ??? #RUN_DEPENDS = ??? -LIB_DEPENDS = graphics/osg +LIB_DEPENDS = ::devel/plib \ + ::devel/sdl \ + ::graphics/osg \ + ::x11/fltk #REGRESS_DEPENDS = ??? #MAKE_FLAGS = ??? @@ -46,65 +50,26 @@ #FAKE_FLAGS = ??? #REGRESS_FLAGS = ??? -# build/configuration variables -# -#SEPARATE_BUILD = concurrent (build simultaneously on all arches) -#SEPARATE_BUILD = simple (configure/build still recreates files in source) -#USE_X11 = Yes -#USE_GMAKE = Yes -# Programs that uses libtool should use this option, -# unless there is a really good reason not to. +SEPARATE_BUILD = concurrent +USE_X11 = Yes #USE_LIBTOOL = Yes -# Set CONFIGURE_STYLE to value corresponding to some standard configuration -# perl [modbuild]: perl's MakeMaker Makefile.PL (modbuild: perl's -# Module::Build Build.PL) -# gnu [autoconf] [old] [dest]: gnu style configure (old: no -# sysconfdir), (dest: add DESTDIR, does not handle it), -# (autoconf: needed by port, implies gnu) -# XXX: cygnus products do NOT use autoconf for making the main -# configure from configure.in -# imake [noman]: port uses imake for configuration. -# (noman: no man page installation) -# simple: port has its own configure script -#CONFIGURE_STYLE = -#CONFIGURE_SCRIPT = ??? (if other than configure) -#CONFIGURE_ARGS += ${CONFIGURE_SHARED} +CONFIGURE_ARGS = -DCMAKE_INCLUDE_PATH="${PREFIX}/include;${X11BASE}/include" \ + -DCMAKE_LIBRARY_PATH="${PREFIX}/lib;${X11BASE}/lib" \ + -DOSG_INC_DIR="${PREFIX}/include" -DOSG_LIB_DIR="${PREFIX}/lib" \ + -DCOMPILE_WITH_LINUX_JOYSTICK=0 \ + -DCMAKE_BUILD_TYPE=Release \ + -DLIB_POSTFIX= +# -DCOMPILE_OSG=0 \ + #CONFIGURE_ENV = ??? -#FLAVORS = 1 2 3 a b -#FLAVOR ?= -# grab multiple choice value -#CHOICE = ${FLAVOR:L:Na:Nb} -# check that CHOICE is 1 OR 2 OR 3, or error out -#.if ${CHOICE} == "1" -# code for 1 -#.elif ${CHOICE} == "2" -# code for 2 -#.elif ${CHOICE} == "3" -# code for 3 -#.else -#ERRORS += "Fatal: Conflicting flavor: ${FLAVOR}" -#.endif -# check for switches -#.if ${FLAVOR:L:Ma} -# code for a -#.endif -#.if ${FLAVOR:L:Mb} -# code for b -#.endif - #NO_REGRESS = Yes #CFLAGS = ??? #LDFLAGS = ??? -#MAKE_FILE = ??? #PKG_ARCH = ??? WRKDIST = ${WRKDIR}/palomino -#WRKSRC = ??? if other than ${WRKDIST} -#WRKBUILD = ??? if other than ${WRKSRC} -#WRKCONF = ??? if other than ${WRKBUILD} -#ALL_TARGET = ??? #INSTALL_TARGET = ??? #REGRESS_TARGET = ???