View | Details | Raw Unified | Return to bug 197856 | Differences between
and this patch

Collapse All | Expand All

(-)treesheets/Makefile (-8 / +5 lines)
Lines 2-8 Link Here
2
# $FreeBSD: head/deskutils/treesheets/Makefile 379431 2015-02-20 13:41:42Z marino $
2
# $FreeBSD: head/deskutils/treesheets/Makefile 379431 2015-02-20 13:41:42Z marino $
3
3
4
PORTNAME=	treesheets
4
PORTNAME=	treesheets
5
PORTVERSION=	0.0.20141225
5
PORTVERSION=	0.0.20150117
6
CATEGORIES=	deskutils
6
CATEGORIES=	deskutils
7
7
8
MAINTAINER=	lightside@gmx.com
8
MAINTAINER=	lightside@gmx.com
Lines 13-19 Link Here
13
13
14
USE_GITHUB=	yes
14
USE_GITHUB=	yes
15
GH_ACCOUNT=	aardappel
15
GH_ACCOUNT=	aardappel
16
GH_COMMIT=	6ff99fb
16
GH_COMMIT=	0191b1f
17
GH_TAGNAME=	${GH_COMMIT}
17
GH_TAGNAME=	${GH_COMMIT}
18
18
19
BUILD_WRKSRC=	${WRKSRC}/src
19
BUILD_WRKSRC=	${WRKSRC}/src
Lines 43-53 Link Here
43
.endif
43
.endif
44
44
45
post-patch: .SILENT
45
post-patch: .SILENT
46
	${REINPLACE_CMD} -e 's|c++|${CXX}|; \
47
		s|-O3|${CXXFLAGS}| ; \
48
		s|wx-config|${WX_CONFIG}| ; \
49
		/^mv treesheets/d' \
50
		${BUILD_WRKSRC}/build.sh
51
	${REINPLACE_CMD} -e 's|sys->frame->exepath+L"|L"${DOCSDIR}|' \
46
	${REINPLACE_CMD} -e 's|sys->frame->exepath+L"|L"${DOCSDIR}|' \
52
		${BUILD_WRKSRC}/document.h
47
		${BUILD_WRKSRC}/document.h
53
	${REINPLACE_CMD} -e 's|wxFileName(exename).GetPath()|L"${DATADIR}"|' \
48
	${REINPLACE_CMD} -e 's|wxFileName(exename).GetPath()|L"${DATADIR}"|' \
Lines 56-62 Link Here
56
		${BUILD_WRKSRC}/system.h
51
		${BUILD_WRKSRC}/system.h
57
52
58
do-build:
53
do-build:
59
	(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build.sh)
54
	(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \
55
		${CXX} -std=c++11 ${CXXFLAGS} \
56
		-o ${PORTNAME} *.cpp `${WX_CONFIG} --cxxflags --libs all`)
60
57
61
do-install:
58
do-install:
62
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
59
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
(-)treesheets/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (treesheets-0.0.20141225.tar.gz) = d1087d1746ff3762505be08c6a5ebcc3f3c75a6e77c76a516f07fc5830db47f7
1
SHA256 (treesheets-0.0.20150117.tar.gz) = 9ea044bb0793fafb7b967764cd245a002cb22153548756b9dc44dc90fcabdbed
2
SIZE (treesheets-0.0.20141225.tar.gz) = 1793649
2
SIZE (treesheets-0.0.20150117.tar.gz) = 1788525

Return to bug 197856