1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Fix pkgname collision

- Add stage support
- Convert LIB_DEPENDS to new syntax
- Use SWIG_LANGUAGES
This commit is contained in:
Danilo Egea Gondolfo 2013-10-21 16:20:56 +00:00
parent bc3651b3cd
commit 1ab80d8c8b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331153
2 changed files with 8 additions and 22 deletions

View File

@ -6,14 +6,14 @@ PORTVERSION= 0.22
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.opensync.org/download/releases/${PORTVERSION}/
PKGNAMESUFFIX= 022
MAINTAINER= ports@FreeBSD.org
COMMENT= Freedesktop synchronization framework
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
RUN_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
LIB_DEPENDS= libsqlite3.so:${PORTSDIR}/databases/sqlite3
SWIG_LANGUAGES= python
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_BZIP2= yes
@ -24,15 +24,6 @@ USE_LDCONFIG= yes
CONFLICTS= libopensync-0.[3-9]*
LATEST_LINK= libopensync022
NO_STAGE= yes
pre-everything::
@${ECHO_MSG} "NOTE: You may want to avoid extra dependencies"
@${ECHO_MSG} " from devel/swig13 by building with the following"
@${ECHO_MSG} " SWIG_LANGUAGES=\"perl python\""
@${ECHO_MSG}
post-patch:
@${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} ${REINPLACE_CMD} \
-e 's|-Werror||g'

View File

@ -62,16 +62,11 @@ lib/opensync/formats/xml-vnote.la
lib/opensync/formats/xml-vnote.so
lib/opensync/formats/xmldoc.la
lib/opensync/formats/xmldoc.so
%%PYTHON_SITELIBDIR%%/_opensync.la
%%PYTHON_SITELIBDIR%%/_opensync.so
%%PYTHON_SITELIBDIR%%/opensync.py
%%PYTHON_SITELIBDIR%%/opensync.pyc
%%PYTHON_SITELIBDIR%%/opensync.pyo
libdata/pkgconfig/opensync-1.0.pc
libdata/pkgconfig/osengine-1.0.pc
libexec/osplugin
@dirrm lib/opensync/formats
@dirrm lib/opensync
@dirrm include/opensync-1.0/osengine
@dirrm include/opensync-1.0/opensync
@dirrm include/opensync-1.0
@dirrmtry lib/opensync/formats
@dirrmtry lib/opensync
@dirrmtry include/opensync-1.0/osengine
@dirrmtry include/opensync-1.0/opensync
@dirrmtry include/opensync-1.0