1999-11-23 01:20:39 +00:00
|
|
|
# New ports collection makefile for: XShipWars-Game-Client
|
|
|
|
# Date created: Nov 7th 1999
|
|
|
|
# Whom: troll
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-14 12:28:40 +00:00
|
|
|
PORTNAME= xshipwars-client
|
|
|
|
PORTVERSION= 1.23
|
1999-11-23 01:20:39 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ftp://fox.mit.edu/pub/xsw/
|
|
|
|
DISTFILES= xsw1.23.tgz stimages1.3.tgz
|
|
|
|
|
|
|
|
MAINTAINER= troll@digitalspark.net
|
|
|
|
|
2000-01-09 09:46:20 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
|
|
|
|
1999-11-23 01:20:39 +00:00
|
|
|
WRKSRC= ${WRKDIR}/xsw1.23/client
|
1999-12-09 15:34:45 +00:00
|
|
|
USE_XLIB= YES
|
1999-11-23 01:20:39 +00:00
|
|
|
USE_GMAKE= YES
|
|
|
|
MAKEFILE= Makefile.FreeBSD
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@ ${ECHO} "===> Initalizing Sounds Directory"
|
|
|
|
@ ${TOUCH} ${PREFIX}/share/xshipwars/sounds/SoundsGoHere
|
|
|
|
@ ${ECHO} "===> Installing Default Image Set "
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/xshipwars
|
|
|
|
@ ${CP} -R ${WRKSRC}/../../images \
|
|
|
|
${PREFIX}/share/xshipwars/
|
2000-03-08 22:49:06 +00:00
|
|
|
@ ${CHMOD} -R 744 ${PREFIX}/share/xshipwars
|
|
|
|
@ ${CHMOD} -R a+X ${PREFIX}/share/xshipwars
|
1999-11-23 01:20:39 +00:00
|
|
|
@ ${ECHO} "===> Installing Documentation "
|
|
|
|
@ ${MKDIR} ${PREFIX}/share/doc/xshipwars
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../README \
|
|
|
|
${PREFIX}/share/doc/xshipwars
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../CREDITS \
|
|
|
|
${PREFIX}/share/doc/xshipwars
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../DOCS_NOW_ONLINE \
|
|
|
|
${PREFIX}/share/doc/xshipwars
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../INSTALL \
|
|
|
|
${PREFIX}/share/doc/xshipwars
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../LICENSE \
|
|
|
|
${PREFIX}/share/doc/xshipwars
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/../TODO \
|
|
|
|
${PREFIX}/share/doc/xshipwars
|
|
|
|
@ ${ECHO} "===> Stripping Binary "
|
|
|
|
@ strip ${PREFIX}/bin/xsw
|
|
|
|
|
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|