mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
1b51e0c31d
- Describe LICENSE for game data Changes: https://github.com/MegaGlest/megaglest-source/releases/tag/3.13.0 PR: 217725 217726 Submitted by: Thibault Payet <monwarez@mailoo.org> (maintainer)
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# Created by: Sven Moeller <smoeller@nichthelfer.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= megaglest
|
|
PORTVERSION= 3.13.0
|
|
CATEGORIES= games
|
|
PKGNAMESUFFIX= -data
|
|
|
|
MAINTAINER= monwarez@mailoo.org
|
|
COMMENT= MegaGlest data files
|
|
|
|
LICENSE= CC-BY-SA-3.0
|
|
LICENSE_FILE= ${WRKSRC}/docs/LICENSE.data.txt
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= MegaGlest
|
|
GH_PROJECT= megaglest-data
|
|
|
|
USES= dos2unix
|
|
DOS2UNIX_GLOB= *.log *.ini *.html *.txt *.lng
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
BASEDOCS= AUTHORS.data.txt README.data-license.txt \
|
|
cc-by-sa-3.0-unported.txt COPYRIGHT.data.txt
|
|
PORTDOCS= *
|
|
PORTDATA= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} "data maps scenarios techs tilesets tutorials" ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/others/desktop/megaglest.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
|
${INSTALL_DATA} ${WRKSRC}/others/desktop/megaglest_editor.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
|
${INSTALL_DATA} ${WRKSRC}/others/desktop/megaglest_g3dviewer.desktop ${STAGEDIR}${PREFIX}/share/applications/
|
|
${INSTALL_DATA} ${WRKSRC}/others/icons/megaglest.png ${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} "${BASEDOCS} glest_factions" ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|