Dear all, I am new to porting and have tried to port opensync, and the result is included as attachment. I was however unsure about certain things and I'd like some help before submitting a PR.
- There is a devel/libopensync. I'm not sure if this is the same port. It appears to be, but this port is version 0.17. This was released 04/23/05, so I thought I better start anew. Should the port be called libopensync? or is opensync the correct name? http://www.opensync.org/wiki/devel-branch-0.30 indicates that version 0.30seems to state that this is a devel version, I am however not so sure about how outdated that page is. This is another reason why perhaps it should have a different name since the 0.3x seems to be a big step from the 0.2x(and thus bigger than 0.17) - The following lines were also part of the install instructions. # this is required that frontends and plugins find the opensync-1.0.pc file export PKG_CONFIG_PATH=$OPENSYNC_BUILD/lib/pkgconfig:$PKG_CONFIG_PATH was it correct of me to assume that CONFIGURE_ENV= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig would be equivalent? - Based on the pkg-plist I also assumed it had some libraries, so I added a USE_LDCONFIG= yes, although I am hesitating if USE_LDCONFIG= ${PREFIX}/lib/ ${PREFIX}/lib/opensync/formats ${PREFIX}/lib/pkgconfig it does compile fine *with* and *without* USE_LDCONFIG - Library dependencies. Is there a way to *know* what the port depends on except from the documentation provided? I couldn't find any dependancies in the documentation of opensync. My port does seem to clean scons-0.97, python24-2.4.4 and opensync-0.30. Furthermore, since this is not an application, how can I *know" if this port is succesfully ported? Regards, Gabor
# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # opensync # opensync/pkg-descr # opensync/pkg-plist # opensync/distinfo # opensync/Makefile # opensync/pkg-message # echo c - opensync mkdir -p opensync > /dev/null 2>&1 echo x - opensync/pkg-descr sed 's/^X//' >opensync/pkg-descr << 'END-of-opensync/pkg-descr' XOpenSync is a PIM (Personal Information Management) data synchronization Xframework that consists of several plug-ins that can be used to Xconnect to different devices and systems. For a list of currently supported Xdevices see http://www.opensync.org/wiki/DeviceCompatibilityList. XWWW: http://www.opensync.org/wiki/Evo2-File END-of-opensync/pkg-descr echo x - opensync/pkg-plist sed 's/^X//' >opensync/pkg-plist << 'END-of-opensync/pkg-plist' Xbin/osplugin Xbin/osyncbinary Xbin/osyncdump Xinclude/opensync-1.0/opensync/archive/opensync_archive.h Xinclude/opensync-1.0/opensync/data/opensync_change.h Xinclude/opensync-1.0/opensync/data/opensync_data.h Xinclude/opensync-1.0/opensync/engine/opensync_engine.h Xinclude/opensync-1.0/opensync/engine/opensync_obj_engine.h Xinclude/opensync-1.0/opensync/engine/opensync_status.h Xinclude/opensync-1.0/opensync/file.h Xinclude/opensync-1.0/opensync/format/opensync_converter.h Xinclude/opensync-1.0/opensync/format/opensync_filter.h Xinclude/opensync-1.0/opensync/format/opensync_format_env.h Xinclude/opensync-1.0/opensync/format/opensync_objformat.h Xinclude/opensync-1.0/opensync/format/opensync_time.h Xinclude/opensync-1.0/opensync/group/opensync_group.h Xinclude/opensync-1.0/opensync/group/opensync_group_env.h Xinclude/opensync-1.0/opensync/group/opensync_member.h Xinclude/opensync-1.0/opensync/helper/opensync_anchor.h Xinclude/opensync-1.0/opensync/helper/opensync_hashtable.h Xinclude/opensync-1.0/opensync/ipc/opensync_message.h Xinclude/opensync-1.0/opensync/ipc/opensync_queue.h Xinclude/opensync-1.0/opensync/ipc/opensync_serializer.h Xinclude/opensync-1.0/opensync/mapping/opensync_mapping.h Xinclude/opensync-1.0/opensync/mapping/opensync_mapping_entry.h Xinclude/opensync-1.0/opensync/mapping/opensync_mapping_table.h Xinclude/opensync-1.0/opensync/mapping/opensync_mapping_view.h Xinclude/opensync-1.0/opensync/merger/opensync_capabilities.h Xinclude/opensync-1.0/opensync/merger/opensync_capability.h Xinclude/opensync-1.0/opensync/merger/opensync_merger.h Xinclude/opensync-1.0/opensync/merger/opensync_xmlfield.h Xinclude/opensync-1.0/opensync/merger/opensync_xmlfieldlist.h Xinclude/opensync-1.0/opensync/merger/opensync_xmlformat.h Xinclude/opensync-1.0/opensync/opensync-client.h Xinclude/opensync-1.0/opensync/opensync-context.h Xinclude/opensync-1.0/opensync/opensync-data.h Xinclude/opensync-1.0/opensync/opensync-engine.h Xinclude/opensync-1.0/opensync/opensync-error.h Xinclude/opensync-1.0/opensync/opensync-format.h Xinclude/opensync-1.0/opensync/opensync-group.h Xinclude/opensync-1.0/opensync/opensync-helper.h Xinclude/opensync-1.0/opensync/opensync-ipc.h Xinclude/opensync-1.0/opensync/opensync-mapping.h Xinclude/opensync-1.0/opensync/opensync-merger.h Xinclude/opensync-1.0/opensync/opensync-module.h Xinclude/opensync-1.0/opensync/opensync-plugin.h Xinclude/opensync-1.0/opensync/opensync-serializer.h Xinclude/opensync-1.0/opensync/opensync-support.h Xinclude/opensync-1.0/opensync/opensync-time.h Xinclude/opensync-1.0/opensync/opensync-version.h Xinclude/opensync-1.0/opensync/opensync.h Xinclude/opensync-1.0/opensync/opensync_list.h Xinclude/opensync-1.0/opensync/opensync_xml.h Xinclude/opensync-1.0/opensync/plugin/opensync_plugin.h Xinclude/opensync-1.0/opensync/plugin/opensync_plugin_env.h Xinclude/opensync-1.0/opensync/plugin/opensync_plugin_info.h Xinclude/opensync-1.0/opensync/plugin/opensync_sink.h Xinclude/opensync-1.0/opensync/version/opensync_version.h Xlib/libopensync.so Xlib/opensync/formats/libdata.so Xlib/opensync/formats/libfile.so Xlib/opensync/formats/libxmlformat-doc.so Xlib/opensync/formats/libxmlformat.so Xlib/pkgconfig/opensync-1.0.pc Xlib/pkgconfig/osengine-1.0.pc Xshare/opensync/capabilities/file-sync.xml Xshare/opensync/capabilities/syncml-nokia-7650.xml Xshare/opensync/descriptions/descriptions.xsd Xshare/opensync/descriptions/miscellaneous.xml Xshare/opensync/descriptions/syncml-nokia.xml Xshare/opensync/descriptions/xmlformat-calendar.xsd Xshare/opensync/descriptions/xmlformat-common.xsd Xshare/opensync/descriptions/xmlformat-contact.xsd Xshare/opensync/descriptions/xmlformat-event.xsd Xshare/opensync/descriptions/xmlformat-note.xsd Xshare/opensync/descriptions/xmlformat-todo.xsd [EMAIL PROTECTED] share/opensync/descriptions [EMAIL PROTECTED] share/opensync/capabilities [EMAIL PROTECTED] share/opensync [EMAIL PROTECTED] lib/pkgconfig [EMAIL PROTECTED] lib/opensync/formats [EMAIL PROTECTED] lib/opensync [EMAIL PROTECTED] include/opensync-1.0/opensync/version [EMAIL PROTECTED] include/opensync-1.0/opensync/plugin [EMAIL PROTECTED] include/opensync-1.0/opensync/merger [EMAIL PROTECTED] include/opensync-1.0/opensync/mapping [EMAIL PROTECTED] include/opensync-1.0/opensync/ipc [EMAIL PROTECTED] include/opensync-1.0/opensync/helper [EMAIL PROTECTED] include/opensync-1.0/opensync/group [EMAIL PROTECTED] include/opensync-1.0/opensync/format [EMAIL PROTECTED] include/opensync-1.0/opensync/engine [EMAIL PROTECTED] include/opensync-1.0/opensync/data [EMAIL PROTECTED] include/opensync-1.0/opensync/archive [EMAIL PROTECTED] include/opensync-1.0/opensync [EMAIL PROTECTED] include/opensync-1.0 END-of-opensync/pkg-plist echo x - opensync/distinfo sed 's/^X//' >opensync/distinfo << 'END-of-opensync/distinfo' XMD5 (libopensync-0.30.tar.bz2?rev=&format=raw) = 1b52417878ab4ede584ce18edacfa548 XSHA256 (libopensync-0.30.tar.bz2?rev=&format=raw) = 0a1cfcb736d3569f8bced7e2e6c48d3168a0e97dee40705d09c5adfadcf6a463 XSIZE (libopensync-0.30.tar.bz2?rev=&format=raw) = 862123 END-of-opensync/distinfo echo x - opensync/Makefile sed 's/^X//' >opensync/Makefile << 'END-of-opensync/Makefile' X# New ports collection makefile for: libopensync X# Date created: 16 June 2007 X# Whom: gvtjongahung X# X# $FreeBSD$ X# X XPORTNAME= opensync XPORTVERSION= 0.30 XCATEGORIES= devel XMASTER_SITES= http://www.opensync.org/attachment/wiki/download/ XDISTNAME= libopensync-${PORTVERSION} XEXTRACT_SUFX= .tar.bz2\?rev=\&format=raw X XMAINTAINER= [EMAIL PROTECTED] XCOMMENT= A PIM data synchronization framework X XUSE_BZIP2= yes XUSE_SCONS= yes XUSE_LDCONFIG= yes XSCONS_ARGS= prefix=${PREFIX} X## this is required that frontends and plugins find the opensync-1.0.pc file X#export PKG_CONFIG_PATH=$OPENSYNC_BUILD/lib/pkgconfig:$PKG_CONFIG_PATH XCONFIGURE_ENV= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig XOPTIONS= ENABLE_TRACING "Enable tracing" off X.if defined(WITH_ENABLE_TRACING) X CONFIGURE_ENV+= OSYNC_TRACE=/tmp/osync_trace/ X.endif X.include <bsd.port.mk> END-of-opensync/Makefile echo x - opensync/pkg-message sed 's/^X//' >opensync/pkg-message << 'END-of-opensync/pkg-message' [EMAIL PROTECTED] "Think about using a multisync-gui, start by trying to sync your various devices and applications one by one with a directory; then try to assemble the devices in the way you want." [EMAIL PROTECTED] "Do not disable the syncing of data, as it disables syncing everything." [EMAIL PROTECTED] "See http://www.opensync.org/wiki/DeviceCompatibilityList for a list of compatible devices." END-of-opensync/pkg-message exit
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"