diff --git a/astro/viking/Makefile b/astro/viking/Makefile index 795e0cabb14e..f76cbc1d3f8c 100644 --- a/astro/viking/Makefile +++ b/astro/viking/Makefile @@ -1,91 +1,91 @@ # Created by: David Le Brun # $FreeBSD$ PORTNAME= viking PORTVERSION= 1.6.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= astro MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= koalative@gmail.com COMMENT= Program to manage GPS data (tracks, waypoints, etc.) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs LIB_DEPENDS= libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgexiv2.so:graphics/gexiv2 \ libpcre.so:devel/pcre \ - libpng.so:graphics/png \ - libpthread-stubs.so:devel/libpthread-stubs + libpng.so:graphics/png RUN_DEPENDS= gpsbabel:astro/gpsbabel USES= compiler:c++11-lib gmake iconv desktop-file-utils perl5 pkgconfig tar:bzip2 USE_XORG= pixman x11 xau xcb xcomposite xcursor xdamage xdmcp xext \ xfixes xi xinerama xrandr xrender USE_GNOME= cairo gnomedocutils gtk20 intlhack USE_PERL5= run GNU_CONFIGURE= yes INSTALLS_ICONS= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -pthread PORTDOCS= AUTHORS ChangeLog NEWS README OPTIONS_DEFINE= DOCS GEOCACHES NLS GEOTAG GPSD MAPNIK MBTILES OPTIONS_DEFAULT= GEOTAG GPSD JOSM MAPNIK MBTILES OPTIONS_MULTI= OpenStreetMap-Editor OPTIONS_MULTI_OpenStreetMap-Editor= JOSM MERKAATOR GEOCACHES_DESC= GeoCaches Acquire support GEOTAG_DESC= Geotag support GPSD_DESC= Realtime GPS tracking MAPNIK_DESC= Mapnik support MBTILES_DESC= MBTiles support JOSM_DESC= Edit OpenStreetMap via JOSM MERKAATOR_DESC= Edit OpenStreetMap via Merkaartor OPTIONS_SUB= yes GEOCACHES_CONFIGURE_ENABLE= geocaches GEOCACHES_SUB_FILES= pkg-message NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext GEOTAG_LIB_DEPENDS= libexif.so:graphics/libexif GEOTAG_CONFIGURE_ENABLE=geotag GPSD_LIB_DEPENDS= libgpsd.so:astro/gpsd GPSD_CONFIGURE_ENABLE= realtime-gps-tracking MAPNIK_LIB_DEPENDS= libmapnik.so:graphics/mapnik MAPNIK_CONFIGURE_ENV= ac_cv_lib_icuuc_main=no # indirect MAPNIK_CONFIGURE_ENABLE= mapnik MBTILES_USES= sqlite MBTILES_CONFIGURE_ENABLE= mbtiles JOSM_RUN_DEPENDS= josm:astro/josm MERKAATOR_RUN_DEPENDS= merkaartor:astro/merkaartor post-patch: @${REINPLACE_CMD} -e '/as_fn_error.*libicuuc/d' ${WRKSRC}/configure @${REINPLACE_CMD} -e '/^AM_CFLAGS/s| -g | |' ${WRKSRC}/src/Makefile.in @${REINPLACE_CMD} -e 's|Science;|Education;Science;|' \ ${WRKSRC}/src/viking.desktop.in post-install: ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/py-karaoke/Makefile b/audio/py-karaoke/Makefile index 52b25d4dffc1..3c1672a3822c 100644 --- a/audio/py-karaoke/Makefile +++ b/audio/py-karaoke/Makefile @@ -1,96 +1,96 @@ # Created by: Elias Mandouvalos # $FreeBSD$ PORTNAME= karaoke PORTVERSION= 0.7.5 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= audio python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Python karaoke application (Plays CD+G, MP3+G, OGG+G files) LICENSE= LGPL21+ -BUILD_DEPENDS= ${PYGAME} -LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs \ - libaa.so:graphics/aalib +BUILD_DEPENDS= ${PYGAME} \ + ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs +LIB_DEPENDS= libaa.so:graphics/aalib RUN_DEPENDS= dejavu>0:x11-fonts/dejavu \ ${PYGAME} \ ${PYNUMPY} USES= compiler:c++11-lib desktop-file-utils iconv python:2 zip USE_SDL= sdl USE_XORG= x11 xau xcb xdmcp USE_WX= 3.0+ WX_COMPS= python:lib USE_PYTHON= distutils autoplist DATADIR= ${PREFIX}/share/py${PORTNAME} PLIST_FILES= ${BIN_SCRIPTS:S,^,bin/,} \ ${DATA_FONTS:S,^,%%DATADIR%%/fonts/,} OPTIONS_DEFINE= MUTAGEN MUTAGEN_DESC= Mutagen support MUTAGEN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen BIN_SCRIPTS= cdg2mpg pycdg pykar pykaraoke pykaraoke_mini pympg DATA_FONTS= DejaVuSans.ttf DejaVuSansCondensed.ttf \ DejaVuSansCondensed-Bold.ttf .include .if ${OPSYS} == FreeBSD && ${CHOSEN_COMPILER_TYPE} == gcc MAKE_ENV+= LD_LIBRARY_PATH="${LOCALBASE}/lib/${CC}:$$LD_LIBRARY_PATH" .endif post-patch: @${REINPLACE_CMD} -e \ 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.cfg @${REINPLACE_CMD} -e \ '/if /s|==|=|' ${WRKSRC}/install/cdg2mpg .for i in pykaraoke.desktop pykaraoke_mini.desktop @${REINPLACE_CMD} -e \ '/^Encodings=/d ; \ /^Icon=/s|/usr/share/pykaraoke|${DATADIR}| ; \ /^MimeType=/s|audio/midi$$|audio/midi;| ; \ /^Categories=/s|Application;||' ${WRKSRC}/install/${i} .endfor post-build: @${MKDIR} ${WRKDIR}/wrappers .for i in ${BIN_SCRIPTS} @${ECHO_CMD} -n \ >> ${WRKDIR}/wrappers/${i} @${ECHO_CMD} '#!/bin/sh' \ >> ${WRKDIR}/wrappers/${i} .if ${OPSYS} == FreeBSD && ${CHOSEN_COMPILER_TYPE} == gcc @${ECHO_CMD} 'LD_LIBRARY_PATH="${LOCALBASE}/lib/${CC}:$$LD_LIBRARY_PATH"' \ >> ${WRKDIR}/wrappers/${i} @${ECHO_CMD} 'export LD_LIBRARY_PATH' \ >> ${WRKDIR}/wrappers/${i} @${ECHO_CMD} \ >> ${WRKDIR}/wrappers/${i} .endif @${ECHO_CMD} 'exec ${PREFIX}/libexec/${i} "$$@"' \ >> ${WRKDIR}/wrappers/${i} .endfor post-install: .for i in ${BIN_SCRIPTS} (cd ${WRKDIR}/wrappers && ${INSTALL_SCRIPT} ${i} \ ${STAGEDIR}${PREFIX}/bin) .endfor @${MKDIR} ${STAGEDIR}${DATADIR}/fonts .for i in ${DATA_FONTS} @${LN} -sf ${LOCALBASE}/share/fonts/dejavu/${i} \ ${STAGEDIR}${DATADIR}/fonts .endfor @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_pycdgAux.so .include diff --git a/audio/xmms-curses/Makefile b/audio/xmms-curses/Makefile index 71a064997031..b4faafe731fa 100644 --- a/audio/xmms-curses/Makefile +++ b/audio/xmms-curses/Makefile @@ -1,32 +1,32 @@ # Created by: Ion-Mihai "IOnut" Tetcu # $FreeBSD$ PORTNAME= xmms-curses PORTVERSION= 0.2.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Ncurses program for (remote) controlling multimedia/xmms -BUILD_DEPENDS= xmms:multimedia/xmms +BUILD_DEPENDS= xmms:multimedia/xmms \ + ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs RUN_DEPENDS= xmms:multimedia/xmms -LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs USES= gettext iconv ncurses USE_GNOME= gtk12 USE_XORG= x11 xau xcb xdmcp xext xi do-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${CC} ${CFLAGS} -lpthread -lncurses \ `xmms-config --cflags --libs` -o xmms-curses *.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xmms-curses ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xmms-curses.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample .include diff --git a/cad/brlcad/Makefile b/cad/brlcad/Makefile index 876e9075a93d..6485ba7b5e49 100644 --- a/cad/brlcad/Makefile +++ b/cad/brlcad/Makefile @@ -1,60 +1,60 @@ # Created by: Pedro F. Giffuni # $FreeBSD$ PORTNAME= brlcad PORTVERSION= 7.24.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/BRL-CAD%20Source/${PORTVERSION} MAINTAINER= erik@brlcad.org COMMENT= CSG modelling system from the US Ballistic Research Laboratory DEPRECATED= Depends on expring graphics/urt EXPIRATION_DATE=2017-04-01 -BUILD_DEPENDS= ${LOCALBASE}/include/tnt/jama_lu.h:math/jama \ +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs \ + ${LOCALBASE}/include/tnt/jama_lu.h:math/jama \ xsltproc:textproc/libxslt -LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs \ - libdrm.so:graphics/libdrm \ +LIB_DEPENDS= libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ librle.so:graphics/urt \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig USE_GL= gl glu USE_XORG= ice inputproto sm x11 xau xcb xdamage xdmcp xext xfixes xft xi \ xproto xrender xscrnsaver xt xxf86vm USES= tar:bzip2 bison pathfix cmake:outsource pkgconfig tk:85 USE_LDCONFIG= yes PREFIX?= ${LOCALBASE}/${PORTNAME} NO_MTREE= yes PLIST_SUB+= PORTVERSION=${PORTVERSION} CFLAGS+= -I${LOCALBASE}/include #LDFLAGS+= -L${LOCALBASE}/lib CMAKE_ARGS= -DBRLCAD_ENABLE_STRICT:BOOL=OFF MANPREFIX= ${PREFIX}/share BROKEN_sparc64= does not compile: invokes i386 assembler post-patch: @${REINPLACE_CMD} "s+-exact Tcl 8\.5\.9+Tcl 8.5+" ${WRKSRC}/src/other/tcl/library/init.tcl pre-install: ${CP} ${FILESDIR}/mged.sh ${WRKSRC} ${REINPLACE_CMD} -e 's+%%BRLCAD_ROOT%%+${PREFIX}+g;' ${WRKSRC}/mged.sh # note that installing outside of PREFIX wigs out package stuff... :/ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/mged.sh ${STAGEDIR}${PREFIX}/bin/mged.sh ${MKDIR} ${STAGEDIR}${LOCALBASE}/bin ${LN} -s ${PREFIX}/bin/mged.sh ${STAGEDIR}${LOCALBASE}/bin/mged.sh regression-test: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} test) .include diff --git a/cad/openvsp/Makefile b/cad/openvsp/Makefile index 7dcdf6847f44..9d47d3c4da6c 100644 --- a/cad/openvsp/Makefile +++ b/cad/openvsp/Makefile @@ -1,65 +1,66 @@ # Created by: Fernando Apesteguia # $FreeBSD$ PORTNAME= openvsp PORTVERSION= 3.10.0 +PORTREVISION= 1 DISTVERSIONPREFIX= ${GH_PROJECT}_ CATEGORIES= cad MAINTAINER= fernando.apesteguia@gmail.com COMMENT= Create a 3D model of an aircraft defined by engineering parameters LICENSE= NOSA13 LICENSE_NAME= NASA Open Source Agreement version 1.3 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs \ - libdrm.so:graphics/libdrm \ +LIB_DEPENDS= libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libfltk.so:x11-toolkits/fltk \ libGLEW.so:graphics/glew \ libcpptest.so:devel/cpptest BUILD_DEPENDS= ${LOCALBASE}/lib/libopenNURBS.a:graphics/opennurbs \ ${LOCALBASE}/include/eli/code_eli.hpp:graphics/code-eli \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ - ${LOCALBASE}/include/eigen3/Eigen/Array:math/eigen3 + ${LOCALBASE}/include/eigen3/Eigen/Array:math/eigen3 \ + ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs USE_GITHUB= yes GH_PROJECT= OpenVSP GH_ACCOUNT= ${GH_PROJECT} CMAKE_SOURCE_PATH= ${WRKSRC}/SuperProject CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX} USES= cmake:outsource compiler:gcc-c++11-lib jpeg CMAKE_ARGS= -DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \ -DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=yes \ -DVSP_USE_SYSTEM_LIBXML2:BOOLEAN=yes \ -DVSP_USE_SYSTEM_EIGEN:BOOLEAN=yes \ -DVSP_USE_SYSTEM_FLTK:boolean=yes \ -DVSP_USE_SYSTEM_CMINPACK:boolean=no \ -DVSP_USE_SYSTEM_GLM:BOOLEAN=yes \ -DVSP_USE_SYSTEM_GLEW:BOOLEAN=yes USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft \ xinerama xrender xxf86vm USE_GL= gl glu USE_GNOME= libxml2 CFLAGS+= -I${LOCALBASE}/include/openNURBS BUILD_PREFIX= OpenVSP-prefix/src/OpenVSP-build/_CPack_Packages/FreeBSD/ZIP/OpenVSP-${PORTVERSION}-FreeBSD do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${BUILD_PREFIX}/vsp* ${STAGEDIR}${PREFIX}/bin @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/vsp* @${MKDIR} ${STAGEDIR}${DATADIR} .for d in CustomScripts airfoil matlab scripts textures (cd ${BUILD_WRKSRC}/${BUILD_PREFIX}/${d} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) .endfor ${CP} ${BUILD_WRKSRC}/${BUILD_PREFIX}/LICENSE ${STAGEDIR}${DATADIR} .include diff --git a/devel/libpthread-stubs/Makefile b/devel/libpthread-stubs/Makefile index b351f46489b3..927d19a4b3d1 100644 --- a/devel/libpthread-stubs/Makefile +++ b/devel/libpthread-stubs/Makefile @@ -1,18 +1,18 @@ # Created by: wahjava # $FreeBSD$ PORTNAME= libpthread-stubs -PORTVERSION= 0.3 -PORTREVISION= 6 +PORTVERSION= 0.4 CATEGORIES= devel MASTER_SITES= http://xcb.freedesktop.org/dist/ MAINTAINER= ashish@FreeBSD.org COMMENT= This library provides weak aliases for pthread functions USES= libtool pathfix tar:bzip2 USE_LDCONFIG= yes - GNU_CONFIGURE= yes +PLIST_FILES= libdata/pkgconfig/pthread-stubs.pc + .include diff --git a/devel/libpthread-stubs/distinfo b/devel/libpthread-stubs/distinfo index 25e9f1bfd3a9..d7153dd96114 100644 --- a/devel/libpthread-stubs/distinfo +++ b/devel/libpthread-stubs/distinfo @@ -1,2 +1,3 @@ -SHA256 (libpthread-stubs-0.3.tar.bz2) = 35b6d54e3cc6f3ba28061da81af64b9a92b7b757319098172488a660e3d87299 -SIZE (libpthread-stubs-0.3.tar.bz2) = 203468 +TIMESTAMP = 1490198411 +SHA256 (libpthread-stubs-0.4.tar.bz2) = e4d05911a3165d3b18321cc067fdd2f023f06436e391c6a28dff618a78d2e733 +SIZE (libpthread-stubs-0.4.tar.bz2) = 57565 diff --git a/devel/libpthread-stubs/files/patch-Makefile.in b/devel/libpthread-stubs/files/patch-Makefile.in deleted file mode 100644 index 6d3234911187..000000000000 --- a/devel/libpthread-stubs/files/patch-Makefile.in +++ /dev/null @@ -1,25 +0,0 @@ ---- Makefile.in.orig -+++ Makefile.in -@@ -75,9 +75,9 @@ - LTLIBRARIES = $(lib_LTLIBRARIES) - libpthread_stubs_la_LIBADD = - am__libpthread_stubs_la_SOURCES_DIST = stubs.c --@BUILD_LIB_TRUE@am_libpthread_stubs_la_OBJECTS = stubs.lo -+am_libpthread_stubs_la_OBJECTS = stubs.lo - libpthread_stubs_la_OBJECTS = $(am_libpthread_stubs_la_OBJECTS) --@BUILD_LIB_TRUE@am_libpthread_stubs_la_rpath = -rpath $(libdir) -+am_libpthread_stubs_la_rpath = -rpath $(libdir) - DEFAULT_INCLUDES = -I.@am__isrc@ - depcomp = $(SHELL) $(top_srcdir)/depcomp - am__depfiles_maybe = depfiles -@@ -221,8 +221,8 @@ - top_srcdir = @top_srcdir@ - pkgconfigdir = $(prefix)/libdata/pkgconfig - pkgconfig_DATA = pthread-stubs.pc --@BUILD_LIB_TRUE@lib_LTLIBRARIES = libpthread-stubs.la --@BUILD_LIB_TRUE@libpthread_stubs_la_SOURCES = stubs.c -+lib_LTLIBRARIES = libpthread-stubs.la -+libpthread_stubs_la_SOURCES = stubs.c - all: config.h - $(MAKE) $(AM_MAKEFLAGS) all-am - diff --git a/devel/libpthread-stubs/files/patch-stubs.c b/devel/libpthread-stubs/files/patch-stubs.c deleted file mode 100644 index 4290eb2e6987..000000000000 --- a/devel/libpthread-stubs/files/patch-stubs.c +++ /dev/null @@ -1,28 +0,0 @@ -XXX This is a big hack as we cannot define pthread_condattr_{init,destroy} -here, or we will conflict with the weak symbols in libthr. The way our linker -works, the weak symbols will be resolved here, and pthread_condattr functions -will not work even in threaded applications. - -I am working to get these symbols added to libc, but in the meantime, this -is needed to avoid crashes in threaded applications which make use of -pthread_condattr*. ---- stubs.c.orig 2009-11-27 17:15:30.000000000 -0500 -+++ stubs.c 2009-11-27 17:16:29.000000000 -0500 -@@ -91,7 +91,7 @@ int pthread_cond_destroy() __attribute__ - # endif - #endif - --#ifndef HAVE_PTHREAD_CONDATTR_INIT -+#if 0 - #define NEED_ZERO_STUB - # ifdef SUPPORT_ATTRIBUTE_ALIAS - int pthread_condattr_init() __attribute__ ((weak, alias ("__pthread_zero_stub"))); -@@ -100,7 +100,7 @@ int pthread_condattr_init() __attribute_ - # endif - #endif - --#ifndef HAVE_PTHREAD_CONDATTR_DESTROY -+#if 0 - #define NEED_ZERO_STUB - # ifdef SUPPORT_ATTRIBUTE_ALIAS - int pthread_condattr_destroy() __attribute__ ((weak, alias ("__pthread_zero_stub"))); diff --git a/devel/libpthread-stubs/pkg-plist b/devel/libpthread-stubs/pkg-plist deleted file mode 100644 index d027c649d4ba..000000000000 --- a/devel/libpthread-stubs/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -lib/libpthread-stubs.a -lib/libpthread-stubs.so -lib/libpthread-stubs.so.0 -lib/libpthread-stubs.so.0.0.0 -libdata/pkgconfig/pthread-stubs.pc diff --git a/games/capicity/Makefile b/games/capicity/Makefile index 4f68da62716d..d92b0b8fa3b4 100644 --- a/games/capicity/Makefile +++ b/games/capicity/Makefile @@ -1,66 +1,66 @@ # Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= capicity PORTVERSION= 1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= SF/capitalism/Capi%20City/${PORTVERSION}/ DISTNAME= CapiCity_${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Qt client for the Monopd server LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/copying.txt -LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs \ - libpcre.so:devel/pcre \ +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs +LIB_DEPENDS= libpcre.so:devel/pcre \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig WRKSRC= ${WRKDIR}/CapiCity_${PORTVERSION} USES= iconv qmake USE_XORG= ice sm x11 xau xcb xdmcp xext xrender USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \ corelib gui network script xml PORTDOCS= README changelog INSTALLS_ICONS= yes ICON_SIZES= 16x16 22x22 24x24 32x32 48x48 64x64 DESKTOP_ENTRIES="Capi City" "" "${PORTNAME}" \ "${PORTNAME}" "Game;BoardGame;" "" OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext do-install: ${INSTALL_PROGRAM} ${WRKSRC}/CapiCity \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .for d in games images @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps ${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ do-install-NLS-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${STAGEDIR}${DATADIR}) do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/capitalism/Makefile b/games/capitalism/Makefile index 5de58fa6d48d..e9d030909808 100644 --- a/games/capitalism/Makefile +++ b/games/capitalism/Makefile @@ -1,70 +1,70 @@ # Created by: Rusmir Dusko # $FreeBSD$ PORTNAME= capitalism PORTVERSION= 0.5.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Capitalism/0.5/ EXTRACT_SUFX= .tbz MAINTAINER= ports@FreeBSD.org COMMENT= Qt client for the Monopd server LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/copying.txt -LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs \ - libpcre.so:devel/pcre \ +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs +LIB_DEPENDS= libpcre.so:devel/pcre \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig WRKSRC= ${WRKDIR}/Capitalism-${PORTVERSION} USES= iconv qmake USE_XORG= ice sm x11 xau xcb xdmcp xext xrender USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \ corelib gui network script xml PORTDOCS= README changelog readme.txt INSTALLS_ICONS= yes ICON_SIZES= 16x16 22x22 24x24 32x32 48x48 64x64 DESKTOP_ENTRIES="Capitalism" "" "${PORTNAME}" \ "${PORTNAME}" "Game;BoardGame;" "" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext .include do-install: ${INSTALL_PROGRAM} ${WRKSRC}/Capitalism \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .for d in games images @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor .if ${PORT_OPTIONS:MNLS} @(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${STAGEDIR}${DATADIR}) .endif .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps ${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/spellathon/Makefile b/games/spellathon/Makefile index f36913fb2d68..5caeb4d3d5d2 100644 --- a/games/spellathon/Makefile +++ b/games/spellathon/Makefile @@ -1,50 +1,50 @@ # Created by: Girish # $FreeBSD$ PORTNAME= spellathon PORTVERSION= 6.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Spellathon%20${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Word game to test your English vocabulary skills LICENSE= BSD2CLAUSE -LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs \ - libpcre.so:devel/pcre \ +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs +LIB_DEPENDS= libpcre.so:devel/pcre \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig CXXFLAGS+= -fPIC USES= gettext iconv qmake USE_GNOME= glib20 USE_QT4= corelib gui moc_build rcc_build uic_build USE_XORG= ice sm x11 xau xcb xdmcp xext xrender USE_LDCONFIG= yes CONFIGURE_WRKSRC= ${WRKSRC}/src/gui DESKTOP_ENTRIES="Spellathon" "" "" "${PORTNAME}" "Education;Languages;" true post-patch: @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ 's|$${CC}|$${CXX}|g ; \ s|$${CFLAGS}|$${CXXFLAGS}|g ; \ s|qmake-qt4|${TRUE}|' @${REINPLACE_CMD} \ 's|dict/words.txt|${DATADIR}/words.txt|' ${WRKSRC}/src/logic/defines.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/spellathon ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/spellathon-cl ${STAGEDIR}${PREFIX}/bin ${INSTALL_LIB} ${WRKSRC}/libspellathon.so.0.0 ${STAGEDIR}${PREFIX}/lib ${LN} -sf libspellathon.so.0.0 ${STAGEDIR}${PREFIX}/lib/libspellathon.so ${LN} -sf libspellathon.so.0.0 ${STAGEDIR}${PREFIX}/lib/libspellathon.so.0 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/dict/words.txt ${STAGEDIR}${DATADIR} .include diff --git a/graphics/gbm/Makefile b/graphics/gbm/Makefile index cd8bf5826219..7db148fedcf9 100644 --- a/graphics/gbm/Makefile +++ b/graphics/gbm/Makefile @@ -1,30 +1,30 @@ # Created by: kwm@FreeBSD.org # $FreeBSD$ PORTNAME= gbm PORTVERSION= ${MESAVERSION} PORTREVISION= 0 CATEGORIES= graphics COMMENT= gbm library -LIB_DEPENDS+= libpthread-stubs.so:devel/libpthread-stubs \ - libexpat.so:textproc/expat2 \ +BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs +LIB_DEPENDS+= libexpat.so:textproc/expat2 \ libdrm.so:graphics/libdrm \ libglapi.so:graphics/libglapi USE_XORG= x11 xau xcb xdmcp # stuff not needed by gbm but configure wants it USE_XORG+= dri2proto dri3proto glproto presentproto xdamage xext xfixes \ xshmfence .include .include "${.CURDIR}/../../graphics/libGL/Makefile.common" MESA_BUILD_WRKSRC= src/mapi src/gbm MESA_INSTALL_WRKSRC= src/gbm .include "${.CURDIR}/../../graphics/libGL/Makefile.targets" .include diff --git a/graphics/libEGL/Makefile b/graphics/libEGL/Makefile index 2e4925685b48..3da0c811e80a 100644 --- a/graphics/libEGL/Makefile +++ b/graphics/libEGL/Makefile @@ -1,30 +1,30 @@ # Created by: kwm@FreeBSD.org # $FreeBSD$ PORTNAME= libEGL PORTVERSION= ${MESAVERSION} PORTREVISION= 0 CATEGORIES= graphics COMMENT= OpenEGL library -LIB_DEPENDS+= libpthread-stubs.so:devel/libpthread-stubs \ - libexpat.so:textproc/expat2 \ +BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs +LIB_DEPENDS+= libexpat.so:textproc/expat2 \ libdrm.so:graphics/libdrm USE_GL= gbm USE_XORG= x11 xau xcb xdmcp # stuff not needed by libEGL but configure wants it USE_XORG+= dri2proto dri3proto glproto presentproto xdamage xext xfixes \ xshmfence .include .include "${.CURDIR}/../../graphics/libGL/Makefile.common" MESA_BUILD_WRKSRC= src/mapi src/gbm src/egl/ MESA_INSTALL_WRKSRC= src/egl .include "${.CURDIR}/../../graphics/libGL/Makefile.targets" .include diff --git a/graphics/libdrm/Makefile b/graphics/libdrm/Makefile index 4538dee79513..beb2356a9404 100644 --- a/graphics/libdrm/Makefile +++ b/graphics/libdrm/Makefile @@ -1,87 +1,86 @@ # Created by: lesi@FreeBSD.org # $FreeBSD$ PORTNAME= libdrm PORTVERSION= 2.4.75 PORTEPOCH= 1 PORTREVISION= 2 CATEGORIES= graphics x11 MASTER_SITES= http://dri.freedesktop.org/libdrm/ MAINTAINER= x11@FreeBSD.org COMMENT= Userspace interface to kernel Direct Rendering Module services LICENSE= MIT -BUILD_DEPENDS= libdevq>=0.0.4:devel/libdevq +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs LIB_DEPENDS= libpciaccess.so:devel/libpciaccess \ - libdevq.so:devel/libdevq \ - libpthread-stubs.so:devel/libpthread-stubs + libdevq.so:devel/libdevq USES= libtool pkgconfig tar:bzip2 GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= MANPAGES .if defined(PACKAGE_BUILDING) OPTIONS_DEFAULT+= MANPAGES .endif .include # KMS support in the kernel is only build on these archs, disable others .if ${ARCH} == "amd64" || ${ARCH} == "i386" CONFIGURE_ARGS+=--enable-libkms PLIST_SUB+= KMS="" .else CONFIGURE_ARGS+=--disable-libkms PLIST_SUB+= KMS="@comment " .endif .if ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl USE_GNOME+= libxslt:build PLIST_SUB+= MAN="" .else CONFIGURE_ARGS+=--disable-manpages PLIST_SUB+= MAN="@comment " .endif CONFIGURE_ARGS+=--disable-vmwgfx .if ${ARCH} == amd64 || ${ARCH} == i386 PLIST_SUB+= ARM_DRIVERS="@comment " PLIST_SUB+= INTEL_DRIVER="" PLIST_SUB+= NOUVEAU_DRIVER="" PLIST_SUB+= RADEON_DRIVERS="" .elif ${ARCH} == powerpc || ${ARCH} == powerpc64 PLIST_SUB+= ARM_DRIVERS="@comment " PLIST_SUB+= INTEL_DRIVER="@comment " PLIST_SUB+= NOUVEAU_DRIVER="" PLIST_SUB+= RADEON_DRIVERS="" .elif ${ARCH} == armv6 || ${ARCH} == aarch64 PLIST_SUB+= ARM_DRIVERS="" PLIST_SUB+= INTEL_DRIVER="@comment " PLIST_SUB+= NOUVEAU_DRIVER="@comment " PLIST_SUB+= RADEON_DRIVERS="@comment " .else PLIST_SUB+= ARM_DRIVERS="@comment " PLIST_SUB+= INTEL_DRIVER="@comment " PLIST_SUB+= NOUVEAU_DRIVER="@comment " PLIST_SUB+= RADEON_DRIVERS="@comment " .endif # This variable is not for users. So use a non-default name, intended for # people working on DRM kernel module development. .if !defined(LIBDRM_SKIP_RETURN_PATCH) EXTRA_PATCHES+= ${FILESDIR}/extra-xf86drm.c .endif pre-patch: @${REINPLACE_CMD} 's|{libdir}/pkgconfig|{prefix}/libdata/pkgconfig|g; \ s,i?86|x86_64),i?86|amd64|x86_64),g' \ ${WRKSRC}/configure .include diff --git a/graphics/libglapi/Makefile b/graphics/libglapi/Makefile index 42f4e2bbc11c..bbf5bc75f1f1 100644 --- a/graphics/libglapi/Makefile +++ b/graphics/libglapi/Makefile @@ -1,36 +1,36 @@ # Created by: kwm@FreeBSD.org # $FreeBSD$ PORTNAME= libglapi PORTVERSION= ${MESAVERSION} PORTREVISION= 0 CATEGORIES= graphics COMMENT= Common GL api library used by Mesa based ports LICENSE= MIT -LIB_DEPENDS+= libpthread-stubs.so:devel/libpthread-stubs +BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs USE_XORG= x11 xau xcb xdmcp xvmc # stuff not needed by libglapi but configure wants it USE_XORG+= dri2proto dri3proto glproto presentproto xdamage xext xfixes \ xshmfence LIB_DEPENDS+= libexpat.so:textproc/expat2 \ libdrm.so:graphics/libdrm .include .include "${.CURDIR}/../../graphics/libGL/Makefile.common" MESA_BUILD_WRKSRC= src/mapi MESA_INSTALL_WRKSRC= src/mapi .include "${.CURDIR}/../../graphics/libGL/Makefile.targets" post-install: @${RM} -r ${STAGEDIR}${PREFIX}/include/GLES* @${RM} ${STAGEDIR}${PREFIX}/lib/libGLESv2.so* @${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/glesv2.pc .include diff --git a/graphics/libreatlas/Makefile b/graphics/libreatlas/Makefile index 2915a1542522..b7a4f3b29b3d 100644 --- a/graphics/libreatlas/Makefile +++ b/graphics/libreatlas/Makefile @@ -1,53 +1,53 @@ # Created by: lbartoletti # $FreeBSD$ PORTNAME= libreatlas PORTVERSION= 1.0.0a -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= graphics geography MASTER_SITES= http://www.gaia-gis.it/gaia-sins/ MAINTAINER= coder@tuxfamily.org COMMENT= Open Source Geography Education application LICENSE= GPLv3 +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs LIB_DEPENDS= libmspack.so:archivers/libmspack \ libspatialite.so:databases/spatialite \ libsqlite3.so:databases/sqlite3 \ - libpthread-stubs.so:devel/libpthread-stubs \ libpcre.so:devel/pcre \ libcairo.so:graphics/cairo \ libgeos.so:graphics/geos \ libjbig.so:graphics/jbigkit \ libgeotiff.so:graphics/libgeotiff \ librasterlite.so:graphics/librasterlite \ libpng.so:graphics/png \ libproj.so:graphics/proj \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfreexl.so:textproc/freexl \ libfontconfig.so:x11-fonts/fontconfig GNU_CONFIGURE= yes USES= gettext gmake iconv jpeg pathfix pkgconfig USE_XORG= ice pixman sm x11 xau xcb xcomposite xcursor xdamage xdmcp xext \ xfixes xi xinerama xrandr xrender xxf86vm USE_GNOME= atk gdkpixbuf2 glib20 gtk20 pango USE_WX= 2.8 WX_UNICODE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib LIBS+= -lgeos_c -lsqlite3 PLIST_FILES= bin/LibreAtlas DESKTOP_ENTRIES="LibreAtlas" "${COMMENT}" "" "LibreAtlas" \ "Graphics;Viewer;" true post-patch: @${REINPLACE_CMD} -e 's|wx-config|$${WX_CONFIG}|' ${WRKSRC}/configure .include diff --git a/net/x11vnc/Makefile b/net/x11vnc/Makefile index 6c0119c799f4..8da677e4b1a7 100644 --- a/net/x11vnc/Makefile +++ b/net/x11vnc/Makefile @@ -1,44 +1,44 @@ # Created by: Loren M. Lang # $FreeBSD$ PORTNAME= x11vnc PORTVERSION= 0.9.13 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net MASTER_SITES= SF/libvncserver/${PORTNAME}/${PORTVERSION} MAINTAINER= dinoex@FreeBSD.org COMMENT= VNC server for use with real X displays LICENSE= GPLv2 -LIB_DEPENDS= libdbus-1.so:devel/dbus \ - libpthread-stubs.so:devel/libpthread-stubs +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs +LIB_DEPENDS= libdbus-1.so:devel/dbus USE_XORG= x11 xcb xdamage xfixes xrandr xinerama xext xtst xau xrender \ xdmcp recordproto # Sets LDFLAGS and adds to CONFIGURE_ENV, therefore we set LDFLAGS LDFLAGS+= -L${LOCALBASE}/lib USES= iconv pkgconfig jpeg ssl GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include PORTDOCS= AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO OPTIONS_DEFINE= NLS AVAHI DOCS OPTIONS_DEFAULT=AVAHI NO_OPTIONS_SORT=yes NLS_USES= gettext AVAHI_LIB_DEPENDS= libavahi-common.so:net/avahi-app AVAHI_CONFIGURE_OFF= --without-avahi post-patch: ${REINPLACE_CMD} -e 's|include_HEADERS = |noinst_HEADERS = |' \ -e 's|am__include_HEADERS_DIST|am__noinst_HEADERS_DIST|' \ -e 's|/include/rfb|/include|' ${WRKSRC}/Makefile.in post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .include diff --git a/science/massxpert/Makefile b/science/massxpert/Makefile index 3a8a986c1ea6..3dbd00101301 100644 --- a/science/massxpert/Makefile +++ b/science/massxpert/Makefile @@ -1,31 +1,31 @@ # Created by: Veniamin Gvozdikov # $FreeBSD$ PORTNAME= massxpert PORTVERSION= 3.4.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= science MASTER_SITES= http://download.tuxfamily.org/massxpert/source/ MAINTAINER= vg@FreeBSD.org COMMENT= massXpert software for (bio)chemists LICENSE= GPLv3 -LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs \ - libpcre.so:devel/pcre \ +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs +LIB_DEPENDS= libpcre.so:devel/pcre \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig USE_GCC= any USES= cmake gettext tar:bzip2 USE_XORG= ice sm x11 xau xcb xdmcp xext xrender USE_GNOME= glib20 USE_QT4= corelib gui xml rcc_build qmake_build uic_build moc_build \ svg USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes .include diff --git a/x11-wm/echinus/Makefile b/x11-wm/echinus/Makefile index c34d23caf2f3..57989d372d93 100644 --- a/x11-wm/echinus/Makefile +++ b/x11-wm/echinus/Makefile @@ -1,41 +1,41 @@ # Created by: hrkfrd@gmail.com # $FreeBSD$ PORTNAME= echinus PORTVERSION= 0.4.9 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-wm MASTER_SITES= http://plhk.ru/static/echinus/ MAINTAINER= hrkfdn@gmail.com COMMENT= Dynamic window manager for X11 based on dwm -LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs \ - libfreetype.so:print/freetype2 \ +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs +LIB_DEPENDS= libfreetype.so:print/freetype2 \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig USES= pkgconfig USE_XORG= x11 xau xcb xdmcp xext xft xrender xrandr FILES= echinusrc close.xbm iconify.xbm max.xbm PLIST_FILES= bin/echinus \ etc/echinus/close.xbm \ etc/echinus/iconify.xbm \ etc/echinus/max.xbm \ etc/echinus/echinusrc \ man/man1/echinus.1.gz SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} 's|-Os|${CFLAGS}|' ${WRKSRC}/config.mk do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${ETCDIR}/ .include diff --git a/x11/slim/Makefile b/x11/slim/Makefile index c19e1317e170..dd86ceb64e73 100644 --- a/x11/slim/Makefile +++ b/x11/slim/Makefile @@ -1,61 +1,61 @@ # Created by: Tobias Roth # $FreeBSD$ PORTNAME= slim PORTVERSION= 1.3.6 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= x11 MASTER_SITES= ftp://ftp.berlios.de/pub/slim/ \ SF/slim.berlios MAINTAINER= henry.hu.sh@gmail.com COMMENT= Graphical login manager for X11, derived from Login.app LICENSE= GPLv2 -LIB_DEPENDS= libpthread-stubs.so:devel/libpthread-stubs \ - libpng.so:graphics/png \ +BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs +LIB_DEPENDS= libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USES= cmake jpeg pkgconfig USE_XORG= ice sm x11 xau xcb xdmcp xext xft xmu xorg-server xrandr \ xrender xt USE_RC_SUBR= slim USE_LDCONFIG= yes SUB_FILES= pkg-message CMAKE_ARGS= -DUSE_CONSOLEKIT=yes \ - -DBUILD_SLIMLOCK=no \ - -DBUILD_SHARED_LIBS=yes + -DBUILD_SLIMLOCK=no \ + -DBUILD_SHARED_LIBS=yes OPTIONS_DEFINE= PAM UTF8 CONSOLEKIT OPTIONS_DEFAULT= PAM CONSOLEKIT OPTIONS_SUB= yes UTF8_DESC= Support UTF-8 characters CONSOLEKIT_DESC=Enable support for consolekit PLIST_SUB+= VERSION="${PORTVERSION}" PAM_CMAKE_ON= -DUSE_PAM=yes PAM_CMAKE_OFF= -DUSE_PAM=no # patch taken from slim-unicode in Arch User Repository UTF8_EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-utf8 CONSOLEKIT_CMAKE_ON= -DUSE_CONSOLEKIT=yes CONSOLEKIT_LIB_DEPENDS= libck-connector.so:sysutils/consolekit CONSOLEKIT_CMAKE_OFF= -DUSE_CONSOLEKIT=no post-patch: @${CP} ${WRKSRC}/slim.conf ${WRKSRC}/slim.conf.sample @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/slim.conf.sample @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \ ${WRKSRC}/slim.1 post-install-PAM-on: ${INSTALL_DATA} ${FILESDIR}/pam.conf ${STAGEDIR}${PREFIX}/etc/pam.d/slim.sample .include