# $OpenBSD: Makefile.template,v 1.55 2008/08/23 15:28:00 ajacoutot Exp $ #ONLY_FOR_ARCHS = ??? #NOT_FOR_ARCHS = ??? #SHARED_ONLY = ??? #COMES_WITH = ??? #BROKEN = reason COMMENT = powerful free RTS engine # COMMENT-foo = ??? for multi packages DISTNAME = spring_0.80.4.1_src PKGNAME = ${DISTNAME:S/_/-/:S/_src//} # for any port that create shared libraries. # both libtool and cmake handle this automatically. # for libtool-based ports, have a look at WRKBUILD/shared_libs.log #SHARED_LIBS = ??? CATEGORIES = games #HOMEPAGE = ??? URL #MAINTAINER = ??? # In case of GPL, version number must be appended (e.g. v2, v2+, v3). #PERMIT_PACKAGE_CDROM = Yes | Reason if No #PERMIT_PACKAGE_FTP = Yes | Reason if No #PERMIT_DISTFILES_CDROM =Yes | Reason if No #PERMIT_DISTFILES_FTP = Yes | Reason if No #WANTLIB = ??? MASTER_SITES = http://springrts.com/dl/ #MASTER_SITES = ${MASTER_SITE_foo:=subdir/} # if more master sites are needed... #MASTER_SITES0 = # ... #DISTFILES = ??? #EXTRACT_ONLY = ??? #EXTRACT_SUFX = .tar.Z #DIST_SUBDIR = ??? # PATCHFILES are also retrieved from MASTER_SITES* #PATCHFILES = ??? #PATCH_DIST_STRIP = -p0 MODULES = devel/cmake #BUILD_DEPENDS = ??? #RUN_DEPENDS = ??? #LIB_DEPENDS = ??? #REGRESS_DEPENDS = ??? #MAKE_FLAGS = ??? #MAKE_ENV = ??? #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. #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_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" #.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}/${DISTNAME:S/_src//} #WRKSRC = ??? if other than ${WRKDIST} #WRKBUILD = ??? if other than ${WRKSRC} #WRKCONF = ??? if other than ${WRKBUILD} #ALL_TARGET = ??? #INSTALL_TARGET = ??? #REGRESS_TARGET = ??? .include