- Add LICENSE

- Pet portlint
- Switch to USES=localbase
- Add NO_ARCH
- Switch to options helpers
- Update WWW

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2019-07-24 09:02:19 +00:00
parent ee506fafe1
commit e61a942e05
2 changed files with 10 additions and 13 deletions

View file

@ -11,6 +11,9 @@ MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= Synchronization application for GNOME
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/goocanvasmodule.so:graphics/py-goocanvas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}vobject>=0.4.8:deskutils/py-vobject@${PY_FLAVOR} \
@ -22,29 +25,23 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/goocanvasmodule.so:graphics/py-goocanvas@${PY_
${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
xdg-open:devel/xdg-utils
GNU_CONFIGURE= yes
USES= gettext gmake pathfix pkgconfig python:2.7 \
USES= gettext gmake localbase:ldflags pathfix pkgconfig python:2.7 \
shebangfix
GNU_CONFIGURE= yes
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_GNOME= intltool pygnome2 gnomeprefix gnomedocutils
CONFIGURE_ARGS= --disable-nautilus-extension
SHEBANG_FILES= conduit/conduit.real \
tools/conduit-client
NO_ARCH= yes
OPTIONS_DEFINE= EOG
OPTIONS_DEFAULT=EOG
EOG_DESC= Build Eye-Of-Gnome Plugin
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEOG}
BUILD_DEPENDS+= eog:graphics/eog
RUN_DEPENDS+= eog:graphics/eog
CONFIGURE_ARGS+= --enable-eog-plugin
.endif
EOG_BUILD_DEPENDS= eog:graphics/eog
EOG_RUN_DEPENDS= eog:graphics/eog
EOG_CONFIGURE_ON= --enable-eog-plugin
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|/bin/bash|${SH}|' \

View file

@ -1,4 +1,4 @@
Synchronization application for GNOME. It allows you to synchronize your data
between online web services (Gmail, backpackit.com, etc) and your computer.
WWW: http://www.conduit-project.org/
WWW: https://wiki.gnome.org/action/show/Attic/Conduit