version 1.28, 1998/04/06 21:46:00 |
version 1.29, 1998/04/28 19:19:29 |
|
|
# NEVER override the "regular" targets unless you want to open |
# NEVER override the "regular" targets unless you want to open |
# a major can of worms. |
# a major can of worms. |
|
|
.if defined(ONLY_FOR_ARCHS) |
|
.for __ARCH in ${ONLY_FOR_ARCHS} |
|
.if ${MACHINE} == "${__ARCH}" |
|
__ARCH_OK= 1 |
|
.endif |
|
.endfor |
|
.else |
|
__ARCH_OK= 1 |
|
.endif |
|
|
|
.if !defined(__ARCH_OK) |
|
.MAIN: all |
|
|
|
fetch fetch-list extract patch clean clean-depends configure build install reinstall package describe checkpatch checksum makesum all: |
|
@echo "This port is only for ${ONLY_FOR_ARCHS}," |
|
@echo "and you are running ${MACHINE}." |
|
.else |
|
|
|
# Get the operating system type |
# Get the operating system type |
OPSYS!= uname -s |
OPSYS!= uname -s |
|
|
|
|
IGNORE= "uses X11, but ${X11BASE} not found" |
IGNORE= "uses X11, but ${X11BASE} not found" |
.elif defined(BROKEN) |
.elif defined(BROKEN) |
IGNORE= "is marked as broken: ${BROKEN}" |
IGNORE= "is marked as broken: ${BROKEN}" |
|
.elif defined(ONLY_FOR_ARCHS) |
|
.for __ARCH in ${ONLY_FOR_ARCHS} |
|
.if ${MACHINE} == "${__ARCH}" |
|
__ARCH_OK= 1 |
|
.endif |
|
.endfor |
|
.if !defined(__ARCH_OK) |
|
IGNORE= "is only for ${ONLY_FOR_ARCHS}, not ${MACHINE}" |
|
.endif |
.elif defined(COMES_WITH) |
.elif defined(COMES_WITH) |
OS_VER!= uname -r |
OS_VER!= uname -r |
.if ( ${OS_VER} >= ${COMES_WITH} ) |
.if ( ${OS_VER} >= ${COMES_WITH} ) |
|
|
tags: |
tags: |
.endif |
.endif |
|
|
.endif |
|