Changeset View
Changeset View
Standalone View
Standalone View
deskutils/treesheets/Makefile
Show All 28 Lines | |||||
PORTEXAMPLES= * | PORTEXAMPLES= * | ||||
PLIST_FILES= bin/${PORTNAME} \ | PLIST_FILES= bin/${PORTNAME} \ | ||||
share/applications/treesheets.desktop \ | share/applications/treesheets.desktop \ | ||||
share/icons/hicolor/scalable/apps/treesheets.svg \ | share/icons/hicolor/scalable/apps/treesheets.svg \ | ||||
share/pixmaps/treesheets.png | share/pixmaps/treesheets.png | ||||
OPTIONS_DEFINE= DOCS EXAMPLES | OPTIONS_DEFINE= DOCS EXAMPLES | ||||
.include <bsd.port.pre.mk> | |||||
.if (${OPSYS} == FreeBSD && ${OSVERSION} < 1100000) || make(makesum) | |||||
MASTER_SITES+= http://releases.llvm.org/6.0.1/:llvm | |||||
DISTFILES+= libcxx-6.0.1.src.tar.xz:llvm | |||||
CXXFLAGS+= -isystem ${WRKDIR}/libcxx-6.0.1.src/include | |||||
.endif | |||||
post-patch: .SILENT | post-patch: .SILENT | ||||
jbeich: Drop the conditional entirely and re-run `make makesum` instead of leaving cruft. | |||||
${REINPLACE_CMD} -e 's|sys->frame->GetPath(L"|(L"${DOCSDIR}/|' \ | ${REINPLACE_CMD} -e 's|sys->frame->GetPath(L"|(L"${DOCSDIR}/|' \ | ||||
${BUILD_WRKSRC}/document.h | ${BUILD_WRKSRC}/document.h | ||||
${REINPLACE_CMD} -e 's|wxFileName(exename).GetPath()|L"${DATADIR}"|' \ | ${REINPLACE_CMD} -e 's|wxFileName(exename).GetPath()|L"${DATADIR}"|' \ | ||||
${BUILD_WRKSRC}/myframe.h | ${BUILD_WRKSRC}/myframe.h | ||||
${REINPLACE_CMD} -e 's|frame->GetPath(L"examples|(L"${EXAMPLESDIR}|' \ | ${REINPLACE_CMD} -e 's|frame->GetPath(L"examples|(L"${EXAMPLESDIR}|' \ | ||||
${BUILD_WRKSRC}/system.h | ${BUILD_WRKSRC}/system.h | ||||
${REINPLACE_CMD} -e 's|^\(Icon=\).*|\1${PORTNAME}|' \ | ${REINPLACE_CMD} -e 's|^\(Icon=\).*|\1${PORTNAME}|' \ | ||||
${WRKSRC}/TS/treesheets.desktop | ${WRKSRC}/TS/treesheets.desktop | ||||
Show All 11 Lines | |||||
do-install-DOCS-on: | do-install-DOCS-on: | ||||
(cd ${WRKSRC}/TS && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) | (cd ${WRKSRC}/TS && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) | ||||
do-install-EXAMPLES-on: | do-install-EXAMPLES-on: | ||||
(cd ${WRKSRC}/TS/examples && ${COPYTREE_SHARE} "${PORTEXAMPLES}" \ | (cd ${WRKSRC}/TS/examples && ${COPYTREE_SHARE} "${PORTEXAMPLES}" \ | ||||
${STAGEDIR}${EXAMPLESDIR}) | ${STAGEDIR}${EXAMPLESDIR}) | ||||
.include <bsd.port.post.mk> | .include <bsd.port.mk> |
Drop the conditional entirely and re-run make makesum instead of leaving cruft.