2002-09-15 07:01:25 -04:00
|
|
|
$OpenBSD: patch-Makefile,v 1.5 2002/09/15 11:01:25 shell Exp $
|
2002-06-05 22:24:20 -04:00
|
|
|
|
2002-09-15 07:01:25 -04:00
|
|
|
--- Makefile.orig Sun Sep 15 18:56:36 2002
|
|
|
|
+++ Makefile Sun Sep 15 18:57:51 2002
|
|
|
|
@@ -1,7 +1,7 @@
|
2001-03-21 18:28:16 -05:00
|
|
|
|
|
|
|
-CC=gcc
|
2002-06-05 22:24:20 -04:00
|
|
|
+CC+=${CFLAGS}
|
|
|
|
+BINDIR=${PREFIX}/bin
|
|
|
|
LD=ld
|
2002-09-15 07:01:25 -04:00
|
|
|
-CFLAGS=-Wall
|
2001-03-21 18:28:16 -05:00
|
|
|
|
|
|
|
default:
|
2002-09-15 07:01:25 -04:00
|
|
|
cd src && make
|
|
|
|
@@ -17,9 +17,9 @@ gui:
|
2002-06-05 22:24:20 -04:00
|
|
|
@mv src/gtkasp2php .
|
2001-03-21 18:28:16 -05:00
|
|
|
|
|
|
|
install:
|
2001-07-09 23:48:54 -04:00
|
|
|
- @if [ -e asp2php ]; then install asp2php /usr/local/bin; fi;
|
|
|
|
- @if [ -e gtkasp2php ]; then install gtkasp2php /usr/local/bin; fi;
|
2001-03-21 18:28:16 -05:00
|
|
|
- @echo "Compiled programs have been installed in /usr/local/bin"
|
2001-07-09 23:48:54 -04:00
|
|
|
+ @if [ -e asp2php ]; then install asp2php ${BINDIR}; fi;
|
|
|
|
+ @if [ -e gtkasp2php ]; then install gtkasp2php ${BINDIR}; fi;
|
2002-09-15 07:01:25 -04:00
|
|
|
+ @echo "Compiled programs have been installed in ${BINDIR}"
|
|
|
|
@echo ""
|
2001-03-21 18:28:16 -05:00
|
|
|
|
2002-06-05 22:24:20 -04:00
|
|
|
uninstall:
|