mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
3505159e72
Move ports to the licenses framework. RESTRICTED → auto-accept (unless expressly stated otherwise) NO_CDROM → dist-mirror pkg-mirror auto-accept Differential Revision: https://reviews.freebsd.org/D30010
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# Created by: swallace
|
|
|
|
PORTNAME= xinvaders
|
|
PORTVERSION= 2.1.1
|
|
PORTREVISION= 11
|
|
CATEGORIES= games
|
|
MASTER_SITES= SUNSITE/games/arcade/invaders
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Shoot-em-up them nasty little bugs
|
|
|
|
# Converted from NO_CDROM
|
|
LICENSE= xinvaders
|
|
LICENSE_NAME= xinvaders
|
|
LICENSE_TEXT= don't sell for profit
|
|
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
|
|
|
|
USES= gettext xorg
|
|
USE_XORG= x11 xmu xaw xt
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-scorefile=/var/games/xinvaders.scores
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lintl
|
|
|
|
DESKTOP_ENTRIES="XInvaders" "Space Invaders game for X" \
|
|
"${PREFIX}/share/pixmaps/${PORTNAME}.xpm" "${PORTNAME}" "" ""
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|$$(prefix)/games|$$(prefix)/bin| ; \
|
|
/install-exec-am:/s|install-exec-local|| ; \
|
|
/install-data-am:/s|install-data-local||' ${WRKSRC}/Makefile.in
|
|
|
|
post-install:
|
|
(cd ${FILESDIR} && ${INSTALL_DATA} Vaders.ad \
|
|
${STAGEDIR}${PREFIX}/lib/X11/app-defaults/Vaders)
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} icon.xpm \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.xpm)
|
|
${MKDIR} ${STAGEDIR}/var/games
|
|
${ECHO_CMD} "0" > ${STAGEDIR}/var/games/xinvaders.scores.sample
|
|
|
|
.include <bsd.port.mk>
|