mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
bc07afc1c2
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command. Use command macros where appropriate.
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
# New ports collection makefile for: xinvaders
|
|
# Date created: 3 Jan 1995
|
|
# Whom: swallace
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xinvaders
|
|
PORTVERSION= 2.1.1
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= games/arcade/invaders
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
|
|
|
|
NO_CDROM= "don't sell for profit"
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_AUTOMAKE= yes
|
|
AUTOMAKE_ARGS= --include-deps
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib -lintl"
|
|
CONFIGURE_ARGS= --enable-scorefile=${PREFIX}/share/xinvaders/xinvaders.scores
|
|
|
|
MAN6= xinvaders.6
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${FILESDIR}/Vaders.ad ${PREFIX}/lib/X11/app-defaults/Vaders
|
|
@${MKDIR} ${PREFIX}/share/xinvaders
|
|
@${ECHO_CMD} '0' > ${PREFIX}/share/xinvaders/xinvaders.scores
|
|
@${CHOWN} root:games ${PREFIX}/bin/xinvaders
|
|
@${CHMOD} 2555 ${PREFIX}/bin/xinvaders
|
|
@${CHOWN} root:games ${PREFIX}/share/xinvaders/xinvaders.scores
|
|
@${CHMOD} 0660 ${PREFIX}/share/xinvaders/xinvaders.scores
|
|
|
|
.include <bsd.port.mk>
|