diff options
author | makc <makc@FreeBSD.org> | 2013-11-22 20:55:26 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-11-22 20:55:26 +0800 |
commit | 46eac53c854f0401280b038e84abee67f139882e (patch) | |
tree | 0fc9e2cff9ca5c0fe062a95461a41177ff5b5a7d /net-im | |
parent | 8cd030802bf6d940ddca9eeec17b24c31a265f5a (diff) | |
download | freebsd-ports-gnome-46eac53c854f0401280b038e84abee67f139882e.tar.gz freebsd-ports-gnome-46eac53c854f0401280b038e84abee67f139882e.tar.zst freebsd-ports-gnome-46eac53c854f0401280b038e84abee67f139882e.zip |
- Convert to USES=qmake
- Add state support
- Remove superfluous custom do-install target, convert to pkg-plist
Approved by: portmgr (blanket approval)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/qwit-devel/Makefile | 20 | ||||
-rw-r--r-- | net-im/qwit-devel/pkg-plist | 3 | ||||
-rw-r--r-- | net-im/qwit/Makefile | 21 | ||||
-rw-r--r-- | net-im/qwit/pkg-plist | 3 |
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 |