1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

deskutils/treesheets: update 0.0.20141225 -> 0.0.20150117

PR:		197856
Submitted by:	lightside@gmx.com
This commit is contained in:
Bartek Rutkowski 2015-03-01 17:07:38 +00:00
parent 068cc3688c
commit ec2aebba99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380213
2 changed files with 7 additions and 10 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= treesheets
PORTVERSION= 0.0.20141225
PORTVERSION= 0.0.20150117
CATEGORIES= deskutils
MAINTAINER= lightside@gmx.com
@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/ZLIB_LICENSE.txt
USE_GITHUB= yes
GH_ACCOUNT= aardappel
GH_COMMIT= 6ff99fb
GH_COMMIT= 0191b1f
GH_TAGNAME= ${GH_COMMIT}
BUILD_WRKSRC= ${WRKSRC}/src
@ -43,11 +43,6 @@ CXXFLAGS+= -D__LONG_LONG_SUPPORTED
.endif
post-patch: .SILENT
${REINPLACE_CMD} -e 's|c++|${CXX}|; \
s|-O3|${CXXFLAGS}| ; \
s|wx-config|${WX_CONFIG}| ; \
/^mv treesheets/d' \
${BUILD_WRKSRC}/build.sh
${REINPLACE_CMD} -e 's|sys->frame->exepath+L"|L"${DOCSDIR}|' \
${BUILD_WRKSRC}/document.h
${REINPLACE_CMD} -e 's|wxFileName(exename).GetPath()|L"${DATADIR}"|' \
@ -56,7 +51,9 @@ post-patch: .SILENT
${BUILD_WRKSRC}/system.h
do-build:
(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build.sh)
(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \
${CXX} -std=c++11 ${CXXFLAGS} \
-o ${PORTNAME} *.cpp `${WX_CONFIG} --cxxflags --libs all`)
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

View File

@ -1,2 +1,2 @@
SHA256 (treesheets-0.0.20141225.tar.gz) = d1087d1746ff3762505be08c6a5ebcc3f3c75a6e77c76a516f07fc5830db47f7
SIZE (treesheets-0.0.20141225.tar.gz) = 1793649
SHA256 (treesheets-0.0.20150117.tar.gz) = 9ea044bb0793fafb7b967764cd245a002cb22153548756b9dc44dc90fcabdbed
SIZE (treesheets-0.0.20150117.tar.gz) = 1788525