diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-09 20:20:44 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-12-09 20:20:44 +0000 |
commit | 89b3d628cdb5b15de322fa24b66e03b29286bea9 (patch) | |
tree | c7549512ed44d30a46b9b62b43a706cd0356015e /x11/erun | |
parent | 4a268837eeb15870d54d6e81676c55ed6785f179 (diff) | |
download | ports-89b3d628cdb5b15de322fa24b66e03b29286bea9.tar.gz ports-89b3d628cdb5b15de322fa24b66e03b29286bea9.zip |
Notes
Diffstat (limited to 'x11/erun')
-rw-r--r-- | x11/erun/Makefile | 11 | ||||
-rw-r--r-- | x11/erun/files/patch-aa | 30 | ||||
-rw-r--r-- | x11/erun/pkg-descr | 3 |
3 files changed, 10 insertions, 34 deletions
diff --git a/x11/erun/Makefile b/x11/erun/Makefile index a08fdb006863..292be6e5bd99 100644 --- a/x11/erun/Makefile +++ b/x11/erun/Makefile @@ -19,6 +19,15 @@ LIB_DEPENDS= epplet.1:${PORTSDIR}/x11-wm/libepplet WRKSRC= ${WRKDIR}/${PORTNAME} USE_X_PREFIX= yes -USE_GNOME= imlib + +CPPFLAGS= -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${X11BASE}/lib -lepplet ${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> diff --git a/x11/erun/files/patch-aa b/x11/erun/files/patch-aa deleted file mode 100644 index da0d9705f78b..000000000000 --- a/x11/erun/files/patch-aa +++ /dev/null @@ -1,30 +0,0 @@ ---- Makefile.orig Tue Dec 14 11:14:20 1999 -+++ Makefile Sun Jun 18 01:38:17 2000 -@@ -1,12 +1,17 @@ --CFLAGS = -O3 -g --LINKFLAGS = -lepplet -+CFLAGS ?= -O3 -g -+LINKFLAGS = -lepplet -L/usr/X11R6/lib -+INCLUDEDIRS = -I/usr/X11R6/include - --CC = gcc -+CFLAGS += $(INCLUDEDIRS) -+ -+CC ?= gcc - - EXEC_NAME = E-Run.epplet - EXEC_OBJECTS = E-Run.o - --INSTALL_DIR = /usr/local/bin -+PREFIX ?= /usr/local -+INSTALL_DIR = ${PREFIX}/bin -+INSTALL_PROGRAM ?= install -c -m 755 - - all: $(EXEC_OBJECTS) - $(CC) -o $(EXEC_NAME) $(EXEC_OBJECTS) $(LINKFLAGS) -@@ -15,4 +20,4 @@ - rm -f $(EXEC_OBJECTS) $(EXEC_NAME) *~ - - install: -- install -o root -m 0555 $(EXEC_NAME) $(INSTALL_DIR) -+ $(INSTALL_PROGRAM) $(EXEC_NAME) $(INSTALL_DIR) diff --git a/x11/erun/pkg-descr b/x11/erun/pkg-descr index f9cb0358f68a..de5a67233a01 100644 --- a/x11/erun/pkg-descr +++ b/x11/erun/pkg-descr @@ -1,4 +1 @@ This epplet provides a small text entry field for launching programs. - - -Kelly - kbyanc@posi.net |