aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/cdcat
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2012-04-22 02:48:30 +0800
committermiwi <miwi@FreeBSD.org>2012-04-22 02:48:30 +0800
commit17fd70182032ba494022af178832b5c0a8dcd343 (patch)
treeef0787211405bc1c03c1dbc556cb0f6ee4952f9a /deskutils/cdcat
parentfd96a2f140cc2d807f656950fa443f377e9f3c29 (diff)
downloadfreebsd-ports-gnome-17fd70182032ba494022af178832b5c0a8dcd343.tar.gz
freebsd-ports-gnome-17fd70182032ba494022af178832b5c0a8dcd343.tar.zst
freebsd-ports-gnome-17fd70182032ba494022af178832b5c0a8dcd343.zip
- Update to 1.9
PR: 166878 Submitted by: Ports Fury
Diffstat (limited to 'deskutils/cdcat')
-rw-r--r--deskutils/cdcat/Makefile24
-rw-r--r--deskutils/cdcat/distinfo4
2 files changed, 21 insertions, 7 deletions
diff --git a/deskutils/cdcat/Makefile b/deskutils/cdcat/Makefile
index e8037e0e24c7..9f9f89a8ed36 100644
--- a/deskutils/cdcat/Makefile
+++ b/deskutils/cdcat/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cdcat
-PORTVERSION= 1.8
+PORTVERSION= 1.9
CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
GOOGLE_CODE:lib7zip
@@ -22,7 +22,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/archivers/p7zip:patch \
${NONEXISTENT}:${PORTSDIR}/multimedia/mediainfo:build
-LIB_DEPENDS= tar.0:${PORTSDIR}/devel/libtar
+LIB_DEPENDS= tar.0:${PORTSDIR}/devel/libtar \
+ exif.12:${PORTSDIR}/graphics/libexif
BUILD_WRKSRC= ${WRKSRC}/src
@@ -31,6 +32,7 @@ USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib gui qt3support xml \
linguist_build moc_build qmake_build uic_build
+INSTALLS_ICONS= yes
MAKE_JOBS_SAFE= yes
QMAKEFLAGS+= INCLUDEPATH+="${L7Z_WRKSRC}/Lib7Zip" \
@@ -43,13 +45,17 @@ QMAKEFLAGS+= INCLUDEPATH+="${L7Z_WRKSRC}/Lib7Zip" \
LRELEASE= ${QT_PREFIX}/bin/lrelease-qt4
# spoof tinderbox: build deps for multimedia/mediainfo
-USE_AUTOTOOLS= automake:env autoconf:env libtool:env
+USE_AUTOTOOLS= autoconf:env automake:env libtool:env
PORTDOCS= Authors ChangeLog README TRANSLATORS_README
PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/${PORTNAME}.png
.for lang in cz de el es fr hu id it pl pt sk sr
PLIST_FILES+= %%DATADIR%%/translations/${PORTNAME}_${lang}.qm
.endfor
+.for size in 16 22 32 48 64
+PLIST_FILES+= share/icons/hicolor/${size}x${size}/apps/${PORTNAME}_logo.png
+.endfor
+PLIST_FILES+= share/icons/hicolor/scalable/apps/${PORTNAME}_logo.svg
PLIST_DIRS= %%DATADIR%%/translations %%DATADIR%%
L7Z_NAME= lib7zip
@@ -59,8 +65,8 @@ L7Z_WRKSRC= ${WRKDIR}/${L7Z_NAME}
.include <bsd.port.pre.mk>
-P7Z_WRKSRC!= cd ${PORTSDIR}/archivers/p7zip && ${MAKE} -V WRKSRC
-MIF_WRKSRC!= cd ${PORTSDIR}/multimedia/mediainfo && ${MAKE} -V WRKSRC
+P7Z_WRKSRC= $$(cd ${PORTSDIR}/archivers/p7zip && ${MAKE} -V WRKSRC)
+MIF_WRKSRC= $$(cd ${PORTSDIR}/multimedia/mediainfo && ${MAKE} -V WRKSRC)
post-extract:
@${GZCAT} ${DISTDIR}/${L7Z_DISTFILE} | (cd ${WRKDIR} && ${TAR} -xf -)
@@ -101,6 +107,14 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.png ${DATADIR}
@${MKDIR} ${DATADIR}/translations
${INSTALL_DATA} ${BUILD_WRKSRC}/lang/*.qm ${DATADIR}/translations
+ @${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}_logo.svg \
+ ${PREFIX}/share/icons/hicolor/scalable/apps/${PORTNAME}_logo.svg
+.for size in 16 22 32 48 64
+ @${MKDIR} ${PREFIX}/share/icons/hicolor/${size}x${size}/apps
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}_logo_${size}x${size}.png \
+ ${PREFIX}/share/icons/hicolor/${size}x${size}/apps/${PORTNAME}_logo.png
+.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
diff --git a/deskutils/cdcat/distinfo b/deskutils/cdcat/distinfo
index c92a49025a86..15e87d3e265e 100644
--- a/deskutils/cdcat/distinfo
+++ b/deskutils/cdcat/distinfo
@@ -1,4 +1,4 @@
-SHA256 (cdcat-1.8.tar.bz2) = 0f535a544227e8ff7859f618ab81723e84ba8a2dc7684ace4d13d10127c6eb24
-SIZE (cdcat-1.8.tar.bz2) = 306422
+SHA256 (cdcat-1.9.tar.bz2) = d9c83835e3544a1316bc4a10d5fb0efe19f556994424e5520f7edb2ce5f874da
+SIZE (cdcat-1.9.tar.bz2) = 367729
SHA256 (lib7zip-1.4.1.tar.gz) = 20efb640c43c5d05e1f8d641eb0d01f8712648fe7989f275ec5b2997641316d9
SIZE (lib7zip-1.4.1.tar.gz) = 95080