aboutsummaryrefslogtreecommitdiff
path: root/graphics/copperspice/Makefile
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-03-13 17:52:30 +0000
committerJohn Marino <marino@FreeBSD.org>2016-03-13 17:52:30 +0000
commit83b5902bbe5000a19aed077112f79f30c3b5f0eb (patch)
treef88f79c42d5f00f37d3b097c4ac2c481cd0dbf6a /graphics/copperspice/Makefile
parentd0d924c26fe405c30c04a4aabd4f841844eedc0e (diff)
downloadports-83b5902bbe5000a19aed077112f79f30c3b5f0eb.tar.gz
ports-83b5902bbe5000a19aed077112f79f30c3b5f0eb.zip
Notes
Diffstat (limited to 'graphics/copperspice/Makefile')
-rw-r--r--graphics/copperspice/Makefile29
1 files changed, 7 insertions, 22 deletions
diff --git a/graphics/copperspice/Makefile b/graphics/copperspice/Makefile
index 85728a51a5b9..6203332a0404 100644
--- a/graphics/copperspice/Makefile
+++ b/graphics/copperspice/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= copperspice
-PORTVERSION= 1.0.4
+PORTVERSION= 1.2.2
CATEGORIES= graphics
MASTER_SITES= http://download.copperspice.com/copperspice/source/
@@ -15,11 +15,11 @@ BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
LIB_DEPENDS= libaudio.so:${PORTSDIR}/audio/nas \
libfreetype.so:${PORTSDIR}/print/freetype2
-USES= compiler:c++11-lib gmake iconv libtool pkgconfig \
- tar:bz2
+USES= compiler:c++11-lib gmake iconv libtool pkgconfig tar:bz2
USE_XORG= ice sm x11 xcursor xext xi xinerama xrandr
USE_GNOME= glib20
USE_GL= gl
+USE_GSTREAMER= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CFLAGS+= -I${LOCALBASE}/include \
@@ -28,36 +28,21 @@ CFLAGS+= -I${LOCALBASE}/include \
-I${LOCALBASE}/include/freetype2
LDFLAGS+= -L${ICONV_PREFIX}/lib ${ICONV_LIB} -L${LOCALBASE}/lib
-CONFIGURE_ARGS= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+OVERRIDE_INS= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
INSTALL_DATA="${INSTALL_DATA}" \
- INSTALL="${INSTALL}" \
- OSTYPE=FREEBSD
-CONFIGURE_ENV= ZLIB_LIBS="-lz" ZLIB_CFLAGS="-I/usr/include -L/usr/lib"
-MAKE_ENV= INSTALL_STRIP_PROGRAM="${INSTALL_PROGRAM}"
+ INSTALL="${INSTALL}"
+CONFIGURE_ARGS= ${OVERRIDE_INS}
+MAKE_ARGS= ${OVERRIDE_INS}
PLIST_SUB= SHORT_VER=0 LONG_VER=0.0.0
-MAKE_JOBS_UNSAFE= yes
WITH_OPENSSL_PORT= yes
-BROKEN= upstream notified; removed patches broke DF too
BROKEN_FreeBSD_9= PR 193528 (c++11 support is broken)
BROKEN_i386= qx11embed_x11.cpp:470:20: non-constant-expression\
cannot be narrowed from type 'unsigned int' to 'long'\
in initializer list [-Wc++11-narrowing]
-#OPTIONS_DEFINE= OPENSSL #MYSQL PGSQL
-#OPTIONS_DEFAULT= OPENSSL
-#OPENSSL_USE= OPENSSL
-#.include <bsd.port.options.mk>
-
-post-extract:
- ${MKDIR} ${WRKSRC}/mkspecs/bsd-g++
-
-post-patch:
- ${REINPLACE_CMD} -e 's|@INSTALL@|${INSTALL}|g' \
- ${WRKSRC}/src/webkit/Makefile.in
-
post-configure:
${REINPLACE_CMD} -e '/^hardcode_libdir_flag/ \
s|spec=.*|spec="-Wl,-rpath,${LOCALBASE}/lib"|' \