aboutsummaryrefslogtreecommitdiffstats
path: root/x11/erun/Makefile
blob: 3e724d3f5afbe1872a060e7b097be9d36ae9e34b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Kelly Yancey <kbyanc@posi.net>
# $FreeBSD$

PORTNAME=   E-Run
PORTVERSION=    1.2
PORTREVISION=   13
CATEGORIES= x11
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= kbyanc

MAINTAINER= enlightenment@FreeBSD.org
COMMENT=    Simple epplet for launching arbitrary programs

LIB_DEPENDS=    libepplet.so:${PORTSDIR}/x11-wm/epplets \
        libImlib2.so:${PORTSDIR}/graphics/imlib2

PLIST_FILES=    bin/E-Run.epplet

WRKSRC=     ${WRKDIR}/${PORTNAME}

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>