blob: 88dd923693a542b76d5056b5774a99a262211bc9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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>
|