aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/qlabels/Makefile47
-rw-r--r--deskutils/qlabels/distinfo3
-rw-r--r--deskutils/qlabels/pkg-descr4
-rw-r--r--deskutils/qlabels/pkg-plist15
5 files changed, 70 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 43dcdba8a489..499844fc0d1f 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -171,6 +171,7 @@
SUBDIR += py-vobject
SUBDIR += pybookreader
SUBDIR += pypanel
+ SUBDIR += qlabels
SUBDIR += qrfcview
SUBDIR += recoll
SUBDIR += remember.el
diff --git a/deskutils/qlabels/Makefile b/deskutils/qlabels/Makefile
new file mode 100644
index 000000000000..88dd923693a5
--- /dev/null
+++ b/deskutils/qlabels/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: qlabels
+# Date created: 12 Jul 2007
+# Whom: Yinghong.Liu <relaxbsd@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= qlabels
+PORTVERSION= 0.2
+CATEGORIES= deskutils editors
+MASTER_SITES= http://qlabels.p34.net/files/ \
+ http://www.sourcefiles.org/Utilities/Printer/
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= relaxbsd@gmail.com
+COMMENT= A labels and business cards creating and printing software
+
+USE_BZIP2= yes
+USE_QT_VER= 4
+QT_COMPONENTS= xml gui corelib qmake uic moc rcc
+WRKSRC= ${WRKDIR}/${DISTNAME:C/_/-/}
+
+DESKTOP_ENTRIES= "qlabels" \
+ "A labels and business cards creating and printing software" \
+ "" \
+ "qlabels" \
+ "Application;Office;" \
+ "false"
+
+post-patch:
+ @${REINPLACE_CMD} 's|/usr|${PREFIX}|g' \
+ ${WRKSRC}/qlabels.pro \
+ ${WRKSRC}/lib/templates.cpp \
+ ${WRKSRC}/lib/papers.cpp
+
+pre-build:
+ @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -unix qlabels.pro
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for doc in Changelog LICENSE
+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/deskutils/qlabels/distinfo b/deskutils/qlabels/distinfo
new file mode 100644
index 000000000000..85b0ba84a561
--- /dev/null
+++ b/deskutils/qlabels/distinfo
@@ -0,0 +1,3 @@
+MD5 (qlabels_0.2.tar.bz2) = 851967d013fbe2a91f15c2b8354f0eda
+SHA256 (qlabels_0.2.tar.bz2) = e352d3ab31a027e7102c596b1ece3d02b0a8edfe7145674b023767af9ee6b413
+SIZE (qlabels_0.2.tar.bz2) = 52873
diff --git a/deskutils/qlabels/pkg-descr b/deskutils/qlabels/pkg-descr
new file mode 100644
index 000000000000..d7f5ede1a62e
--- /dev/null
+++ b/deskutils/qlabels/pkg-descr
@@ -0,0 +1,4 @@
+qLabels is a labels and business cards creating and
+printing software written in Qt4.
+
+WWW: http://qlabels.p34.net/
diff --git a/deskutils/qlabels/pkg-plist b/deskutils/qlabels/pkg-plist
new file mode 100644
index 000000000000..065429cd8c08
--- /dev/null
+++ b/deskutils/qlabels/pkg-plist
@@ -0,0 +1,15 @@
+bin/qlabels
+%%PORTDOCS%%%%DOCSDIR%%/Changelog
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%DATADIR%%/templates/avery-iso-templates.xml
+%%DATADIR%%/templates/avery-other-templates.xml
+%%DATADIR%%/templates/avery-us-templates.xml
+%%DATADIR%%/templates/dvd-template.xml
+%%DATADIR%%/templates/misc-iso-templates.xml
+%%DATADIR%%/templates/misc-other-templates.xml
+%%DATADIR%%/templates/misc-us-templates.xml
+%%DATADIR%%/templates/paper-sizes.xml
+%%DATADIR%%/templates/zweckform-iso-templates.xml
+@dirrm %%DATADIR%%/templates
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%