# $OpenBSD: Makefile.template,v 1.68 2013/10/02 07:34:45 ajacoutot Exp $ #ONLY_FOR_ARCHS = ??? #NOT_FOR_ARCHS = ??? #SHARED_ONLY = ??? #COMES_WITH = ??? #BROKEN = reason COMMENT = seafile client # COMMENT-foo = ??? for multi packages DISTNAME = seafile-client-${V} #PKGNAME = ??? #PKGNAME-foo = ??? for multi packages #SHARED_LIBS = ??? #WANTLIB = ??? #MODULES = ??? #BUILD_DEPENDS = ??? #RUN_DEPENDS = ??? LIB_DEPENDS = databases/libzdb \ devel/uuid,-main #TEST_DEPENDS = ??? #MAKE_FLAGS = ??? #MAKE_ENV = ??? #FAKE_FLAGS = ??? #TEST_FLAGS = ??? # build/configuration variables # #SEPARATE_BUILD = Yes (build in a directory other than WRKSRC) #SEPARATE_BUILD = flavored (distinct flavors may share a common WRKSRC) #USE_GMAKE = Yes #USE_GROFF = Yes #USE_LIBTOOL= gnu CONFIGURE_STYLE = gnu CONFIGURE_ARGS += --enable-python=no ${CONFIGURE_SHARED} CONFIGURE_ENV = CPPFLAGS=-I${LOCALBASE}/include \ LDFLAGS=-L${LOCALBASE}/lib # for gnu stuff #AUTOCONF_VERSION = ??? (defaults to 2.13) #AUTOMAKE_VERSION = ??? (defaults to 1.4) # config.guess and others are copied here #MODGNU_CONFIG_GUESS_DIRS = ??? (defaults to ${WRKSRC}) # Is the build automagic or is it interactive # #IS_INTERACTIVE = Yes #TEST_IS_INTERACTIVE = Yes # Assume you have one multiple choice flavor: 1 2 3 and switches a b. # You would write # #FLAVORS = 1 2 3 a b #FLAVOR ?= # grab multiple choice value #CHOICE = ${FLAVOR: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:Ma} # code for a #.endif #.if ${FLAVOR:Mb} # code for b #.endif # Things that we don't want to do for this port/package # Generally, DON'T set anything to No if it's not needed. # The time gained is not worth it. # #NO_BUILD = Yes #NO_TEST = Yes # Overrides for default values # #CFLAGS = ??? #LDFLAGS = ??? #MAKE_FILE = ??? #PKG_ARCH = ??? (* for arch-independent packages) WRKDIST = ${WRKDIR}/seafile-${V} #WRKSRC = ??? if other than ${WRKDIST} #WRKBUILD = ??? if other than ${WRKSRC} #WRKCONF = ??? if other than ${WRKBUILD} #ALL_TARGET = ??? #INSTALL_TARGET = ??? #TEST_TARGET = ??? .include