diff options
author | sbruno <sbruno@FreeBSD.org> | 2014-04-25 08:42:58 +0800 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2014-04-25 08:42:58 +0800 |
commit | bf2cda55f5c1a4d9063a49ce8e69f66ea07ca96a (patch) | |
tree | 15fcb86f613d1c29b032a999381d0f05b673ecb3 /audio/idjc | |
parent | a108cbbf09ed32a80e3e4579ca787c3e8c2f3a4f (diff) | |
download | freebsd-ports-gnome-bf2cda55f5c1a4d9063a49ce8e69f66ea07ca96a.tar.gz freebsd-ports-gnome-bf2cda55f5c1a4d9063a49ce8e69f66ea07ca96a.tar.zst freebsd-ports-gnome-bf2cda55f5c1a4d9063a49ce8e69f66ea07ca96a.zip |
Apply patch from tijl@ to resolve a lot of issues with the port:
- HAS_CONFIGURE -> GNU_CONFIGURE
- USES=libtool.
- DOCS option.
- Remove GCC requirement. (In audio/idjc it is replaced with USES=compiler:nestedfct)
Submitted by: tilj@
Diffstat (limited to 'audio/idjc')
-rw-r--r-- | audio/idjc/Makefile | 20 | ||||
-rw-r--r-- | audio/idjc/pkg-plist | 11 |
2 files changed, 12 insertions, 19 deletions
diff --git a/audio/idjc/Makefile b/audio/idjc/Makefile index b77311f501b9..19c7958283f9 100644 --- a/audio/idjc/Makefile +++ b/audio/idjc/Makefile @@ -3,6 +3,7 @@ PORTNAME= idjc PORTVERSION= 0.8.14 +PORTREVISION= 1 CATEGORIES= audio python MASTER_SITES= SF/idjc/idjc/0.8 @@ -26,29 +27,22 @@ RUN_DEPENDS= oggenc:${PORTSDIR}/audio/vorbis-tools \ ${PYTHON_PKGNAMEPREFIX}mutagen>=0:${PORTSDIR}/audio/py-mutagen \ ${PYTHON_PKGNAMEPREFIX}dbus>=0.8:${PORTSDIR}/devel/py-dbus -USES= desktop-file-utils gettext gmake pathfix pkgconfig -CONFIGURE_ENV+= PKG_CONFIG_PATH=${LOCALBASE}/lib/pkgconfig -CONFIGURE_ARGS+= --mandir=${MANPREFIX}/man +USES= compiler:nestedfct desktop-file-utils gettext gmake \ + libtool pathfix pkgconfig +LDFLAGS= -L${LOCALBASE}/lib MAKE_JOBS_UNSAFE= yes -HAS_CONFIGURE= yes +GNU_CONFIGURE= yes USE_PYTHON= 2.7 USE_PYTHON_PREFIX= yes USE_GNOME= glib20 pygtk2 -USE_GCC= 4.6+ -MANLANG= "" fr it PLIST_SUB+= PORTVERSION="${PORTVERSION}" -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 900000 -BROKEN= audio/shout-idjc IPv6 problem on compile in sock.c -.endif - +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION} pre-install: ${REINPLACE_CMD} 's|libvorbis.so.0|libvorbis.so|' \ ${WRKSRC}/python/format.py ${REINPLACE_CMD} 's|#! /usr/local/bin/python2.72.7|#\!${LOCALBASE}/bin/${PYTHON_VERSION}|' \ ${WRKSRC}/idjc -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/audio/idjc/pkg-plist b/audio/idjc/pkg-plist index 4f1804567de4..8ece73e65cf7 100644 --- a/audio/idjc/pkg-plist +++ b/audio/idjc/pkg-plist @@ -1,5 +1,4 @@ bin/idjc -lib/idjc/idjc.la lib/idjc/idjc.so lib/idjc/site-packages/idjc/__init__.py lib/idjc/site-packages/idjc/__init__.pyc @@ -62,10 +61,10 @@ lib/python2.7/site-packages/idjcmonitor.py lib/python2.7/site-packages/idjcmonitor.pyc lib/python2.7/site-packages/idjcmonitor.pyo share/applications/idjc.desktop -%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/AUTHORS.gz -%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/ChangeLog.gz -%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/NEWS.gz -%%PORTDOCS%%%%DOCSDIR%%-%%PORTVERSION%%/README.gz +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS.gz +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.gz +%%PORTDOCS%%%%DOCSDIR%%/NEWS.gz +%%PORTDOCS%%%%DOCSDIR%%/README.gz %%DATADIR%%/add3.png %%DATADIR%%/advance.png %%DATADIR%%/classic_cross.png @@ -127,7 +126,7 @@ share/pixmaps/idjc.png @dirrmtry man/fr @dirrmtry man @dirrmtry %%DATADIR%% -%%PORTDOCS%%@dirrmtry %%DOCSDIR%%-%%PORTVERSION%% +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% @dirrmtry lib/python2.7/site-packages @dirrmtry lib/python2.7 @dirrmtry lib/idjc/site-packages/idjc/prelims |