freebsd-ports/games/xtron/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

36 lines
894 B
Makefile

# New ports collection makefile for: xtron
# Date created: 29 March 1998
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= xtron
PORTVERSION= 1.1a
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= games/arcade
EXTRACT_SUFX= .tgz
MAINTAINER= amdmi3@amdmi3.ru
COMMENT= Avoid running into walls, your own tail, and that of your opponent
USE_X_PREFIX= yes
USE_XPM= yes
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/xtronrc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xtron ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/xtron
${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/share/xtron
${INSTALL_DATA} ${WRKSRC}/xtronrc ${PREFIX}/lib/X11/app-defaults/Tron
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>