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 |