d437afe742
- Change maintainer email to @FreeBSD.org - Support STAGEDIR - Add DOCS Option - Simplify Makefile - Change pkg-plist, remove mtree Approved by: pawel / wg (mentors, implicit)
40 lines
966 B
Makefile
40 lines
966 B
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cutemaze
|
|
PORTVERSION= 1.1.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://gottcode.org/${PORTNAME}/
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
|
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
|
COMMENT= Simple, top-down game in which mazes are randomly generated
|
|
|
|
LICENSE= GPLv3
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USES= qmake
|
|
USE_BZIP2= yes
|
|
USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
|
|
corelib gui svg
|
|
INSTALLS_ICONS= yes
|
|
|
|
PORTDOCS= ChangeLog README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
.for d in 16x16 22x22 scalable
|
|
@(cd ${WRKSRC}/icons/oxygen && ${COPYTREE_SHARE} ${d} \
|
|
${STAGEDIR}${PREFIX}/share/icons/oxygen)
|
|
.endfor
|
|
|
|
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|