55 lines
1.2 KiB
Makefile
55 lines
1.2 KiB
Makefile
# Created by: nemysis <nemysis@gmx.ch>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= epiar
|
|
PORTVERSION= 0.5.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= games
|
|
MASTER_SITES= GH
|
|
|
|
MAINTAINER= nemysis@gmx.ch
|
|
COMMENT= Space trading/exploring sim with RPG elements
|
|
|
|
LICENSE= GPLv2 CCbyNCSA3
|
|
LICENSE_COMB= dual
|
|
LICENSE_NAME_CCbyNCSA3=Attribution-NonCommercial-ShareAlike 3.0 Unported
|
|
LICENSE_FILE_CCbyNCSA3=${WRKSRC}/LICENSE.music
|
|
LICENSE_PERMS_CCbyNCSA3=dist-mirror pkg-mirror auto-accept
|
|
|
|
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
|
|
ftgl:${PORTSDIR}/graphics/ftgl \
|
|
xml2:${PORTSDIR}/textproc/libxml2 \
|
|
physfs:${PORTSDIR}/devel/physfs
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= knowknowledge
|
|
GH_PROJECT= Epiar
|
|
GH_TAGNAME= ${GH_COMMIT}
|
|
GH_COMMIT= 44046e3
|
|
|
|
USES= pkgconfig
|
|
USE_SDL= image mixer sdl
|
|
USE_GL= glu
|
|
USE_AUTOTOOLS= aclocal autoheader automake autoconf
|
|
AUTOMAKE_ARGS= --add-missing
|
|
ACLOCAL_ARGS=
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
|
|
PORTDOCS= AUTHORS ChangeLog README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/share/applications
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|