aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-11-22 12:55:26 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-11-22 12:55:26 +0000
commitce37bcd3ed1c70ac69e7f42bd52035741ae432a4 (patch)
tree0fc9e2cff9ca5c0fe062a95461a41177ff5b5a7d /net-im
parent4a7e0de8dc28a84001bb52b050fe72c48114baf5 (diff)
downloadports-ce37bcd3ed1c70ac69e7f42bd52035741ae432a4.tar.gz
ports-ce37bcd3ed1c70ac69e7f42bd52035741ae432a4.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/qwit-devel/Makefile20
-rw-r--r--net-im/qwit-devel/pkg-plist3
-rw-r--r--net-im/qwit/Makefile21
-rw-r--r--net-im/qwit/pkg-plist3
4 files changed, 22 insertions, 25 deletions
diff --git a/net-im/qwit-devel/Makefile b/net-im/qwit-devel/Makefile
index d6fd78a1f941..d7dfbd93b2c2 100644
--- a/net-im/qwit-devel/Makefile
+++ b/net-im/qwit-devel/Makefile
@@ -3,26 +3,22 @@
PORTNAME= qwit
DISTVERSION= r215
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-im
MASTER_SITES= GOOGLE_CODE
DISTNAME= qwit-ng-${PORTVERSION}-src
PKGNAMESUFFIX= -devel
MAINTAINER= sokolov@TrueBSD.org
-COMMENT= A Qt4-based lightweight Twitter client
+COMMENT= Qt4-based lightweight Twitter client
+USES= qmake
USE_BZIP2= yes
-USE_QT4= gui network xml qmake_build moc_build rcc_build \
- uic
+USE_QT4= gui network xml moc_build rcc_build \
+ uic_build
-PLIST_FILES= bin/qwit-devel
-
-NO_STAGE= yes
-pre-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o Makefile qwit2.pro
-
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/qwit2 ${PREFIX}/bin/qwit-devel
+post-patch:
+ ${REINPLACE_CMD} '/icon.path/s,share/icons,share/pixmaps,' \
+ ${WRKSRC}/qwit2.pro
.include <bsd.port.mk>
diff --git a/net-im/qwit-devel/pkg-plist b/net-im/qwit-devel/pkg-plist
new file mode 100644
index 000000000000..61e3a5ab3b6d
--- /dev/null
+++ b/net-im/qwit-devel/pkg-plist
@@ -0,0 +1,3 @@
+bin/qwit2
+share/applications/qwit.desktop
+share/pixmaps/qwit.png
diff --git a/net-im/qwit/Makefile b/net-im/qwit/Makefile
index b2246af8d8a3..0c6a07f29b10 100644
--- a/net-im/qwit/Makefile
+++ b/net-im/qwit/Makefile
@@ -3,25 +3,20 @@
PORTNAME= qwit
DISTVERSION= r154
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-im
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= qwit-${PORTVERSION}-src
MAINTAINER= sokolov@TrueBSD.org
-COMMENT= A Qt4-based lightweight Twitter client
+COMMENT= Qt4-based lightweight Twitter client
+USES= qmake
USE_BZIP2= yes
-USE_QT4= gui network xml qmake_build moc_build rcc_build \
- uic
-
-PLIST_FILES= bin/qwit
-
-NO_STAGE= yes
-pre-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o Makefile qwit.pro
-
-do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/qwit ${PREFIX}/bin
+USE_QT4= gui network xml moc_build rcc_build \
+ uic_build
+post-patch:
+ ${REINPLACE_CMD} '/icon.path/s,share/icons,share/pixmaps,' \
+ ${WRKSRC}/qwit.pro
.include <bsd.port.mk>
diff --git a/net-im/qwit/pkg-plist b/net-im/qwit/pkg-plist
new file mode 100644
index 000000000000..b46a52d44e15
--- /dev/null
+++ b/net-im/qwit/pkg-plist
@@ -0,0 +1,3 @@
+bin/qwit
+share/applications/qwit.desktop
+share/pixmaps/qwit.png