1999-02-25 06:55:50 +00:00
|
|
|
# New ports collection makefile for: uox3
|
|
|
|
# Date created: 24 Feb 1999
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Donald Burr <dburr@FreeBSD.org>
|
1999-02-25 06:55:50 +00:00
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1999-02-25 06:55:50 +00:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:28:40 +00:00
|
|
|
PORTNAME= uox3
|
|
|
|
PORTVERSION= 0.69.02
|
1999-02-25 06:55:50 +00:00
|
|
|
CATEGORIES= games
|
1999-10-07 04:29:15 +00:00
|
|
|
MASTER_SITES= ftp://ftp.borg-cube.com/pub/uox3/
|
1999-02-25 06:55:50 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} tqpsworld${EXTRACT_SUFX}
|
2000-04-14 12:28:40 +00:00
|
|
|
DISTNAME= uox3v6902-linux
|
1999-02-25 06:55:50 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= dburr@FreeBSD.org
|
1999-02-25 06:55:50 +00:00
|
|
|
|
1999-05-04 10:26:30 +00:00
|
|
|
DIST_SUBDIR= uox3
|
1999-05-01 12:34:38 +00:00
|
|
|
USE_ZIP= YES
|
1999-02-25 06:55:50 +00:00
|
|
|
NO_WRKSUBDIR= YES
|
1999-09-11 01:00:29 +00:00
|
|
|
PATCH_STRIP= -p1
|
1999-02-25 06:55:50 +00: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 23:12:15 +00:00
|
|
|
-${RM} ${WRKDIR}/uox/uox3.ini.orig
|
1999-02-25 06:55:50 +00: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 21:14:04 +00:00
|
|
|
@${ECHO_MSG} "==> Extra documentation WILL NOT be installed."
|
1999-02-25 06:55:50 +00:00
|
|
|
.else
|
1999-08-27 21:14:04 +00:00
|
|
|
@${ECHO_MSG} "==> Installing extra documentation..."
|
1999-02-25 06:55:50 +00:00
|
|
|
${MKDIR} ${PREFIX}/uox3/docs
|
|
|
|
for FILE in ${WRKDIR}/docs/* ; do \
|
|
|
|
${INSTALL_DATA} $${FILE} ${PREFIX}/uox3/docs ;\
|
|
|
|
done
|
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|