1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/games/uox3/Makefile
Satoshi Asami 7acef1cd7a Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
2000-10-08 10:23:48 +00:00

51 lines
1.3 KiB
Makefile

# New ports collection makefile for: uox3
# Date created: 24 Feb 1999
# Whom: Donald Burr <dburr@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= uox3
PORTVERSION= 0.69.02
CATEGORIES= games
MASTER_SITES= ftp://ftp.borg-cube.com/pub/uox3/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} tqpsworld${EXTRACT_SUFX}
DISTNAME= uox3v6902-linux
MAINTAINER= dburr@FreeBSD.org
DIST_SUBDIR= uox3
USE_ZIP= YES
NO_WRKSUBDIR= YES
PATCH_STRIP= -p1
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_MSG} "==> Extra documentation WILL NOT be installed."
.else
@${ECHO_MSG} "==> Installing extra documentation..."
${MKDIR} ${PREFIX}/uox3/docs
for FILE in ${WRKDIR}/docs/* ; do \
${INSTALL_DATA} $${FILE} ${PREFIX}/uox3/docs ;\
done
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>