aboutsummaryrefslogtreecommitdiff
path: root/port-files
diff options
context:
space:
mode:
Diffstat (limited to 'port-files')
-rw-r--r--port-files/FreeBSD/Makefile13
-rwxr-xr-xport-files/mkport-freebsd.sh66
2 files changed, 9 insertions, 70 deletions
diff --git a/port-files/FreeBSD/Makefile b/port-files/FreeBSD/Makefile
index 7aea1fab..f8f238dc 100644
--- a/port-files/FreeBSD/Makefile
+++ b/port-files/FreeBSD/Makefile
@@ -2,9 +2,7 @@
# $FreeBSD$
PORTNAME= lumina
-PORTVERSION= 1.0.0
-DISTVERSIONPREFIX= v
-DISTVERSIONSUFFIX= -Beta1
+PORTVERSION= %%CHGVERSION%%
PORTEPOCH= 1
CATEGORIES= x11
@@ -36,14 +34,21 @@ RUN_DEPENDS+= gstreamer1-plugins-core>=0:multimedia/gstreamer1-plugins-core
MAKE_JOBS_UNSAFE=yes
+USE_GL= gl
USE_XORG= x11 xdamage xcb
-USE_XCB= x11extras wm ewmh util-wm
USE_LDCONFIG= yes
USE_QT5= core gui widgets network svg multimedia imageformats \
buildtools_build x11extras concurrent
USES= desktop-file-utils qmake
USE_GITHUB= yes
GH_ACCOUNT= trueos
+GH_TAGNAME= %%GHTAG%%
+
+#Setup the XCB library dependencies (USE_XCB macro does not appear to exist anymore)
+LIB_DEPENDS+= libxcb-ewmh.so:x11/xcb-util-wm \
+ libxcb-icccm.so:x11/xcb-util-wm \
+ libxcb-image.so:x11/xcb-util-image \
+ libxcb-util.so:x11/xcb-util
#Setup the qmake configuration options
.if ${PORT_OPTIONS:MTRUEOS}
diff --git a/port-files/mkport-freebsd.sh b/port-files/mkport-freebsd.sh
deleted file mode 100755
index 5f6d241d..00000000
--- a/port-files/mkport-freebsd.sh
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-# Helper script which will create the port / distfiles
-# from a checked out git repo
-
-# Set the distfile URL we will fetch from
-DURL="http://www.pcbsd.org/~kris/software/"
-
-get_last_rev_git()
-{
- oPWD=`pwd`
- cd "${1}"
- rev=0
- rev=`git log -n 1 --date=raw | grep 'Date:' | awk '{print $2}'`
- cd $oPWD
- if [ $rev -ne 0 ] ; then
- echo "$rev"
- return 0
- fi
- return 1
-}
-
-if [ -z "$1" ] ; then
- echo "Usage: ./mkports-freebsd.sh <outdir>"
- exit 1
-fi
-
-if [ ! -d "${1}" ] ; then
- echo "Invalid directory: $1"
- exit 1
-fi
-
-portsdir="${1}"
-distdir="${1}/distfiles"
-if [ ! -d "$portsdir" ] ; then
- mkdir ${portsdir}
-fi
-if [ ! -d "$portsdir/sysutils" ] ; then
- mkdir ${portsdir}/sysutils
-fi
-if [ ! -d "$distdir" ] ; then
- mkdir ${distdir}
-fi
-
-REV=`get_last_rev_git "."`
-
-# Make the dist files
-rm ${distdir}/lumina*.tar.bz2 2>/dev/null
-echo "Creating lumina dist file for version: $REV"
-cd ../..
-tar cvjf ${distdir}/lumina-${REV}.tar.bz2 --exclude .git --exclude Artwork lumina 2>/dev/null
-cd lumina/port-files
-
-# Copy ports files
-rm -rf ${portsdir}/x11/lumina 2>/dev/null
-cp -r FreeBSD ${portsdir}/x11/lumina
-
-# Set the version numbers
-sed -i '' "s|CHGVERSION|${REV}|g" ${portsdir}/x11/lumina/Makefile
-
-# Set the mirror to use
-sed -i '' "s|http://www.pcbsd.org/~kris/software/|${DURL}|g" ${portsdir}/x11/lumina/Makefile
-
-# Create the makesums / distinfo file
-cd ${distdir}
-sha256 lumina-${REV}.tar.bz2 > ${portsdir}/x11/lumina/distinfo
-echo "SIZE (lumina-${REV}.tar.bz2) = `stat -f \"%z\" lumina-${REV}.tar.bz2`" >> ${portsdir}/x11/lumina/distinfo
bgstack15