freebsd-ports/games/xglk/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

31 lines
815 B
Makefile

# Created by: Peter Pentchev <roam@FreeBSD.org>
# $FreeBSD$
PORTNAME= xglk
PORTVERSION= 411
PORTREVISION= 6
CATEGORIES= games
MASTER_SITES= http://www.ifarchive.org/if-archive/programming/glk/implementations/
DISTNAME= ${PORTNAME}-0${PORTVERSION}
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= X Windows Implementation of the Glk API
LIB_DEPENDS+= libpng.so:graphics/png
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= jpeg xorg
USE_XORG= x11
MAKE_ENV+= AR=${AR} RANLIB=${RANLIB} ECHO=${ECHO} RM=${RM:Q}
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/xglk
${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/xglk/
${INSTALL_DATA} ${WRKSRC}/libxglk.a ${STAGEDIR}${PREFIX}/lib/
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/Make.xglk ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>