[Midnightbsd-cvs] src: BSDmakefile: start of our core perl.

ctriv at midnightbsd.org ctriv at midnightbsd.org
Sun Mar 15 19:23:50 EDT 2009


Log Message:
-----------
start of our core perl.
Right now the man pages aren't handled correctly, nor is building in '.'.
Not yet ready to be connected to the build.

Added Files:
-----------
    src/usr.bin/perl:
        BSDmakefile (r1.1)

-------------- next part --------------
--- /dev/null
+++ usr.bin/perl/BSDmakefile
@@ -0,0 +1,33 @@
+.include <bsd.own.mk>
+.include <bsd.obj.mk>
+
+
+SRCDIR= ${.CURDIR}/../../contrib/perl
+
+CONFIGURE_ARGS= -des -Dprefix=/usr -Dsiteprefix=/usr/local -Dvendorprefix=/usr \
+                -Dmksymlinks -Dsrc=${SRCDIR} 
+                
+CONFIGURE_SCRIPT=    Configure
+                
+PERL_MAKEFILE= Makefile
+                
+all: perl
+                
+perl: ${PERL_MAKEFILE}
+	cd ${.OBJDIR} && ${MAKE} -f ${PERL_MAKEFILE}
+	
+${PERL_MAKEFILE}:
+	cd ${.OBJDIR} && ${SRCDIR}/${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
+            
+clean:
+	cd ${.OBJDIR} && ls -A | grep -v 'BSDmakefile' | xargs rm -r
+
+install:
+	cd ${.OBJDIR} && ${MAKE} -f ${PERL_MAKEFILE} install	
+                                        
+.PHONY: clean                                        
+                                        
+                                        
+                                        
+                                        
+                                        
\ No newline at end of file


More information about the Midnightbsd-cvs mailing list