mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
ff86204d08
- Add LICENSE_FILE - Remove @dirrm* from pkg-plist PR: 196217 Submitted by: amdmi3 Approved by: maintainer timeout (nemysis)
41 lines
1023 B
Makefile
41 lines
1023 B
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wizznic
|
|
PORTVERSION= 0.9.9
|
|
DISTVERSIONSUFFIX=-src
|
|
PORTREVISION= 5
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/Source%20Releases/
|
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
|
COMMENT= Implementation of the arcade classic Puzznic
|
|
|
|
LICENSE= GPLv3 # or later
|
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
|
|
|
|
USES= gmake tar:bzip2
|
|
USE_SDL= image mixer sdl
|
|
MAKE_ENV= DATADIR=${DATADIR}/ BINDIR=${PREFIX}/bin
|
|
ALL_TARGET= sdl
|
|
USE_GCC= yes
|
|
|
|
PORTDOCS= changelog.txt credits.txt music-score-credits.txt readme.txt
|
|
|
|
DESKTOP_ENTRIES="Wizznic!" "${COMMENT}" ${PORTNAME} \
|
|
"${PORTNAME}" "Game;LogicGame;" false
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${CHMOD} -R 755 ${STAGEDIR}${DATADIR}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
|
|
${LN} -sf ${DATADIR}/packs/001_wizznic/icon.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
|
|
|
.include <bsd.port.mk>
|