1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Update to version 1.0.5 [1]

- Respect CFLAGS

PR:		ports/176588 [1]
Submitted by:	nemysis <nemysis@gmx.ch> (maintainer)
This commit is contained in:
Pawel Pekala 2013-03-01 18:11:10 +00:00
parent a5ba8b02d1
commit 56a261dfe6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313159
3 changed files with 42 additions and 10 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= gottet
PORTVERSION= 1.0.4
PORTREVISION= 1
PORTVERSION= 1.0.5
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
@ -18,7 +17,7 @@ USE_QT4= moc_build qmake_build rcc_build iconengines imageformats
MAKE_JOBS_SAFE= yes
INSTALLS_ICONS= yes
PORTDOCS= ChangeLog
PORTDOCS= CREDITS ChangeLog
.include <bsd.port.options.mk>
@ -26,14 +25,16 @@ do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX}
post-install:
# Pixmaps
${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.png ${PREFIX}/share/pixmaps/
post-configure:
@${REINPLACE_CMD} 's|-O2 -Wall|-Wall|g' \
${WRKSRC}/Makefile
post-install:
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (gottet-1.0.4-src.tar.bz2) = 7144e035b6e575eecea9920ee301487915d3866a2cb0e40622fe9e45d83cb379
SIZE (gottet-1.0.4-src.tar.bz2) = 29121
SHA256 (gottet-1.0.5-src.tar.bz2) = e954bbbc24abe171447e76d9d52e1043d16416377c6f639fd454d0ee99db1cdc
SIZE (gottet-1.0.5-src.tar.bz2) = 253744

View File

@ -1,9 +1,40 @@
bin/gottet
share/applications/gottet.desktop
%%DATADIR%%/translations/gottet_en.qm
%%DATADIR%%/translations/gottet_fr.qm
%%DATADIR%%/translations/gottet_he.qm
%%DATADIR%%/translations/gottet_ro.qm
share/icons/hicolor/128x128/apps/gottet.png
share/icons/hicolor/16x16/apps/gottet.png
share/icons/hicolor/22x22/apps/gottet.png
share/icons/hicolor/24x24/apps/gottet.png
share/icons/hicolor/256x256/apps/gottet.png
share/icons/hicolor/32x32/apps/gottet.png
share/icons/hicolor/48x48/apps/gottet.png
share/icons/hicolor/64x64/apps/gottet.png
share/icons/hicolor/scalable/apps/gottet.svg
share/pixmaps/gottet.png
share/pixmaps/gottet.xpm
@dirrmtry share/icons/hicolor/scalable/apps
@dirrmtry share/icons/hicolor/scalable
@dirrmtry share/icons/hicolor/64x64/apps
@dirrmtry share/icons/hicolor/64x64
@dirrmtry share/icons/hicolor/48x48/apps
@dirrmtry share/icons/hicolor/48x48
@dirrmtry share/icons/hicolor/32x32/apps
@dirrmtry share/icons/hicolor/32x32
@dirrmtry share/icons/hicolor/256x256/apps
@dirrmtry share/icons/hicolor/256x256
@dirrmtry share/icons/hicolor/24x24/apps
@dirrmtry share/icons/hicolor/24x24
@dirrmtry share/icons/hicolor/22x22/apps
@dirrmtry share/icons/hicolor/22x22
@dirrmtry share/icons/hicolor/16x16/apps
@dirrmtry share/icons/hicolor/16x16
@dirrmtry share/icons/hicolor/128x128/apps
@dirrmtry share/icons/hicolor/128x128
@dirrmtry share/icons/hicolor
@dirrmtry share/icons
@dirrm %%DATADIR%%/translations
@dirrm %%DATADIR%%
@dirrmtry share/applications