1998-09-11 05:10:39 -04:00
|
|
|
# New ports collection makefile for: PySol
|
|
|
|
# Date created: 11 September 1998
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1998-09-11 05:10:39 -04:00
|
|
|
#
|
1999-08-25 02:06:33 -04:00
|
|
|
# $FreeBSD$
|
1998-09-11 05:10:39 -04:00
|
|
|
#
|
|
|
|
|
2000-04-17 04:59:32 -04:00
|
|
|
PORTNAME= pysol
|
2000-05-30 06:51:38 -04:00
|
|
|
PORTVERSION= 4.40
|
1998-09-11 05:10:39 -04:00
|
|
|
CATEGORIES= games
|
1999-12-08 06:01:01 -05:00
|
|
|
MASTER_SITES= http://wildsau.idv.uni-linz.ac.at/mfx/download/pysol/
|
1998-12-22 11:07:34 -05:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${CARDSETS}${EXTRACT_SUFX}
|
1998-09-11 05:10:39 -04:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= tg@FreeBSD.org
|
1998-09-11 05:10:39 -04:00
|
|
|
|
2000-04-05 04:35:44 -04:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
|
1998-09-11 05:10:39 -04:00
|
|
|
|
2000-04-20 04:59:59 -04:00
|
|
|
.if defined(WITH_SOUND)
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/python1.5/site-packages/pysolsoundservermodule.so:${PORTSDIR}/audio/pysol-sound-server
|
|
|
|
.endif
|
|
|
|
|
1999-04-13 02:43:26 -04:00
|
|
|
NO_BUILD= yes
|
1998-12-22 11:07:34 -05:00
|
|
|
|
1999-10-13 04:44:01 -04:00
|
|
|
MAN6= pysol.6
|
|
|
|
|
2000-05-30 06:51:38 -04:00
|
|
|
CARDSETS= pysol-cardsets-4.20
|
1998-09-11 05:10:39 -04:00
|
|
|
|
2000-04-20 04:59:59 -04:00
|
|
|
.if !defined(WITH_SOUND)
|
|
|
|
post-extract:
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "If you want install sound support please use \"make -DWITH_SOUND\""
|
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
|
|
|
|
1998-09-11 05:10:39 -04:00
|
|
|
do-install:
|
1999-11-05 05:15:52 -05:00
|
|
|
${SED} -e "s|@pkgdatadir@|${PREFIX}/share/pysol|" < ${WRKSRC}/pysol > ${PREFIX}/bin/pysol
|
|
|
|
${CHMOD} +x ${PREFIX}/bin/pysol
|
1999-10-13 04:44:01 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/pysol.6 ${PREFIX}/man/man6
|
1998-09-11 05:10:39 -04:00
|
|
|
@${MKDIR} ${PREFIX}/share/pysol
|
|
|
|
(cd ${WRKSRC}/data; tar cf - *) | \
|
|
|
|
(cd ${PREFIX}/share/pysol; tar xf -)
|
1998-12-22 11:07:34 -05:00
|
|
|
(cd ${WRKDIR}/${CARDSETS}/data; tar cf - *) | \
|
|
|
|
(cd ${PREFIX}/share/pysol; tar xf -)
|
1998-09-11 05:10:39 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|