1999-02-25 01:55:50 -05:00
|
|
|
# New ports collection makefile for: uox3
|
|
|
|
# Date created: 24 Feb 1999
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Donald Burr <dburr@FreeBSD.org>
|
1999-02-25 01:55:50 -05:00
|
|
|
#
|
1999-08-25 02:06:33 -04:00
|
|
|
# $FreeBSD$
|
1999-02-25 01:55:50 -05:00
|
|
|
#
|
|
|
|
|
2000-04-14 08:28:40 -04:00
|
|
|
PORTNAME= uox3
|
|
|
|
PORTVERSION= 0.69.02
|
1999-02-25 01:55:50 -05:00
|
|
|
CATEGORIES= games
|
1999-10-07 00:29:15 -04:00
|
|
|
MASTER_SITES= ftp://ftp.borg-cube.com/pub/uox3/
|
1999-02-25 01:55:50 -05:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} tqpsworld${EXTRACT_SUFX}
|
2000-04-14 08:28:40 -04:00
|
|
|
DISTNAME= uox3v6902-linux
|
1999-02-25 01:55:50 -05:00
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= dburr@FreeBSD.org
|
1999-02-25 01:55:50 -05:00
|
|
|
|
1999-05-04 06:26:30 -04:00
|
|
|
DIST_SUBDIR= uox3
|
1999-05-01 08:34:38 -04:00
|
|
|
USE_ZIP= YES
|
1999-02-25 01:55:50 -05:00
|
|
|
NO_WRKSUBDIR= YES
|
1999-09-10 21:00:29 -04:00
|
|
|
PATCH_STRIP= -p1
|
1999-02-25 01:55:50 -05:00
|
|
|
|
|
|
|
USE_GMAKE= YES
|
|
|
|
MAKEFILE= makefile
|
|
|
|
ALL_TARGET= linux
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}/dev && ${GMAKE} -f ${MAKEFILE} CFLAGS="${CFLAGS}" ${ALL_TARGET}
|
|
|
|
|
|
|
|
do-install:
|
2000-02-27 18:12:15 -05:00
|
|
|
-${RM} ${WRKDIR}/uox/uox3.ini.orig
|
1999-02-25 01:55:50 -05:00
|
|
|
${MKDIR} ${PREFIX}/uox3
|
|
|
|
for FILE in ${WRKDIR}/uox/* ; do \
|
|
|
|
${INSTALL_DATA} $${FILE} ${PREFIX}/uox3 ;\
|
|
|
|
done
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dev/uox3 ${PREFIX}/uox3
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/uox3.wsc ${PREFIX}/uox3
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/WSC\ Changes.txt ${PREFIX}/uox3/wsc_changes.txt
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/uox3.sh ${PREFIX}/etc/rc.d/uox3.sh
|
|
|
|
.ifdef NOPORTDOCS
|
1999-08-27 17:14:04 -04:00
|
|
|
@${ECHO_MSG} "==> Extra documentation WILL NOT be installed."
|
1999-02-25 01:55:50 -05:00
|
|
|
.else
|
1999-08-27 17:14:04 -04:00
|
|
|
@${ECHO_MSG} "==> Installing extra documentation..."
|
1999-02-25 01:55:50 -05:00
|
|
|
${MKDIR} ${PREFIX}/uox3/docs
|
|
|
|
for FILE in ${WRKDIR}/docs/* ; do \
|
|
|
|
${INSTALL_DATA} $${FILE} ${PREFIX}/uox3/docs ;\
|
|
|
|
done
|
|
|
|
.endif
|
2000-10-08 06:23:48 -04:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1999-02-25 01:55:50 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|