1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/games/openssn/Makefile
Niclas Zeising be6c15b5c6 Add USES=xorg USES=gl, ports categories g
Add USES=xorg and USES=gl to ports in categories starting with 'g'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-05 22:16:14 +00:00

30 lines
675 B
Makefile

# Created by: Jesse Smith <jessefrgsmith@yahoo.ca>
# $FreeBSD$
PORTNAME= openssn
PORTVERSION= 1.4
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= jessefrgsmith@yahoo.ca
COMMENT= Modern submarine simulator
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= sdl xorg
USE_SDL= sdl gfx image mixer
USE_XORG= x11 xau xdmcp xext xmu xpm xxf86vm
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
@${REINPLACE_CMD} -E \
-e '/cp|mkdir/s,\$$\(PREFIX\)|\$$\(DATADIR\),$$(DESTDIR)&,' \
-e 's,share/man/man6,man/man6,' ${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>