33 lines
755 B
Makefile
33 lines
755 B
Makefile
# Created by: Kelly Yancey <kbyanc@posi.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= E-Run
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 11
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= kbyanc
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Simple epplet for launching arbitrary programs
|
|
|
|
LIB_DEPENDS= libepplet.so:${PORTSDIR}/x11-wm/epplets
|
|
|
|
PLIST_FILES= bin/E-Run.epplet
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_GL= gl
|
|
USE_EFL= imlib2
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lepplet -lImlib2 -lGL ${PTHREAD_LIBS}
|
|
|
|
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>
|