aboutsummaryrefslogtreecommitdiff
path: root/games/uox3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/uox3/Makefile')
-rw-r--r--games/uox3/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/games/uox3/Makefile b/games/uox3/Makefile
new file mode 100644
index 000000000000..012447c752e2
--- /dev/null
+++ b/games/uox3/Makefile
@@ -0,0 +1,57 @@
+# New ports collection makefile for: uox3
+# Version required: 0.69.02
+# Date created: 24 Feb 1999
+# Whom: Donald Burr <dburr@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= uox3v6902-linux
+PKGNAME= uox3-0.69.02
+CATEGORIES= games
+MASTER_SITES= ftp://provolone.dynip.com/pub/ \
+ http://users.1st.net/magda/
+EXTRACT_SUFX= .zip
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} tqpsworld${EXTRACT_SUFX}
+
+MAINTAINER= dburr@FreeBSD.ORG
+
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
+
+DIST_SUBDIR= uox3
+#EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_CMD= unzip
+EXTRACT_BEFORE_ARGS= -qa
+EXTRACT_AFTER_ARGS= # empty
+
+NO_WRKSUBDIR= YES
+
+USE_GMAKE= YES
+MAKEFILE= makefile
+ALL_TARGET= linux
+
+do-build:
+ cd ${WRKSRC}/dev && ${GMAKE} -f ${MAKEFILE} CFLAGS="${CFLAGS}" ${ALL_TARGET}
+
+do-install:
+ ${RM} ${WRKDIR}/uox/uox3.ini.orig
+ ${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
+ @echo "==> Extra documentation WILL NOT be installed."
+.else
+ @echo "==> Installing extra documentation..."
+ ${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>