diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-07-14 18:52:56 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-07-14 18:52:56 +0000 |
commit | 74274a6b2a7b85bb86b406d700a0c4e7e97c4e60 (patch) | |
tree | 9ed801e0b2c5f4b419ec866c41df407d9ceff580 /deskutils/qlabels | |
parent | 09765f4cb0f81fe1ec0d3b58d9bae3d25c617be9 (diff) | |
download | ports-74274a6b2a7b85bb86b406d700a0c4e7e97c4e60.tar.gz ports-74274a6b2a7b85bb86b406d700a0c4e7e97c4e60.zip |
Notes
Diffstat (limited to 'deskutils/qlabels')
-rw-r--r-- | deskutils/qlabels/Makefile | 47 | ||||
-rw-r--r-- | deskutils/qlabels/distinfo | 3 | ||||
-rw-r--r-- | deskutils/qlabels/pkg-descr | 4 | ||||
-rw-r--r-- | deskutils/qlabels/pkg-plist | 15 |
4 files changed, 69 insertions, 0 deletions
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%% |