4bdd4f3a9e
PR: 205581 Submitted by: monwarez@mailoo.org (maintainer)
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# Created by: Sven Moeller <smoeller@nichthelfer.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= megaglest
|
|
PORTVERSION= 3.12.0
|
|
CATEGORIES= games
|
|
PKGNAMESUFFIX= -data
|
|
|
|
MAINTAINER= monwarez@mailoo.org
|
|
COMMENT= MegaGlest data files
|
|
|
|
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>
|