freebsd-ports/games/lmarbles/Makefile
Dmitry Marakasov 075372439e - Release ports maintained by games@
games@ team is quite small and inactive, so ports currently assigned
to it cannot be assumed as properly maintained. To not cause confusion
by making it look otherwise, and also to allow and promote adoption
by individual maintainers, release these ports back to the pool. Note
that this does not change the fact that games@ team still takes care
of these ports to excent of its capabilities.

Suggested by:	marino
2014-10-31 16:11:33 +00:00

56 lines
1.5 KiB
Makefile

# Created by: verm@drunkmonk.net
# $FreeBSD$
PORTNAME= lmarbles
PORTVERSION= 1.0.8
PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= SF/lgames/${PORTNAME} \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}_icons${EXTRACT_SUFX}:icons
MAINTAINER= ports@FreeBSD.org
COMMENT= Atomix-like game of moving marbles in puzzles
LICENSE= GPLv2
USES= gmake
USE_SDL= sdl mixer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${ETCDIR}
PORTDOCS= *
DOCSRCDIR1= ${WRKSRC}
DOC_FILES1= AUTHORS ChangeLog README README-SDL.txt
DOCSRCDIR2= ${WRKSRC}/src/manual
DOCSDIR2= ${DOCSDIR}/manual
DOC_FILES2= *.jpg *.html
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|(datadir)/icons|(datadir)/pixmaps|; \
s|(datadir)/pixmaps/lmarbles48.gif|(datadir)/pixmaps/lmarbles48.png|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|-m 666||; \
s|lmarbles.prfs|lmarbles.prfs.sample|' \
${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e 's|icons/lmarbles48.gif|icons/lmarbles48.png|' \
${WRKSRC}/lmarbles.desktop.in
post-install:
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}*.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${CHMOD} -R 464 ${STAGEDIR}${ETCDIR}/lmarbles.prfs.sample
@${CHOWN} root:games ${STAGEDIR}${ETCDIR}/lmarbles.prfs.sample
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR2}
${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2}
.include <bsd.port.mk>