diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2009-02-12 19:36:17 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2009-02-12 19:36:17 +0000 |
commit | 7661be2d8aa0b9508978542ae0418905bdc590e3 (patch) | |
tree | b39ee20670d21fd5481d1f9ca8e973f31cbf1527 /textproc/qstardict/Makefile | |
parent | 5fd47233c51a92756bcda853ece2a9c968380497 (diff) | |
download | ports-7661be2d8aa0b9508978542ae0418905bdc590e3.tar.gz ports-7661be2d8aa0b9508978542ae0418905bdc590e3.zip |
Notes
Diffstat (limited to 'textproc/qstardict/Makefile')
-rw-r--r-- | textproc/qstardict/Makefile | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/textproc/qstardict/Makefile b/textproc/qstardict/Makefile index 1273ccb76ce3..e13ce6d56923 100644 --- a/textproc/qstardict/Makefile +++ b/textproc/qstardict/Makefile @@ -6,23 +6,20 @@ # PORTNAME= qstardict -PORTVERSION= 0.12.9 +PORTVERSION= 0.13.1 CATEGORIES= textproc -MASTER_SITES= http://qstardict.ylsoftware.com/files/ \ - ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/ +MASTER_SITES= http://qstardict.ylsoftware.com/files/ -MAINTAINER= makc@issp.ac.ru +MAINTAINER= makc@FreeBSD.org COMMENT= A StarDict clone written with using Qt4 USE_BZIP2= yes USE_QT_VER= 4 QT_COMPONENTS= gui network xml qmake_build uic_build moc_build rcc_build -QMAKE_ARGS+= -recursive SEPARATE_TRANSLATIONS=1 +QMAKE_ARGS+= -recursive USE_DOS2UNIX= qstardict.pri -DICPATH= ${PREFIX}/share/stardict/dic - -PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README THANKS +DICPATH= ${LOCALBASE}/share/stardict/dic OPTIONS= DBUS "Enable D-BUS support" on @@ -44,8 +41,10 @@ LIB_DEPENDS+= QtDBus.4:${PORTSDIR}/devel/dbus-qt4 post-patch: @${REINPLACE_CMD} -e "s|/usr|${PREFIX}|g" \ ${WRKSRC}/qstardict.pri +.if defined(NOPORTDOCS) @${REINPLACE_CMD} -e "/^INSTALLS/s|docs||g" \ ${WRKSRC}/qstardict.pro +.endif @${REINPLACE_CMD} -e "s|/usr/share/stardict/dic|${DICPATH}|g" \ ${WRKSRC}/plugins/stardict/stardict.cpp @@ -57,12 +56,6 @@ post-configure: 's|^CC .*|CC=${CC}|; s|^CXX .*|CXX=${CXX}|; s|^LINK .*|LINK=${CXX}|' post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for doc in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} -.endfor -.endif @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> |