version 1.1, 2014/01/17 10:48:47 |
version 1.4, 2014/04/09 07:57:51 |
|
|
# $OpenBSD$ |
# $OpenBSD$ |
#ONLY_FOR_ARCHS = ??? |
|
#NOT_FOR_ARCHS = ??? |
|
#SHARED_ONLY = ??? |
|
#COMES_WITH = ??? |
|
#BROKEN = reason |
|
|
|
COMMENT = seafile client |
COMMENT = seafile client |
# COMMENT-foo = ??? for multi packages |
|
|
|
DISTNAME = seafile-client-${V} |
NAME = seafile-client |
#PKGNAME = ??? |
|
#PKGNAME-foo = ??? for multi packages |
|
|
|
#SHARED_LIBS = ??? |
WANTLIB += QtGui QtNetwork X11 c ccnet crypto gio-2.0 glib-2.0 |
|
WANTLIB += gobject-2.0 intl jansson m pthread seafile searpc sqlite3 |
|
WANTLIB += ssl |
|
|
|
MODULES = devel/cmake x11/qt4 |
#WANTLIB = ??? |
|
|
|
#MODULES = ??? |
|
#BUILD_DEPENDS = ??? |
#BUILD_DEPENDS = ??? |
#RUN_DEPENDS = ??? |
#RUN_DEPENDS = ??? |
LIB_DEPENDS = databases/libzdb \ |
LIB_DEPENDS = net/seafile/ccnet \ |
devel/uuid,-main |
net/seafile/server |
#TEST_DEPENDS = ??? |
|
|
|
#MAKE_FLAGS = ??? |
CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=Release |
#MAKE_ENV = ??? |
|
#FAKE_FLAGS = ??? |
|
#TEST_FLAGS = ??? |
|
|
|
# build/configuration variables |
NO_TEST = Yes |
# |
|
#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 |
post-configure: |
#AUTOCONF_VERSION = ??? (defaults to 2.13) |
cd ${WRKSRC}/i18n/ && lrelease4 *.ts |
#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 <bsd.port.mk> |
.include <bsd.port.mk> |