# Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD: head/finance/venice/Makefile 518482 2019-11-26 21:46:12Z jkim $ PORTNAME= venice DISTVERSION= 0.751beta PORTREVISION= 1 CATEGORIES= finance java MASTER_SITES= SF/mov/${PORTNAME}/0.751%20beta/ \ SF/nemysisfreebsdp/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX}:icons DIST_SUBDIR= java MAINTAINER= ports@FreeBSD.org COMMENT= Merchant Of Venice, a stock market trading program LICENSE= GPLv2 USES= gnome USE_JAVA= yes NO_BUILD= yes PORTDOCS= * DOCSRCDIR1= ${WRKSRC} DOC_FILES1= changelog.txt readme.txt DOCSRCDIR2= ${WRKSRC}/doc DOCSDIR2= ${DOCSDIR}/doc DOC_FILES2= manual.html manual.txt DATADIR= ${JAVASHAREDIR}/${PORTNAME} SUB_FILES= ${PORTNAME} INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 DESKTOP_ENTRIES="Venice" "${COMMENT}" "${PORTNAME}" \ "${PORTNAME}" "Office;Finance;" false OPTIONS_DEFINE= DOCS .include do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${DATADIR} .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/ ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR2} ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} .include