diff options
author | martymac <martymac@FreeBSD.org> | 2012-06-11 15:20:07 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2012-06-11 15:20:07 +0800 |
commit | 7be4f3be9827543be9394f540203e6bc7a55054d (patch) | |
tree | c17c26ba504e21857065e3d5fa83c225436b03bd /emulators/jzintv | |
parent | 61913aa46cf0d2c645ee0148fb5270869d2c0e81 (diff) | |
download | freebsd-ports-gnome-7be4f3be9827543be9394f540203e6bc7a55054d.tar.gz freebsd-ports-gnome-7be4f3be9827543be9394f540203e6bc7a55054d.tar.zst freebsd-ports-gnome-7be4f3be9827543be9394f540203e6bc7a55054d.zip |
Switch to OptionsNg
Diffstat (limited to 'emulators/jzintv')
-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 |