1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/games/pp/Makefile
Satoshi Asami 2971a93e52 Convert to PORTNAME/PORTVERSION. The following ports hand invalid version
strings so I fixed them: quakeforge, netrek-BRMH, netrek-COW3, tetrinet-x and
xnibbles.
2000-04-14 12:28:40 +00:00

44 lines
1.2 KiB
Makefile

# New ports collection makefile for: pp
# Date created: 21 May 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= pp
PORTVERSION= 0.01
CATEGORIES= games
MASTER_SITES= ftp://www.mps.de/pub/unix/ \
http://www.nectar.com/distfiles/
DISTFILES= ppinst-0.01.tar.gz ppsrc-0.01.tar.gz
MAINTAINER= ports@FreeBSD.org
USE_QT= yes
USE_X_PREFIX= yes
WRKSRC= ${WRKDIR}/ppsrc
pre-build:
@ cd ${WRKSRC}; ${MAKE} ${MAKE_ENV} depend
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/pp ${PREFIX}/bin/pp.bin
@ ${SED} 's#%%PREFIX%%#${PREFIX}#g' ${FILESDIR}/pp.sh > ${WRKDIR}/pp.sh
@ ${INSTALL_SCRIPT} ${WRKDIR}/pp.sh ${PREFIX}/bin/pp
@ ${MKDIR} ${PREFIX}/share/pp
@ ${INSTALL_DATA} ${WRKDIR}/ppinst/autosave.sav ${PREFIX}/share/pp
@ ${MKDIR} ${PREFIX}/share/pp/pic
@ ${INSTALL_DATA} ${WRKDIR}/ppinst/*.gif ${PREFIX}/share/pp/pic
@ ${MKDIR} ${PREFIX}/share/pp/level
@ ${INSTALL_DATA} ${WRKDIR}/ppinst/*.map1 ${PREFIX}/share/pp/level
post-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/pp
.for file in INSTALL LICENSE RULES WARRANTY free-license.html
@ ${INSTALL_DATA} ${WRKDIR}/ppinst/${file} ${PREFIX}/share/doc/pp
.endfor
.endif
.include <bsd.port.mk>