diff options
author | Sylvio Cesar Teixeira <sylvio@FreeBSD.org> | 2012-06-17 20:19:01 +0000 |
---|---|---|
committer | Sylvio Cesar Teixeira <sylvio@FreeBSD.org> | 2012-06-17 20:19:01 +0000 |
commit | 9619a6d2876f387aa9858fbb839effe7c0af74e8 (patch) | |
tree | 51a6a68daaa2ca10a263114441f9a208bcf19cb5 /emulators/qmc2/Makefile | |
parent | 67948817be4127901b902d7546fa96957dfbb87c (diff) | |
download | ports-9619a6d2876f387aa9858fbb839effe7c0af74e8.tar.gz ports-9619a6d2876f387aa9858fbb839effe7c0af74e8.zip |
Notes
Diffstat (limited to 'emulators/qmc2/Makefile')
-rw-r--r-- | emulators/qmc2/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/emulators/qmc2/Makefile b/emulators/qmc2/Makefile index 3e3cc54eff43..a3ac7f417f8d 100644 --- a/emulators/qmc2/Makefile +++ b/emulators/qmc2/Makefile @@ -6,8 +6,7 @@ # PORTNAME= qmc2 -PORTVERSION= 0.35 -PORTREVISION= 1 +PORTVERSION= 0.36 CATEGORIES= emulators MASTER_SITES= SF @@ -17,6 +16,8 @@ COMMENT= Qt 4 based UNIX MAME/MESS frontend RUN_DEPENDS= mame:${PORTSDIR}/emulators/mame \ mess:${PORTSDIR}/emulators/mess +OPTIONS_DEFINE= DOCS + NO_WRKSUBDIR= yes USE_BZIP2= yes @@ -32,6 +33,8 @@ MAKE_ARGS= QTDIR="${QT_PREFIX}" QMAKE="${QMAKE}" \ CC="${CC}" CXX="${CXX}" LINK="${CXX}" MAKE_JOBS_UNSAFE=yes +.include <bsd.port.options.mk> + post-extract: @${MKDIR} ${WRKSRC}/qmc2-sdlmess @(cd ${WRKSRC}/qmc2; ${COPYTREE_SHARE} . ../qmc2-sdlmess) @@ -53,7 +56,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/qmc2/data/lng/qmc2_*.qm ${DATADIR}/lng @${MKDIR} ${DATADIR}/opt @(cd ${WRKSRC}/qmc2/data/opt; ${COPYTREE_SHARE} . ${DATADIR}/opt) -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR}/html @(cd ${WRKSRC}/qmc2/data/doc/html; ${COPYTREE_SHARE} . ${DOCSDIR}/html) .endif |