=================================================================== RCS file: /cvs/ports/net/seafile/client/Attic/Makefile,v retrieving revision 1.1.1.1 retrieving revision 1.4 diff -u -r1.1.1.1 -r1.4 --- ports/net/seafile/client/Attic/Makefile 2014/01/17 10:48:47 1.1.1.1 +++ ports/net/seafile/client/Attic/Makefile 2014/04/09 07:57:51 1.4 @@ -1,102 +1,24 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2014/01/17 10:48:47 kirby Exp $ -#ONLY_FOR_ARCHS = ??? -#NOT_FOR_ARCHS = ??? -#SHARED_ONLY = ??? -#COMES_WITH = ??? -#BROKEN = reason +# $OpenBSD: Makefile,v 1.4 2014/04/09 07:57:51 kirby Exp $ COMMENT = seafile client -# COMMENT-foo = ??? for multi packages -DISTNAME = seafile-client-${V} -#PKGNAME = ??? -#PKGNAME-foo = ??? for multi packages +NAME = seafile-client -#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 - -#WANTLIB = ??? - -#MODULES = ??? +MODULES = devel/cmake x11/qt4 #BUILD_DEPENDS = ??? #RUN_DEPENDS = ??? -LIB_DEPENDS = databases/libzdb \ - devel/uuid,-main -#TEST_DEPENDS = ??? +LIB_DEPENDS = net/seafile/ccnet \ + net/seafile/server -#MAKE_FLAGS = ??? -#MAKE_ENV = ??? -#FAKE_FLAGS = ??? -#TEST_FLAGS = ??? +CONFIGURE_ARGS += -DCMAKE_BUILD_TYPE=Release -# 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 +NO_TEST = Yes -# 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 = ??? +post-configure: + cd ${WRKSRC}/i18n/ && lrelease4 *.ts .include