aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/nucleo
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-06-30 21:21:12 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-06-30 21:21:12 +0000
commit8a7f86cc7864e5435fbe89a7e827c734e34ebe17 (patch)
treece7e31a815da0e9165f176c94e407d8161e22fd3 /x11-toolkits/nucleo
parent0f6ac726f54e5e917bc3cc04d0318fa5aa1be86d (diff)
downloadports-8a7f86cc7864e5435fbe89a7e827c734e34ebe17.tar.gz
ports-8a7f86cc7864e5435fbe89a7e827c734e34ebe17.zip
Notes
Diffstat (limited to 'x11-toolkits/nucleo')
-rw-r--r--x11-toolkits/nucleo/Makefile15
-rw-r--r--x11-toolkits/nucleo/files/patch-Makefile.in19
-rw-r--r--x11-toolkits/nucleo/pkg-plist9
3 files changed, 8 insertions, 35 deletions
diff --git a/x11-toolkits/nucleo/Makefile b/x11-toolkits/nucleo/Makefile
index 1960b855e548..074b5a030873 100644
--- a/x11-toolkits/nucleo/Makefile
+++ b/x11-toolkits/nucleo/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nucleo
PORTVERSION= 0.7.6
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= x11-toolkits
MASTER_SITES= http://insitu.lri.fr/metisse/download/nucleo/
@@ -17,8 +17,7 @@ LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng15.so:${PORTSDIR}/graphics/png \
libfreetype.so:${PORTSDIR}/print/freetype2
-USE_BZIP2= yes
-USES= gmake pkgconfig
+USES= gmake libtool pathfix pkgconfig tar:bzip2
USE_GL= glu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-opencv
@@ -63,17 +62,13 @@ CONFIGURE_ARGS+= --without-dns-sd
QT_NONSTANDARD= yes
.endif
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if ${ARCH} == "powerpc" && ${OSVERSION} > 900000
+.if ${ARCH} == "powerpc" && ${OPSYS} == FreeBSD && ${OSVERSION} > 900000
BROKEN= Does not compile on powerpc-9
.endif
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|-lpthread|-pthread|' ${WRKSRC}/configure
-
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/nucleo
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-toolkits/nucleo/files/patch-Makefile.in b/x11-toolkits/nucleo/files/patch-Makefile.in
deleted file mode 100644
index 13d436c410da..000000000000
--- a/x11-toolkits/nucleo/files/patch-Makefile.in
+++ /dev/null
@@ -1,19 +0,0 @@
---- Makefile.in.orig Mon Jan 29 15:59:00 2007
-+++ Makefile.in Thu May 24 17:13:23 2007
-@@ -245,6 +245,7 @@
- infodir = @infodir@
- install_sh = @install_sh@
- libdir = @libdir@
-+libdatadir = @exec_prefix@/libdata
- libexecdir = @libexecdir@
- localedir = @localedir@
- localstatedir = @localstatedir@
-@@ -262,7 +263,7 @@
- SUBDIRS = nucleo apps demos data docs tests build-utils
- EXTRA_DIST = nucleo-config.in LICENSE
- bin_SCRIPTS = nucleo-config
--pkgconfigdir = $(libdir)/pkgconfig
-+pkgconfigdir = $(libdatadir)/pkgconfig
- pkgconfig_DATA = nucleo.pc
- all: all-recursive
-
diff --git a/x11-toolkits/nucleo/pkg-plist b/x11-toolkits/nucleo/pkg-plist
index c7d4d11f0b31..7fb97ffaa610 100644
--- a/x11-toolkits/nucleo/pkg-plist
+++ b/x11-toolkits/nucleo/pkg-plist
@@ -106,15 +106,11 @@ include/nucleo/utils/TimeUtils.H
include/nucleo/xml/XmlParser.H
include/nucleo/xml/XmlStructure.H
include/nucleo/xml/XmlText.H
-lib/libNucleo.la
lib/libNucleo.so
lib/libNucleo.so.0
-@exec mkdir -p %D/lib/nucleo
-%%FFMPEG%%lib/nucleo/nPffmpeg.la
+lib/libNucleo.so.0.0.0
%%FFMPEG%%lib/nucleo/nPffmpeg.so
-%%GD%%lib/nucleo/nPgd.la
%%GD%%lib/nucleo/nPgd.so
-%%QT4%%lib/nucleo/nPqt.la
%%QT4%%lib/nucleo/nPqt.so
libdata/pkgconfig/nucleo.pc
%%DATADIR%%/Info.plist.tmpl
@@ -133,7 +129,8 @@ libdata/pkgconfig/nucleo.pc
%%DATADIR%%/plugin-list
@dirrm %%DATADIR%%/fonts
@dirrm %%DATADIR%%
-@dirrmtry lib/nucleo
+@exec mkdir -p %D/lib/nucleo
+@dirrm lib/nucleo
@dirrm include/nucleo/xml
@dirrm include/nucleo/utils
%%QT4%%@dirrm include/nucleo/plugins/qt