bsd.port.mk (2181) | bsd.port.mk (2182) |
---|---|
1# bsd.port.mk - 940820 Jordan K. Hubbard. 2# This file is in the public domain. 3# | 1# bsd.port.mk - 940820 Jordan K. Hubbard. 2# This file is in the public domain. 3# |
4# $Id$ | 4# $Id: bsd.port.mk,v 1.1 1994/08/21 13:12:57 jkh Exp $ |
5 6# 7# Supported Variables and their behaviors: 8# 9# GMAKE - Set to path of GNU make if not in $PATH. 10# DISTDIR - Where to get gzip'd, tarballed copies of original sources. 11# DISTNAME - Name of package or distribution. 12# WRKDIR - A temporary working directory that gets *clobbered* on clean. --- 85 unchanged lines hidden (view full) --- 98configure: extract 99 @echo "===> Configuring for ${DISTNAME}" 100 @if [ -d ${PATCHDIR} ]; then \ 101 echo "===> Applying patches for ${DISTNAME}" ; \ 102 for i in ${PATCHDIR}/patch-*; do \ 103 patch -d ${WRKSRC} --quiet -E -p0 < $$i; \ 104 done; \ 105 fi | 5 6# 7# Supported Variables and their behaviors: 8# 9# GMAKE - Set to path of GNU make if not in $PATH. 10# DISTDIR - Where to get gzip'd, tarballed copies of original sources. 11# DISTNAME - Name of package or distribution. 12# WRKDIR - A temporary working directory that gets *clobbered* on clean. --- 85 unchanged lines hidden (view full) --- 98configure: extract 99 @echo "===> Configuring for ${DISTNAME}" 100 @if [ -d ${PATCHDIR} ]; then \ 101 echo "===> Applying patches for ${DISTNAME}" ; \ 102 for i in ${PATCHDIR}/patch-*; do \ 103 patch -d ${WRKSRC} --quiet -E -p0 < $$i; \ 104 done; \ 105 fi |
106.if defined(GNU_CONFIGURE) 107.if !defined(GNU_CONFIGURE_ARGS) 108 @(cd ${WRKSRC}; ./configure i386--freebsd) 109.else !defined(GNU_CONFIGURE_ARGS) 110 @(cd ${WRKSRC}; ./configure ${GNU_CONFIGURE_ARGS}) 111.endif 112.endif | |
113# We have a small convention for our local configure scripts, which 114# is that ${.CURDIR} and the package working directory get passed as 115# command-line arguments since all other methods are a little 116# problematic. 117 @if [ -f ${SCRIPTDIR}/configure ]; then \ 118 sh ${SCRIPTDIR}/configure ${.CURDIR} ${WRKSRC}; \ 119 fi | 106# We have a small convention for our local configure scripts, which 107# is that ${.CURDIR} and the package working directory get passed as 108# command-line arguments since all other methods are a little 109# problematic. 110 @if [ -f ${SCRIPTDIR}/configure ]; then \ 111 sh ${SCRIPTDIR}/configure ${.CURDIR} ${WRKSRC}; \ 112 fi |
113.if defined(GNU_CONFIGURE) 114.if !defined(GNU_CONFIGURE_ARGS) 115 @(cd ${WRKSRC}; ./configure i386--freebsd) 116.else !defined(GNU_CONFIGURE_ARGS) 117 @(cd ${WRKSRC}; ./configure ${GNU_CONFIGURE_ARGS}) |
|
120.endif | 118.endif |
119.endif 120.endif |
|
121 122.if !target(extract) 123# We need to depend on .extract_done rather than the presence of ${WRKDIR} 124# because if the user interrupts the extract in the middle (and it's often 125# a long procedure), we get tricked into thinking that we've got a good dist 126# in ${WRKDIR}. 127extract: ${.CURDIR}/.extract_done 128 --- 24 unchanged lines hidden --- | 121 122.if !target(extract) 123# We need to depend on .extract_done rather than the presence of ${WRKDIR} 124# because if the user interrupts the extract in the middle (and it's often 125# a long procedure), we get tricked into thinking that we've got a good dist 126# in ${WRKDIR}. 127extract: ${.CURDIR}/.extract_done 128 --- 24 unchanged lines hidden --- |