freebsd-ports/x11/erun/Makefile
Niclas Zeising 4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00

33 lines
721 B
Makefile

# Created by: Kelly Yancey <kbyanc@posi.net>
# $FreeBSD$
PORTNAME= E-Run
PORTVERSION= 1.2
PORTREVISION= 14
CATEGORIES= x11
MASTER_SITES= LOCAL/kbyanc
MAINTAINER= enlightenment@FreeBSD.org
COMMENT= Simple epplet for launching arbitrary programs
LIB_DEPENDS= libepplet.so:x11-wm/epplets \
libImlib2.so:graphics/imlib2
PLIST_FILES= bin/E-Run.epplet
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= gl
USE_GL= gl
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -lpthread -L${LOCALBASE}/lib -lepplet -lImlib2 -lGL
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME}.epplet \
${PORTNAME}.c ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.epplet ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>