6d83e65a8b
Approved by: portmgr (implicit)
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Janos Mohacsi <janos.mohacsi@bsd.hu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pathological
|
|
PORTVERSION= 1.1.3
|
|
PORTREVISION= 10
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= jmohacsi@bsd.hu
|
|
COMMENT= Enriched clone of the game "Logical"
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= ${PYGAME}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
USES= python
|
|
NO_BUILD= yes
|
|
|
|
DOC_FILES= favicon.ico index.html
|
|
|
|
DESKTOP_ENTRIES="Pathological" \
|
|
"Logic game" \
|
|
"${DATADIR}/pathological.ico" \
|
|
"pathological" \
|
|
"Game;LogicGame;" \
|
|
false
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC}; tar -cf - circuits graphics music sounds pathological.ico pathological.py pathological.xpm) | \
|
|
(cd ${STAGEDIR}${DATADIR}; tar --unlink -xf -)
|
|
@${PRINTF} "#!/bin/sh\ncd ${DATADIR} && \
|
|
exec ${PYTHON_CMD} ${DATADIR}/pathological.py\n" > ${WRKDIR}/pathological.sh
|
|
${INSTALL_SCRIPT} ${WRKDIR}/pathological.sh \
|
|
${STAGEDIR}${PREFIX}/bin/pathological
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6.gz ${STAGEDIR}${MANPREFIX}/man/man6
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/html/|g} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|