aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-01-07 10:07:26 +0800
committermakc <makc@FreeBSD.org>2013-01-07 10:07:26 +0800
commit57a41e98ddc08896ece93315c5f8deb70b0a9934 (patch)
tree4e5353da2c1d4f4f59bf9fc12fe364c7887a9f49 /deskutils
parent87fe1fcae9056b2d3319ad33c8c2e1777857ec28 (diff)
downloadfreebsd-ports-gnome-57a41e98ddc08896ece93315c5f8deb70b0a9934.tar.gz
freebsd-ports-gnome-57a41e98ddc08896ece93315c5f8deb70b0a9934.tar.zst
freebsd-ports-gnome-57a41e98ddc08896ece93315c5f8deb70b0a9934.zip
- Update DESKTOP_ENTRIES:
* rephrase Comment field or use port ${COMMENT} if appropriate * adjust Icon field according to the Desktop Entry Specification * update Categories field: remove deprecated category Application; set main category, if missing - Remove indefinite article and/or rephrase COMMENT - Trim Makefile header - Other minor changes
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/nagaina/Makefile4
-rw-r--r--deskutils/qlabels/Makefile16
2 files changed, 8 insertions, 12 deletions
diff --git a/deskutils/nagaina/Makefile b/deskutils/nagaina/Makefile
index b42d98f7b3e9..1fed9feae743 100644
--- a/deskutils/nagaina/Makefile
+++ b/deskutils/nagaina/Makefile
@@ -37,9 +37,9 @@ PLIST_FILES= bin/${PORTNAME} share/pixmaps/${PORTNAME}.png
DESKTOP_ENTRIES= "Nagaina" \
"${COMMENT}" \
+ "${PREFIX}/share/pixmaps/${PORTNAME}.png" \
"${PORTNAME}" \
- "${PORTNAME}" \
- "Qt;KDE;Office;Utility;" \
+ "Qt;Office;Utility;" \
"false"
.include <bsd.port.options.mk>
diff --git a/deskutils/qlabels/Makefile b/deskutils/qlabels/Makefile
index da834a532025..3fe95ee5426f 100644
--- a/deskutils/qlabels/Makefile
+++ b/deskutils/qlabels/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: qlabels
-# Date created: 12 Jul 2007
-# Whom: Yinghong.Liu <relaxbsd@gmail.com>
-#
+# Created by: Yinghong.Liu <relaxbsd@gmail.com>
# $FreeBSD$
-#
PORTNAME= qlabels
PORTVERSION= 0.2
@@ -14,17 +10,17 @@ MASTER_SITES= http://qlabels.p34.net/files/ \
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A labels and business cards creating and printing software
+COMMENT= Labels and business cards creating
USE_BZIP2= yes
USE_QT4= xml gui corelib qmake_build uic_build moc_build rcc_build
WRKSRC= ${WRKDIR}/${DISTNAME:C/_/-/}
-DESKTOP_ENTRIES= "qlabels" \
- "A labels and business cards creating and printing software" \
+DESKTOP_ENTRIES= "qLabels" \
+ "${COMMENT}" \
"" \
"qlabels" \
- "Application;Office;" \
+ "Office;Qt;" \
"false"
post-patch:
@@ -34,7 +30,7 @@ post-patch:
${WRKSRC}/lib/papers.cpp
pre-build:
- @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -unix qlabels.pro
+ @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS} qlabels.pro
post-install:
.if !defined(NOPORTDOCS)