2013-09-20 19:36:33 +02:00
|
|
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
2007-08-15 17:16:43 +02:00
|
|
|
|
|
|
|
PORTNAME= awale
|
2015-03-16 15:48:43 +01:00
|
|
|
PORTVERSION= 1.6
|
2007-08-15 17:16:43 +02:00
|
|
|
CATEGORIES= games
|
2009-08-08 08:24:23 +02:00
|
|
|
MASTER_SITES= SAVANNAH
|
2007-08-15 17:16:43 +02:00
|
|
|
|
2014-10-31 17:11:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2007-08-15 17:16:43 +02:00
|
|
|
COMMENT= African board game
|
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2014-10-11 16:00:53 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2009-08-08 08:24:23 +02:00
|
|
|
|
2015-03-16 15:48:43 +01:00
|
|
|
USES= tk:wrapper
|
2013-11-21 01:34:47 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2009-08-08 08:24:23 +02:00
|
|
|
|
2013-11-21 01:34:47 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2015-03-16 15:48:43 +01:00
|
|
|
PORTDATA= *
|
|
|
|
PORTDOCS= *
|
|
|
|
PLIST_FILES= bin/awale \
|
|
|
|
bin/xawale \
|
|
|
|
man/man6/awale.6.gz \
|
|
|
|
man/man6/xawale.6.gz \
|
|
|
|
share/applications/awale.desktop
|
|
|
|
|
2013-12-10 00:27:44 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2009-08-08 08:24:23 +02:00
|
|
|
|
|
|
|
post-patch:
|
2015-03-16 15:48:43 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^mandir/s|=.*|= @mandir@|' ${WRKSRC}/man/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|/bin/bash|/bin/sh|' ${WRKSRC}/src/xawale.tcl
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
@${ECHO_CMD} -n > ${WRKSRC}/src/xawale
|
|
|
|
@${ECHO_CMD} "#!/bin/sh" >> ${WRKSRC}/src/xawale
|
|
|
|
@${ECHO_CMD} "${DATADIR}/xawale.tcl" >> ${WRKSRC}/src/xawale
|
2013-11-21 01:34:47 +01:00
|
|
|
|
|
|
|
post-install:
|
2013-10-30 05:27:40 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2015-03-16 15:48:43 +01:00
|
|
|
.for i in AUTHORS ChangeLog NEWS README THANKS
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
|
|
|
|
.endfor
|
2007-08-15 17:16:43 +02:00
|
|
|
|
2012-03-24 17:25:48 +01:00
|
|
|
.include <bsd.port.mk>
|