diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-14 21:50:59 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-11-14 21:50:59 +0800 |
commit | 6cb1677cd3e18a95737742c77620d7de12591b6a (patch) | |
tree | 3e5ceba0a847d7506299c5b9d0e4ccb7e5dbb72b /finance | |
parent | 59680bf14952a28a473ed65025cf189489d2c7d8 (diff) | |
download | freebsd-ports-graphics-6cb1677cd3e18a95737742c77620d7de12591b6a.tar.gz freebsd-ports-graphics-6cb1677cd3e18a95737742c77620d7de12591b6a.tar.zst freebsd-ports-graphics-6cb1677cd3e18a95737742c77620d7de12591b6a.zip |
- Add LICENSE_FILE
- Simplify newer gcc requirement
- Switch to options helpers
Diffstat (limited to 'finance')
-rw-r--r-- | finance/qhacc/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/finance/qhacc/Makefile b/finance/qhacc/Makefile index 4414f1cd205..b88564f1f2e 100644 --- a/finance/qhacc/Makefile +++ b/finance/qhacc/Makefile @@ -11,24 +11,19 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Simple Qt-based financial manager LICENSE= GPLv2 # (or later) +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme \ libqwt6.so:${PORTSDIR}/x11-toolkits/qwt6 -OPTIONS_DEFINE= DOCS - -USES= qmake:norecursive tar:tgz +USES= compiler:c++11-lib qmake:norecursive tar:tgz USE_QT4= corelib gui sql moc_build rcc_build uic_build -USE_CXXSTD= c++0x +USE_CXXSTD= c++11 USE_LDCONFIG= yes DESKTOP_ENTRIES="QHacc" "" "" "${PORTNAME}" "" "" -.include <bsd.port.options.mk> - -.if ${OSVERSION} < 1000054 -USE_GCC= yes -.endif +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ @@ -58,6 +53,8 @@ do-install: @${LN} -sf libengine.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libengine.so.1.0 @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC}/qm && ${INSTALL_DATA} *.qm ${STAGEDIR}${DATADIR}) + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS ChangeLog README THANKS TODO UPGRADE (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) |