diff options
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/jzintv/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/emulators/jzintv/Makefile b/emulators/jzintv/Makefile index 40ac2507de51..8109b36df583 100644 --- a/emulators/jzintv/Makefile +++ b/emulators/jzintv/Makefile @@ -26,7 +26,9 @@ USE_ZIP= yes CPPFLAGS+= -I${LOCALBASE}/include `${SDL_CONFIG} --cflags` LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs` -OPTIONS= TOOLS "Install additional tools" off +OPTIONS_DEFINE= TOOLS +TOOLS_DESC= Install additional tools + TOOLS= as1600 crc32 dasm1600 dis1600 frombit_r gms2rom imvtoppm rom2bin \ show_grom tobit tobit_r bin2rom dasm0256 dasm1600o frombit fromhex \ imvtogif rom_merge split_rom tobit_f tohex @@ -35,7 +37,7 @@ SUB_FILES= pkg-message .include <bsd.port.pre.mk> -.if defined(WITH_TOOLS) +.if ${PORT_OPTIONS:MTOOLS} PLIST_SUB+= PL_TOOLS="" .else PLIST_SUB+= PL_TOOLS="@comment " @@ -51,18 +53,18 @@ do-install: ${MKDIR} ${DATADIR}/rom ${INSTALL_DATA} ${WRKSRC}/rom/*.rom ${DATADIR}/rom/ ${INSTALL_PROGRAM} ${WRKSRC}/bin/jzintv ${PREFIX}/bin/jzintv -.if defined(WITH_TOOLS) +.if ${PORT_OPTIONS:MTOOLS} .for tool in ${TOOLS} ${INSTALL_PROGRAM} ${WRKSRC}/bin/${tool} ${PREFIX}/bin/jzintv-${tool} .endfor .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR}/doc ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Release-Notes.txt ${DOCSDIR} (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR}/doc) .endif -.if !defined(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR} (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) .endif |