summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-08-04 12:34:50 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-08-04 12:34:50 +0000
commit50513d5d5238ab12e0e327b93bf433d7d288aeeb (patch)
treea01dbbed0a08990ed895d4f97017c2593d8d7172 /lang
parenta72afe28c2216c151a1fc5aa900c8abf9c7a709e (diff)
downloadfreebsd-ports-50513d5d5238ab12e0e327b93bf433d7d288aeeb.zip
Add support for DESTDIR part I.
This commit should largele be a NOOP as it only adds support for DESTDIR undefined. This does allow us to start testing ports with DESTDIR set, but this is as of yet not supported. Although this has been extensively tested on pointyhat, this is a very intrusive change and some cases may have been overlooked. Please contact Gabor and me if you find any. PR: 100555 Submitted by: gabor Sponsored by: Google Summer of Code 2006
Diffstat (limited to 'lang')
-rw-r--r--lang/erlang/Makefile8
-rw-r--r--lang/erlang14/Makefile8
-rw-r--r--lang/icc/Makefile2
-rw-r--r--lang/icc7/Makefile2
-rw-r--r--lang/ifc/Makefile2
-rw-r--r--lang/ifc7/Makefile2
-rw-r--r--lang/metaocaml/Makefile2
-rw-r--r--lang/perl5.10/Makefile2
-rw-r--r--lang/perl5.12/Makefile2
-rw-r--r--lang/perl5.14/Makefile2
-rw-r--r--lang/perl5.16/Makefile2
-rw-r--r--lang/perl5.6/Makefile2
-rw-r--r--lang/perl5.8/Makefile2
-rw-r--r--lang/perl5/Makefile2
-rw-r--r--lang/pike72/Makefile2
15 files changed, 21 insertions, 21 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 6dd5d54169e1..f208a36178a3 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -92,10 +92,10 @@ PLIST_SUB+= ERTS_VSN=${ERTS_VSN}
NOMANCOMPRESS= yes
-MAN1PREFIX= ${PREFIX}/lib/erlang
-MAN3PREFIX= ${PREFIX}/lib/erlang
-MAN4PREFIX= ${PREFIX}/lib/erlang
-MAN6PREFIX= ${PREFIX}/lib/erlang
+MAN1PREFIX= ${TARGETDIR}/lib/erlang
+MAN3PREFIX= ${TARGETDIR}/lib/erlang
+MAN4PREFIX= ${TARGETDIR}/lib/erlang
+MAN6PREFIX= ${TARGETDIR}/lib/erlang
# Workaround for a ./configure recursion bug which leads to INSTALL being
# set to "../../../../[...]"
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index 6dd5d54169e1..f208a36178a3 100644
--- a/lang/erlang14/Makefile
+++ b/lang/erlang14/Makefile
@@ -92,10 +92,10 @@ PLIST_SUB+= ERTS_VSN=${ERTS_VSN}
NOMANCOMPRESS= yes
-MAN1PREFIX= ${PREFIX}/lib/erlang
-MAN3PREFIX= ${PREFIX}/lib/erlang
-MAN4PREFIX= ${PREFIX}/lib/erlang
-MAN6PREFIX= ${PREFIX}/lib/erlang
+MAN1PREFIX= ${TARGETDIR}/lib/erlang
+MAN3PREFIX= ${TARGETDIR}/lib/erlang
+MAN4PREFIX= ${TARGETDIR}/lib/erlang
+MAN6PREFIX= ${TARGETDIR}/lib/erlang
# Workaround for a ./configure recursion bug which leads to INSTALL being
# set to "../../../../[...]"
diff --git a/lang/icc/Makefile b/lang/icc/Makefile
index 0041f228b107..880be30e50f8 100644
--- a/lang/icc/Makefile
+++ b/lang/icc/Makefile
@@ -38,7 +38,7 @@ PATCH_WRKSRC= ${WRKSRC}/opt/${COMPILERDIR}
MAN1= icc.1
MLINKS= icc.1 icpc.1
-MANPREFIX= ${PREFIX}/${COMPILERDIR}/
+MANPREFIX= ${TARGETDIR}/${COMPILERDIR}/
ICC_SITE= http://www.intel.com/software/products/compilers/
diff --git a/lang/icc7/Makefile b/lang/icc7/Makefile
index 3d7df0e7ee2d..794eb3fe585d 100644
--- a/lang/icc7/Makefile
+++ b/lang/icc7/Makefile
@@ -33,7 +33,7 @@ PLIST_SUB= COMPILERDIR=${COMPILERDIR}
PATCH_WRKSRC= ${WRKSRC}/opt/intel/${COMPILERDIR}
MAN1= icc.1
-MANPREFIX= ${PREFIX}/intel/${COMPILERDIR}/
+MANPREFIX= ${TARGETDIR}/intel/${COMPILERDIR}/
ICC_SITE= http://www.intel.com/software/products/compilers/
diff --git a/lang/ifc/Makefile b/lang/ifc/Makefile
index 890870697ce7..b509c562dd65 100644
--- a/lang/ifc/Makefile
+++ b/lang/ifc/Makefile
@@ -38,7 +38,7 @@ PLIST_SUB= COMPILERDIR=${COMPILERDIR}
PATCH_WRKSRC= ${WRKSRC}/opt/${COMPILERDIR}
MAN1= ifort.1
-MANPREFIX= ${PREFIX}/${COMPILERDIR}/
+MANPREFIX= ${TARGETDIR}/${COMPILERDIR}/
IFC_SITE= http://www.intel.com/software/products/compilers/
diff --git a/lang/ifc7/Makefile b/lang/ifc7/Makefile
index 3570f4b9551b..07a38c1a7ba5 100644
--- a/lang/ifc7/Makefile
+++ b/lang/ifc7/Makefile
@@ -32,7 +32,7 @@ PLIST_SUB= COMPILERDIR=${COMPILERDIR}
PATCH_WRKSRC= ${WRKSRC}/opt/intel/${COMPILERDIR}
MAN1= ifc.1
-MANPREFIX= ${PREFIX}/intel/${COMPILERDIR}/
+MANPREFIX= ${TARGETDIR}/intel/${COMPILERDIR}/
IFC_SITE= http://www.intel.com/software/products/compilers/
diff --git a/lang/metaocaml/Makefile b/lang/metaocaml/Makefile
index 2010f2a68e54..d1093b1b8fa3 100644
--- a/lang/metaocaml/Makefile
+++ b/lang/metaocaml/Makefile
@@ -63,7 +63,7 @@ OPTIONS= X11 "build the X11 graphics library" on \
.include <bsd.port.pre.mk>
# Have to set this here and can't use ${DATADIR} or MLINKS get screwed up
-MANPREFIX= ${PREFIX}/share/metaocaml
+MANPREFIX= ${TARGETDIR}/share/metaocaml
.if defined(WITH_X11)
USE_XLIB= yes
diff --git a/lang/perl5.10/Makefile b/lang/perl5.10/Makefile
index ab06bbd8d440..4a7cf88df437 100644
--- a/lang/perl5.10/Makefile
+++ b/lang/perl5.10/Makefile
@@ -119,7 +119,7 @@ PLIST_SUB+= NEED_USE_PERL="@comment "
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
.endif
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER}/perl
+MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VER}/perl
test:
@(cd ${WRKSRC}; make test)
diff --git a/lang/perl5.12/Makefile b/lang/perl5.12/Makefile
index ab06bbd8d440..4a7cf88df437 100644
--- a/lang/perl5.12/Makefile
+++ b/lang/perl5.12/Makefile
@@ -119,7 +119,7 @@ PLIST_SUB+= NEED_USE_PERL="@comment "
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
.endif
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER}/perl
+MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VER}/perl
test:
@(cd ${WRKSRC}; make test)
diff --git a/lang/perl5.14/Makefile b/lang/perl5.14/Makefile
index ab06bbd8d440..4a7cf88df437 100644
--- a/lang/perl5.14/Makefile
+++ b/lang/perl5.14/Makefile
@@ -119,7 +119,7 @@ PLIST_SUB+= NEED_USE_PERL="@comment "
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
.endif
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER}/perl
+MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VER}/perl
test:
@(cd ${WRKSRC}; make test)
diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile
index ab06bbd8d440..4a7cf88df437 100644
--- a/lang/perl5.16/Makefile
+++ b/lang/perl5.16/Makefile
@@ -119,7 +119,7 @@ PLIST_SUB+= NEED_USE_PERL="@comment "
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
.endif
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER}/perl
+MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VER}/perl
test:
@(cd ${WRKSRC}; make test)
diff --git a/lang/perl5.6/Makefile b/lang/perl5.6/Makefile
index 8e48d5aec941..fe5fdb148699 100644
--- a/lang/perl5.6/Makefile
+++ b/lang/perl5.6/Makefile
@@ -97,7 +97,7 @@ PLIST_SUB+= NEED_USE_PERL=""
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
.endif
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER}/perl
+MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VER}/perl
test:
@(cd ${WRKSRC}; make test)
diff --git a/lang/perl5.8/Makefile b/lang/perl5.8/Makefile
index ab06bbd8d440..4a7cf88df437 100644
--- a/lang/perl5.8/Makefile
+++ b/lang/perl5.8/Makefile
@@ -119,7 +119,7 @@ PLIST_SUB+= NEED_USE_PERL="@comment "
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
.endif
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER}/perl
+MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VER}/perl
test:
@(cd ${WRKSRC}; make test)
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 8e48d5aec941..fe5fdb148699 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -97,7 +97,7 @@ PLIST_SUB+= NEED_USE_PERL=""
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
.endif
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER}/perl
+MAN3PREFIX= ${TARGETDIR}/lib/perl5/${PERL_VER}/perl
test:
@(cd ${WRKSRC}; make test)
diff --git a/lang/pike72/Makefile b/lang/pike72/Makefile
index 658c6be11f50..2596e7c47135 100644
--- a/lang/pike72/Makefile
+++ b/lang/pike72/Makefile
@@ -178,7 +178,7 @@ CONFIGURE_ARGS+= --without-libpdf
USE_GMAKE= yes
MAN1= hilfe.1 pike.1
-MAN1PREFIX= ${PREFIX}/pike/${PORTVERSION}
+MAN1PREFIX= ${TARGETDIR}/pike/${PORTVERSION}
pre-everything::
.if !defined(WITH_OPTIMIZED_CFLAGS)