1998-08-01 05:00:13 +00:00
|
|
|
# New ports collection makefile for: pp
|
|
|
|
# Version required: 0.01
|
|
|
|
# Date created: 21 May 1998
|
|
|
|
# Whom: Andrey Zakhvatov
|
|
|
|
#
|
1998-09-28 02:17:33 +00:00
|
|
|
# $Id: Makefile,v 1.4 1998/08/12 06:29:28 asami Exp $
|
1998-08-01 05:00:13 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= pp-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= andy@icc.surw.chel.su
|
|
|
|
|
1998-08-12 06:29:36 +00:00
|
|
|
USE_QT= yes
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-08-01 05:00:13 +00:00
|
|
|
WRKSRC= ${WRKDIR}/ppsrc
|
|
|
|
|
|
|
|
pre-build:
|
1998-09-28 02:17:33 +00:00
|
|
|
@ cd ${WRKSRC}; ${MAKE} ${MAKE_ENV} depend
|
1998-08-01 05:00:13 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
.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>
|