mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
651cf6d56e
Approved by: pawel / wg (mentors, implicit)
37 lines
816 B
Makefile
37 lines
816 B
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= awale
|
|
PORTVERSION= 1.5
|
|
CATEGORIES= games
|
|
MASTER_SITES= SAVANNAH
|
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
|
COMMENT= African board game
|
|
|
|
LICENSE= GPLv2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= desktop-file-utils tk
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README THANKS
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${ECHO_CMD} "#!/bin/sh" > ${WRKSRC}/src/x${PORTNAME}
|
|
@${ECHO_CMD} "${DATADIR}/xawale.tcl" >> ${WRKSRC}/src/x${PORTNAME}
|
|
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh| ; \
|
|
s|exec wish|exec ${WISH}|' \
|
|
${WRKSRC}/src/xawale.tcl
|
|
@${REINPLACE_CMD} -e 's|share/man|man|' \
|
|
${WRKSRC}/man/Makefile.in
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|