aboutsummaryrefslogtreecommitdiffstats
path: root/x11/erun/Makefile
blob: 3b335d6d53ca7b41bdc90be2f2ea4c29c484540b (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
33
34
35
36
# New ports collection makefile for:    E-Run 1.2
# Date created:             17 June 2000
# Whom:                 Kelly Yancey <kbyanc@posi.net>
#
# $FreeBSD$
#

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    A simple epplet for launching arbitrary programs

LIB_DEPENDS=    epplet.1:${PORTSDIR}/x11-wm/epplets

PLIST_FILES=    bin/E-Run.epplet

WRKSRC=     ${WRKDIR}/${PORTNAME}

USE_X_PREFIX=   yes

CPPFLAGS=   -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
LDFLAGS=    -L${LOCALBASE}/lib -L${X11BASE}/lib -lepplet -lGL ${PTHREAD_LIBS}

do-build:
    cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME}.epplet \
        ${PORTNAME}.c ${LDFLAGS}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.epplet ${PREFIX}/bin

.include <bsd.port.mk>