mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
33 lines
741 B
Plaintext
33 lines
741 B
Plaintext
|
--- makefile.orig Sat Mar 11 12:05:21 2000
|
||
|
+++ makefile Fri Mar 31 09:45:06 2000
|
||
|
@@ -5,6 +5,8 @@
|
||
|
DOC = $(NAME).ABOUT
|
||
|
DATA = 1.gif 2.gif 3.gif
|
||
|
DOC_OR_DATA = 1
|
||
|
+EBIN = ${PREFIX}/bin
|
||
|
+EROOT = ${PREFIX}/share/enlightenment
|
||
|
DATAPATH = ${EROOT}/epplet_data/$(NAME)
|
||
|
|
||
|
all: $(EPPLET)
|
||
|
@@ -13,10 +15,7 @@
|
||
|
@make -i -s pack
|
||
|
|
||
|
%.epplet: %.c
|
||
|
- @echo Compiling $@
|
||
|
- @gcc -Wall -O2 -I/usr/X11R6/include -o $@ $< -lepplet
|
||
|
- @strip $@;
|
||
|
- @if [ ! -z "`which sstrip`" ]; then sstrip $@; fi;
|
||
|
+ ${CC} ${CFLAGS} -I${PREFIX}/include -o $@ $< -L${PREFIX}/lib -lepplet
|
||
|
|
||
|
install: $(EPPLET)
|
||
|
@if [ -z "${EROOT}" -o -z "${EBIN}" ]; then\
|
||
|
@@ -52,7 +51,7 @@
|
||
|
@echo $(NAME) "uninstalled :("
|
||
|
|
||
|
clean:
|
||
|
- rm $(EPPLET) *~
|
||
|
+ rm $(EPPLET)
|
||
|
|
||
|
pack: $(EPPLET)
|
||
|
rm *~
|