summaryrefslogblamecommitdiff
path: root/www/asp2php/files/patch-aa
blob: 783ad2fd88d485c6f9aef52c4be348ca7ce4fd1b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                
 

       
 



                                                         

         








                                                                                        
 
             
--- Makefile.orig	Sat Dec 16 00:56:20 2000
+++ Makefile	Sat Dec 16 00:56:25 2000
@@ -1,5 +1,5 @@
 
-CC=gcc
+CC=cc
 
 default:
 	$(CC) -c general.c -Wall
@@ -35,10 +35,10 @@
 	$(CC) -o unipiss unipiss.c html.o general.o -Wall
 
 install:
-	@if [ -e asp2php ]; then cp asp2php /usr/local/bin; fi;
-	@if [ -e unipiss ]; then cp unipiss /usr/local/bin; fi;
-	@if [ -e gtkasp2php ]; then cp gtkasp2php /usr/local/bin; fi;
-	@echo "Compiled programs have been installed in /usr/local/bin"
+	@if [ -e asp2php ]; then $(BSD_INSTALL_PROGRAM) asp2php ${PREFIX}/bin; fi;
+	@if [ -e unipiss ]; then $(BSD_INSTALL_PROGRAM) unipiss ${PREFIX}/bin; fi;
+	@if [ -e gtkasp2php ]; then $(BSD_INSTALL_PROGRAM) gtkasp2php ${PREFIX}/bin; fi;
+	@echo "Compiled programs have been installed in ${PREFIX}/bin"
 	@echo ""
 
 all: default