bsd.port.mk (3581) | bsd.port.mk (3595) |
---|---|
1# -*- mode: Fundamental; tab-width: 4; -*- 2# 3# bsd.port.mk - 940820 Jordan K. Hubbard. 4# This file is in the public domain. 5# | 1# -*- mode: Fundamental; tab-width: 4; -*- 2# 3# bsd.port.mk - 940820 Jordan K. Hubbard. 4# This file is in the public domain. 5# |
6# $Id: bsd.port.mk,v 1.55 1994/10/13 10:33:35 jkh Exp $ | 6# $Id: bsd.port.mk,v 1.56 1994/10/14 07:56:46 jkh Exp $ |
7# 8# Please view me with 4 column tabs! 9 10 11# Supported Variables and their behaviors: 12# 13# Variables that typically apply to all ports: 14# --- 211 unchanged lines hidden (view full) --- 226 @${DO_NADA} 227.endif 228 229.if !target(install) 230install: ${INSTALL_COOKIE} 231 232${INSTALL_COOKIE}: 233 @echo "===> Installing for ${DISTNAME}" | 7# 8# Please view me with 4 column tabs! 9 10 11# Supported Variables and their behaviors: 12# 13# Variables that typically apply to all ports: 14# --- 211 unchanged lines hidden (view full) --- 226 @${DO_NADA} 227.endif 228 229.if !target(install) 230install: ${INSTALL_COOKIE} 231 232${INSTALL_COOKIE}: 233 @echo "===> Installing for ${DISTNAME}" |
234 @${MAKE} pre-install | 234 @${MAKE} ${.MAKEFLAGS} pre-install |
235.if defined(USE_GMAKE) 236 @(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} install) 237.else defined(USE_GMAKE) 238 @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install) 239.endif 240 @touch -f ${INSTALL_COOKIE} 241.endif 242 --- 24 unchanged lines hidden (view full) --- 267.if defined(DEPENDS) 268 @echo "===> ${DISTNAME} depends on: ${DEPENDS}" 269.if !defined(NO_DEPENDS) 270 @for i in ${DEPENDS}; do \ 271 echo "===> Verifying build for $$i"; \ 272 if [ ! -d $$i ]; then \ 273 echo ">> No directory for $$i. Skipping.."; \ 274 else \ | 235.if defined(USE_GMAKE) 236 @(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} install) 237.else defined(USE_GMAKE) 238 @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install) 239.endif 240 @touch -f ${INSTALL_COOKIE} 241.endif 242 --- 24 unchanged lines hidden (view full) --- 267.if defined(DEPENDS) 268 @echo "===> ${DISTNAME} depends on: ${DEPENDS}" 269.if !defined(NO_DEPENDS) 270 @for i in ${DEPENDS}; do \ 271 echo "===> Verifying build for $$i"; \ 272 if [ ! -d $$i ]; then \ 273 echo ">> No directory for $$i. Skipping.."; \ 274 else \ |
275 (cd $$i; ${MAKE} is_depended) ; \ | 275 (cd $$i; ${MAKE} ${.MAKEFLAGS} is_depended) ; \ |
276 fi \ 277 done 278 @echo "===> Returning to build of ${DISTNAME}" 279.endif 280.endif 281.if defined(USE_GMAKE) 282 @(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} all) 283.else defined(USE_GMAKE) --- 13 unchanged lines hidden (view full) --- 297 @${DO_NADA} 298.endif 299 300.if !target(configure) 301configure: extract ${CONFIGURE_COOKIE} 302 303${CONFIGURE_COOKIE}: 304 @echo "===> Configuring for ${DISTNAME}" | 276 fi \ 277 done 278 @echo "===> Returning to build of ${DISTNAME}" 279.endif 280.endif 281.if defined(USE_GMAKE) 282 @(cd ${WRKSRC}; ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} all) 283.else defined(USE_GMAKE) --- 13 unchanged lines hidden (view full) --- 297 @${DO_NADA} 298.endif 299 300.if !target(configure) 301configure: extract ${CONFIGURE_COOKIE} 302 303${CONFIGURE_COOKIE}: 304 @echo "===> Configuring for ${DISTNAME}" |
305 @${MAKE} pre-configure | 305 @${MAKE} ${.MAKEFLAGS} pre-configure |
306 @if [ -d ${PATCHDIR} ]; then \ 307 echo "===> Applying patches for ${DISTNAME}" ; \ 308 for i in ${PATCHDIR}/patch-*; do \ 309 ${PATCH} ${PATCH_ARGS} < $$i; \ 310 done; \ 311 fi 312 @if [ -f ${SCRIPTDIR}/pre-configure ]; then \ 313 env CURDIR=${.CURDIR} DISTDIR=${DISTDIR} WRKDIR=${WRKDIR} \ --- 109 unchanged lines hidden --- | 306 @if [ -d ${PATCHDIR} ]; then \ 307 echo "===> Applying patches for ${DISTNAME}" ; \ 308 for i in ${PATCHDIR}/patch-*; do \ 309 ${PATCH} ${PATCH_ARGS} < $$i; \ 310 done; \ 311 fi 312 @if [ -f ${SCRIPTDIR}/pre-configure ]; then \ 313 env CURDIR=${.CURDIR} DISTDIR=${DISTDIR} WRKDIR=${WRKDIR} \ --- 109 unchanged lines hidden --- |